diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-19 17:01:10 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-19 22:51:07 +0000 |
commit | f3140f9c9cb8ff7ea29d0b77a9bfac419a216cf4 (patch) | |
tree | 8ecb6d8cc027198590c50d7e64dd101a22ba1448 /meta | |
parent | 723a924adf0661167690987acfc4213803ec3305 (diff) | |
download | openembedded-core-f3140f9c9cb8ff7ea29d0b77a9bfac419a216cf4.tar.gz openembedded-core-f3140f9c9cb8ff7ea29d0b77a9bfac419a216cf4.tar.bz2 openembedded-core-f3140f9c9cb8ff7ea29d0b77a9bfac419a216cf4.zip |
useradd: Add PACKAGE_WRITE_DEPS for postinst
The postinstall needs shadow-native, mark the dependency
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/useradd.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/useradd.bbclass b/meta/classes/useradd.bbclass index fd59969986..82f4d52758 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: # |