generic-poky/meta
Richard Purdie 4273aa4287 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.

(From OE-Core rev: 9b05c65450526522d7358d0c0901b594de546748)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-23 17:29:33 +01:00
..
classes sstate: Fix the relative symlink replacement code 2013-08-23 17:29:33 +01:00
conf default-providers: Set the preferred provider for bluez 2013-08-23 16:20:14 +01:00
files device_table-minimal.txt: use user/group names instead of uid/gid 2013-08-16 11:14:34 +01:00
lib lib/oeqa/runtime: add new systemd tests 2013-08-13 23:06:00 +01:00
recipes-bsp init-install.sh: fix to handle the boot partition correctly 2013-08-20 15:31:25 +01:00
recipes-connectivity connman: fix systemd support for connman-* packages. 2013-08-22 18:30:04 +01:00
recipes-core packagegroup-self-hosted: pcmanfm and xdg-utils integration 2013-08-23 16:20:14 +01:00
recipes-devtools gcc-4.8: Add two patches to deal with cross-canadian build failures 2013-08-23 16:20:14 +01:00
recipes-extended xdg-utils: add runtime dependency on xprop 2013-08-23 16:20:14 +01:00
recipes-gnome gtk+: update to upstream version 2.24.20 2013-08-20 15:31:24 +01:00
recipes-graphics recipes-graphics/builder: fix wrong user name 2013-08-23 16:20:14 +01:00
recipes-kernel linux-dtb.inc: Fix dtb generation for kernels newer than 3.8 2013-08-20 15:31:25 +01:00
recipes-lsb4 libpng12: rename libpng_1.2.50 to libpng12 2013-04-09 13:16:53 +01:00
recipes-multimedia gst-plugins-good: fix orc enabling via PACKAGECONFIG 2013-08-22 18:30:02 +01:00
recipes-qt qt4: add upstream QTBUG-32534 patch for QHttpMultiPart upload corruption 2013-08-06 12:39:58 +01:00
recipes-rt rt-tests: add Upstream-Status for cyclictest patch 2013-07-29 13:09:03 +01:00
recipes-sato rxvt-unicode: Check existence of acinclude.m4 2013-07-13 18:23:34 +01:00
recipes-support libiconv: Extend to nativesdk and support non-linux targets 2013-08-23 16:20:11 +01:00
site apr_cv_mutex_recursive=yes added to apr_1.4.6.bb to make rosnodes work 2013-07-05 15:34:22 +01:00
COPYING.MIT
recipes.txt meta/recipes.txt: add recipes-lsb4 2013-04-10 09:23:17 +01:00