aboutsummaryrefslogtreecommitdiffstats
path: root/classes/relocatable.bbclass
AgeCommit message (Collapse)Author
2010-07-07relocatible.bbclass: Call oe.path.relative in try/exceptTom Rini
Some programs such as libxml-parser-perl-native can have junky RPATH directories. Found by Khem Raj. Signed-off-by: Tom Rini <tom_rini@mentor.com>
2010-07-07relocatible.bbclass: Switch to using oe.path.relativeTom Rini
Rather than calculate the relative path ourself use a helper function we've got. This also results in shorter rpaths being used. Signed-off-by: Tom Rini <tom_rini@mentor.com>
2010-06-10utils.bbclass: set close_fds=True by default for the popen helperChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-05-05relocatable.bbclass: Handle files which don't have read/write permissionsJoshua Lock
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 Lock
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>