]> code.ossystems Code Review - openembedded-core.git/commitdiff
meta/conf/bitbake.conf: Configure pseudo to not expand symlinks
authorMark Hatle <mhatle@windriver.com>
Thu, 22 Jul 2010 17:37:30 +0000 (10:37 -0700)
committerRichard Purdie <rpurdie@linux.intel.com>
Fri, 23 Jul 2010 23:50:10 +0000 (00:50 +0100)
When using the fake chroot ability of pseudo, it will expand absolute
symlinks to their full non-fake path by default.  The simple change disables
that behavior, as it is undesired when generating a rootfs.

Signed-off-by: Mark Hatle <mhatle@windriver.com>
meta/conf/bitbake.conf

index 057a213c96ee5066850a24c68b547c0a3df8092a..0e3934b5984bbb2e339a294f20d92f5027565d94 100644 (file)
@@ -530,7 +530,7 @@ SRC_URI = "file://${FILE}"
 # default is fakeroot but in Poky we use pseudo
 # this is hopefully only temporary, to work around the database becoming corrupt
 PSEUDO_DATADIR ?= "${WORKDIR}/pseudo/"
-FAKEROOT = "PSEUDO_DATADIR=${PSEUDO_DATADIR} PSEUDO_PREFIX=${STAGING_DIR_NATIVE}${prefix_native} pseudo"
+FAKEROOT = "PSEUDO_DATADIR=${PSEUDO_DATADIR} PSEUDO_PREFIX=${STAGING_DIR_NATIVE}${prefix_native} PSEUDO_NOSYMLINKEXP=1 pseudo"
 PREFERRED_PROVIDER_virtual/fakeroot-native ?= "pseudo-native"