summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/useradd.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/useradd.bbclass b/meta/classes/useradd.bbclass
index 3b70e80b2f..0b9a843b24 100644
--- a/meta/classes/useradd.bbclass
+++ b/meta/classes/useradd.bbclass
@@ -24,6 +24,8 @@ if test "x$D" != "x"; then
24 # Installing into a sysroot 24 # Installing into a sysroot
25 SYSROOT="$D" 25 SYSROOT="$D"
26 OPT="--root $D" 26 OPT="--root $D"
27 # user/group lookups should match useradd/groupadd --root
28 export PSEUDO_PASSWD="$SYSROOT:${STAGING_DIR_NATIVE}"
27fi 29fi
28 30
29# If we're not doing a special SSTATE/SYSROOT install 31# If we're not doing a special SSTATE/SYSROOT install