diff options
author | Maxin B. John <maxin.john@intel.com> | 2017-05-09 19:19:20 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-05-10 12:21:31 +0100 |
commit | dfc9323c1cd7814989766be5bd1861fbaa739d2d (patch) | |
tree | 1798fe8afdc0e3da398ca01f382c4a84b5672e25 | |
parent | 097875bc9ab9d60a452b01ac6825775983684d68 (diff) | |
download | openembedded-core-dfc9323c1cd7814989766be5bd1861fbaa739d2d.tar.gz openembedded-core-dfc9323c1cd7814989766be5bd1861fbaa739d2d.tar.bz2 openembedded-core-dfc9323c1cd7814989766be5bd1861fbaa739d2d.zip |
useradd: remove preinst script referring to recipe sysroot
Remove recipe-specific-sysroot details from the preinst scripts
generated by useradd.bbclass.
This was added to match the default from bitbake.conf. Unlike the default
case, the dependencies used by useradd mean that a default passwd/group
file is always present. This means we don't need the native sysroot fallback.
Fixes [YOCTO #11460]
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/useradd.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/useradd.bbclass b/meta/classes/useradd.bbclass index 92e45ff9bc..6017ded860 100644 --- a/meta/classes/useradd.bbclass +++ b/meta/classes/useradd.bbclass @@ -32,7 +32,7 @@ if test "x$D" != "x"; then fi # user/group lookups should match useradd/groupadd --root - export PSEUDO_PASSWD="$SYSROOT:${STAGING_DIR_NATIVE}" + export PSEUDO_PASSWD="$SYSROOT" fi # If we're not doing a special SSTATE/SYSROOT install |