diff options
-rw-r--r-- | meta/classes/image.bbclass | 2 | ||||
-rw-r--r-- | meta/conf/bitbake.conf | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 4642fa63e2..865d430121 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
@@ -121,6 +121,8 @@ IMAGE_LINGUAS ?= "de-de fr-fr en-gb" | |||
121 | 121 | ||
122 | LINGUAS_INSTALL = "${@" ".join(map(lambda s: "locale-base-%s" % s, d.getVar('IMAGE_LINGUAS', 1).split()))}" | 122 | LINGUAS_INSTALL = "${@" ".join(map(lambda s: "locale-base-%s" % s, d.getVar('IMAGE_LINGUAS', 1).split()))}" |
123 | 123 | ||
124 | PSEUDO_PASSWD = "${IMAGE_ROOTFS}" | ||
125 | |||
124 | do_rootfs[nostamp] = "1" | 126 | do_rootfs[nostamp] = "1" |
125 | do_rootfs[dirs] = "${TOPDIR}" | 127 | do_rootfs[dirs] = "${TOPDIR}" |
126 | do_rootfs[lockfiles] += "${IMAGE_ROOTFS}.lock" | 128 | do_rootfs[lockfiles] += "${IMAGE_ROOTFS}.lock" |
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index e80cc32b7d..eeb1fc4abd 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -580,11 +580,12 @@ SRC_URI = "file://${FILE}" | |||
580 | 580 | ||
581 | # Use pseudo as the fakeroot implementation | 581 | # Use pseudo as the fakeroot implementation |
582 | PSEUDO_LOCALSTATEDIR ?= "${WORKDIR}/pseudo/" | 582 | PSEUDO_LOCALSTATEDIR ?= "${WORKDIR}/pseudo/" |
583 | PSEUDO_PASSWD ?= "${STAGING_DIR_TARGET}" | ||
583 | export PSEUDO_DISABLED = "1" | 584 | export PSEUDO_DISABLED = "1" |
584 | #export PSEUDO_PREFIX = "${STAGING_DIR_NATIVE}${prefix_native}" | 585 | #export PSEUDO_PREFIX = "${STAGING_DIR_NATIVE}${prefix_native}" |
585 | #export PSEUDO_BINDIR = "${STAGING_DIR_NATIVE}${bindir_native}" | 586 | #export PSEUDO_BINDIR = "${STAGING_DIR_NATIVE}${bindir_native}" |
586 | #export PSEUDO_LIBDIR = "${STAGING_DIR_NATIVE}$PSEUDOBINDIR/../lib/pseudo/lib | 587 | #export PSEUDO_LIBDIR = "${STAGING_DIR_NATIVE}$PSEUDOBINDIR/../lib/pseudo/lib |
587 | FAKEROOTENV = "PSEUDO_PREFIX=${STAGING_DIR_NATIVE}${prefix_native} PSEUDO_LOCALSTATEDIR=${PSEUDO_LOCALSTATEDIR} PSEUDO_PASSWD=${STAGING_DIR_TARGET} PSEUDO_NOSYMLINKEXP=1 PSEUDO_DISABLED=0" | 588 | FAKEROOTENV = "PSEUDO_PREFIX=${STAGING_DIR_NATIVE}${prefix_native} PSEUDO_LOCALSTATEDIR=${PSEUDO_LOCALSTATEDIR} PSEUDO_PASSWD=${PSEUDO_PASSWD} PSEUDO_NOSYMLINKEXP=1 PSEUDO_DISABLED=0" |
588 | FAKEROOTNOENV = "PSEUDO_UNLOAD=1" | 589 | FAKEROOTNOENV = "PSEUDO_UNLOAD=1" |
589 | FAKEROOTDIRS = "${PSEUDO_LOCALSTATEDIR}" | 590 | FAKEROOTDIRS = "${PSEUDO_LOCALSTATEDIR}" |
590 | PREFERRED_PROVIDER_virtual/fakeroot-native ?= "pseudo-native" | 591 | PREFERRED_PROVIDER_virtual/fakeroot-native ?= "pseudo-native" |