Remove recipe-specific-sysroot details from the preinst scripts
generated by useradd.bbclass.

Fixes [YOCTO #11460]

Signed-off-by: Maxin B. John <[email protected]>
---
 meta/classes/useradd.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/useradd.bbclass b/meta/classes/useradd.bbclass
index 4373677..06121b7 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
-- 
2.4.0

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to