summaryrefslogtreecommitdiffstats
path: root/meta/classes/useradd.bbclass
diff options
context:
space:
mode:
authorMaxin B. John <maxin.john@intel.com>2017-05-09 19:19:20 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-05-11 16:56:00 +0100
commiteb30ca2b316076e83e1a709015863670946d5bee (patch)
tree87e0806d3f6dd30997a148bbeb8994197757f86f /meta/classes/useradd.bbclass
parent7b56a4327bdef25b99e1376fc30f03a8dba45885 (diff)
downloadpoky-eb30ca2b316076e83e1a709015863670946d5bee.tar.gz
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] (From OE-Core rev: dfc9323c1cd7814989766be5bd1861fbaa739d2d) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/useradd.bbclass')
-rw-r--r--meta/classes/useradd.bbclass2
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
32 fi 32 fi
33 33
34 # user/group lookups should match useradd/groupadd --root 34 # user/group lookups should match useradd/groupadd --root
35 export PSEUDO_PASSWD="$SYSROOT:${STAGING_DIR_NATIVE}" 35 export PSEUDO_PASSWD="$SYSROOT"
36fi 36fi
37 37
38# If we're not doing a special SSTATE/SYSROOT install 38# If we're not doing a special SSTATE/SYSROOT install