summaryrefslogtreecommitdiff
path: root/classes/relocatable.bbclass
AgeCommit message (Collapse)AuthorFiles
2010-06-10utils.bbclass: set close_fds=True by default for the popen helperChris Larson1
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-05-05relocatable.bbclass: Handle files which don't have read/write permissionsJoshua Lock1
It's possible to have files in our sysroot which don't have the write (or in some cases even the read) bit set. Test for these and if they are not set temporarily set them so that we can chrpath the binaries. Also remove following of symlinks because if it links to a file created by the package install we already handle it when we process the sysroot. Further, by ignoring symlinks here we don't cause a build to fail when the symlink is to somewhere in the host OS. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-05-05relocatable: Class to post-process packages for relocatabilityJoshua Lock1
This class helps make packages relocatable by post-processing the binaries and using chrpath to set the RPATH relative to $ORIGIN. Patch also enables this post-processing for native packages and adds chrpath to the required utilties. Based on ideas from a patch from Tom Rini <tom_rini@mentor.com> Signed-off-by: Joshua Lock <josh@linux.intel.com>