From: Richard Purdie Date: Thu, 19 Jan 2017 17:01:10 +0000 (+0000) Subject: useradd: Add PACKAGE_WRITE_DEPS for postinst X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~22964 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f3140f9c9cb8ff7ea29d0b77a9bfac419a216cf4;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git useradd: Add PACKAGE_WRITE_DEPS for postinst The postinstall needs shadow-native, mark the dependency Signed-off-by: Richard Purdie --- diff --git a/meta/classes/useradd.bbclass b/meta/classes/useradd.bbclass index fd599699869..82f4d52758d 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: #