Skip to content

Conversation

@derkling
Copy link
Contributor

Since:
cafc0a4 target: do not create shutil in package directory
we generate 'shutils' in /tmp, which is also the executables_path
used used by deafult 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

@derkling derkling force-pushed the fix-local_linux_target branch from 1c04a0c to 08c4b95 Compare January 16, 2018 14:33
@derkling derkling changed the title LocalLinuxTarget: fix executable folders location LocalLinuxTarget: fix executables folder location Jan 16, 2018
Copy link
Collaborator

@marcbonnici marcbonnici left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"used used" and "deafult" -> "default" in commit message.

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>
@derkling derkling force-pushed the fix-local_linux_target branch from 08c4b95 to 8332fd6 Compare January 16, 2018 15:25
@derkling
Copy link
Contributor Author

Update to address comments on commit message's typos ;-)

@marcbonnici marcbonnici merged commit cc0210a into ARM-software:master Jan 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants