]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
useradd: Add PACKAGE_WRITE_DEPS for postinst
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 Jan 2017 17:01:10 +0000 (17:01 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 20 Jan 2017 11:53:50 +0000 (11:53 +0000)
The postinstall needs shadow-native, mark the dependency

(From OE-Core rev: f3140f9c9cb8ff7ea29d0b77a9bfac419a216cf4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/useradd.bbclass

index fd599699869a030ca39c8ef597a737ffb44035c4..82f4d52758dea5f72a6285b8ef7acb2fc2655f34 100644 (file)
@@ -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:
 #