summaryrefslogtreecommitdiffstats
path: root/meta/classes/useradd.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/useradd.bbclass')
-rw-r--r--meta/classes/useradd.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/useradd.bbclass b/meta/classes/useradd.bbclass
index 5f5b68ddd0..1e03a04a8c 100644
--- a/meta/classes/useradd.bbclass
+++ b/meta/classes/useradd.bbclass
@@ -15,8 +15,8 @@ SYSROOT=""
15 15
16if test "x$D" != "x"; then 16if test "x$D" != "x"; then
17 # Installing into a sysroot 17 # Installing into a sysroot
18 SYSROOT="${STAGING_DIR_TARGET}" 18 SYSROOT="$D"
19 OPT="--root ${STAGING_DIR_TARGET}" 19 OPT="--root $D"
20 20
21 # Add groups and users defined for all recipe packages 21 # Add groups and users defined for all recipe packages
22 GROUPADD_PARAM="${@get_all_cmd_params(d, 'group')}" 22 GROUPADD_PARAM="${@get_all_cmd_params(d, 'group')}"
@@ -79,7 +79,7 @@ useradd_sysroot () {
79 79
80 # Explicitly set $D since it isn't set to anything 80 # Explicitly set $D since it isn't set to anything
81 # before do_install 81 # before do_install
82 D=${D} 82 D=${STAGING_DIR_TARGET}
83 useradd_preinst 83 useradd_preinst
84} 84}
85 85