aboutsummaryrefslogtreecommitdiffstats
path: root/oe-init-build-env-memres
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-23 10:02:21 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-23 16:59:04 +0100
commit9b05c65450526522d7358d0c0901b594de546748 (patch)
treecfd51c8fbe66dd48a97d560693de02a064a0d260 /oe-init-build-env-memres
parent58d05c817cf3be071c66c7e4dbbb9942fd7a0752 (diff)
downloadopenembedded-core-contrib-9b05c65450526522d7358d0c0901b594de546748.tar.gz
openembedded-core-contrib-9b05c65450526522d7358d0c0901b594de546748.tar.bz2
openembedded-core-contrib-9b05c65450526522d7358d0c0901b594de546748.zip
sstate: Fix the relative symlink replacement code
ant reported on irc that the sstate absolute to relative symlink creation code wasn't working in klibc. He was correct although the level of breakage is rather surprising since it only worked for one level of symlink (usr/include) with everything else being broken. The reason is probably that nothing really uses absolute paths, we use relative paths where at all possible already. Nothing in the target sysroot should use absolute paths for a start. In this regard, the klibc-dev package is broken and needs fixing. It will currently break when building for one machine, then switching to another of the same TUNE_PKGARCH and installing from sstate but that is a separate issue. This patch fixes the symlink creation code by firstly passing in the correct value we need (where the symlink will end up) and seccondly, actually using it. I've also tweaked the debug message to contain appropriate information and got right of the double "//" value the existing code created in favour of the form './..' which looks neater. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'oe-init-build-env-memres')
0 files changed, 0 insertions, 0 deletions