diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-12-07 17:34:07 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-12-08 15:24:27 +0000 |
commit | 2e027278607737aed3c1349eaf6207556ef16bff (patch) | |
tree | 41ec82d6cd82714abbf7cb7e9d5a0e81e6ad2c2a /meta/classes/image.bbclass | |
parent | cb5a16f0641837fcea53edbc8921453cf7708da7 (diff) | |
download | poky-2e027278607737aed3c1349eaf6207556ef16bff.tar.gz |
bitbake.conf/image.bbclass: Ensure images use the correct passwd/group files
We need pseudo to use the rootfs passwd/group files belonging to the
rootfs when building images. This patch ensures that we use the rootfs
files instead of those in the sysroot which can lead to incorrect file
ownership issues.
(From OE-Core rev: c4da803ef78322b758380eb0af0dcb73cae6553c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image.bbclass')
-rw-r--r-- | meta/classes/image.bbclass | 2 |
1 files changed, 2 insertions, 0 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" |