mirror of
https://github.com/ARM-software/devlib.git
synced 2025-02-07 05:30:44 +00:00
LocalLinuxTarget: fix executables folder location
Since: cafc0a4 target: do not create shutil in package directory we generate 'shutils' in /tmp, which is also the executables_path used by default by a LocalLinuxTarget. This ultimately results into a: self.install(shutils_ofile) ... shutil.copy(source, dest) raising an exception since source == dest. Let's fix this by setting /tmp/devlib-target as a default base path for all devlib deployed stuff into a localhost target. Signed-off-by: Patrick Bellasi <patrick.bellasi@arm.com>
This commit is contained in:
parent
730118d6d0
commit
cc0210af37
@ -1644,10 +1644,10 @@ class LocalLinuxTarget(LinuxTarget):
|
||||
|
||||
def _resolve_paths(self):
|
||||
if self.working_directory is None:
|
||||
self.working_directory = '/tmp'
|
||||
self.working_directory = '/tmp/devlib-target'
|
||||
self._file_transfer_cache = self.path.join(self.working_directory, '.file-cache')
|
||||
if self.executables_directory is None:
|
||||
self.executables_directory = '/tmp'
|
||||
self.executables_directory = '/tmp/devlib-target/bin'
|
||||
|
||||
|
||||
def _get_model_name(section):
|
||||
|
Loading…
x
Reference in New Issue
Block a user