Skip to content
This repository was archived by the owner on Jan 15, 2026. It is now read-only.

LocalLinuxTarget: fix executables folder location - #229

Merged
marcbonnici merged 1 commit into
ARM-software:masterfrom
derkling:fix-local_linux_target
Jan 18, 2018
Merged

marcbonnici merged 1 commit into
ARM-software:masterfrom
derkling:fix-local_linux_target

Conversation

@derkling

Copy link
Copy Markdown
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

@marcbonnici marcbonnici left a comment

Copy link
Copy Markdown
Collaborator

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
Copy Markdown
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants