From: Maxin B. John Date: Tue, 9 May 2017 16:19:20 +0000 (+0300) Subject: useradd: remove preinst script referring to recipe sysroot X-Git-Tag: uninative-1.7~965 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=dfc9323c1cd7814989766be5bd1861fbaa739d2d;p=openembedded-core.git 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 Signed-off-by: Richard Purdie --- 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