[OE-core] [PATCH 1/3] useradd: remove preinst script referring to recipe sysroot

Maxin B. John maxin.john at intel.com
Tue May 9 16:19:20 UTC 2017


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

Fixes [YOCTO #11460]

Signed-off-by: Maxin B. John <maxin.john at intel.com>
---
 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




More information about the Openembedded-core mailing list