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-20 11:53:50 +0000 |
commit | b5a8679574dd4f7510ce6f817a26dde6e699c158 (patch) | |
tree | 9fed9d3d4b04d757831fa97751654b4a43900b2e /meta/classes/useradd.bbclass | |
parent | c7591ae0bb54b6db7f1409f239df620ba3103e15 (diff) | |
download | poky-b5a8679574dd4f7510ce6f817a26dde6e699c158.tar.gz |
useradd: Add PACKAGE_WRITE_DEPS for postinst
The postinstall needs shadow-native, mark the dependency
(From OE-Core rev: f3140f9c9cb8ff7ea29d0b77a9bfac419a216cf4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/useradd.bbclass')
-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 | |||
4 | # target sysroot, and shadow -native and -sysroot provide the utilities | 4 | # target sysroot, and shadow -native and -sysroot provide the utilities |
5 | # and support files needed to add and modify user and group accounts | 5 | # and support files needed to add and modify user and group accounts |
6 | DEPENDS_append_class-target = " base-files shadow-native shadow-sysroot shadow" | 6 | DEPENDS_append_class-target = " base-files shadow-native shadow-sysroot shadow" |
7 | PACKAGE_WRITE_DEPS += "shadow-native" | ||
7 | 8 | ||
8 | # This preinstall function can be run in four different contexts: | 9 | # This preinstall function can be run in four different contexts: |
9 | # | 10 | # |