[OE-core] [PATCH 16/33] useradd: Add PACKAGE_WRITE_DEPS for postinst

Richard Purdie richard.purdie at linuxfoundation.org
Thu Jan 19 22:52:58 UTC 2017


The postinstall needs shadow-native, mark the dependency

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/useradd.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/classes/useradd.bbclass b/meta/classes/useradd.bbclass
index fd59969..82f4d52 100644
--- a/meta/classes/useradd.bbclass
+++ b/meta/classes/useradd.bbclass
@@ -4,6 +4,7 @@ inherit useradd_base
 # target sysroot, and shadow -native and -sysroot provide the utilities
 # and support files needed to add and modify user and group accounts
 DEPENDS_append_class-target = " base-files shadow-native shadow-sysroot shadow"
+PACKAGE_WRITE_DEPS += "shadow-native"
 
 # This preinstall function can be run in four different contexts:
 #
-- 
2.7.4




More information about the Openembedded-core mailing list