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 | 1d564fa2effc572d1e6e427c931418f72a48c7b0 (patch) | |
tree | ebe2459dcd1df8786720fb6f3ef75d75fc321353 /meta/recipes-bsp | |
parent | 94a648f9f5af6edb0a6a75259eebeacc8c028c4d (diff) | |
download | poky-1d564fa2effc572d1e6e427c931418f72a48c7b0.tar.gz |
keymaps: Add PACKAGE_WRITE_DEPS for postinst
The postinstall needs systemd-systemctl-native, mark the dependency
(From OE-Core rev: 84fed37e18b17c419f0538c6b414e3b79ed2df8d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp')
-rw-r--r-- | meta/recipes-bsp/keymaps/keymaps_1.0.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-bsp/keymaps/keymaps_1.0.bb b/meta/recipes-bsp/keymaps/keymaps_1.0.bb index 5793a76529..34b208c5b3 100644 --- a/meta/recipes-bsp/keymaps/keymaps_1.0.bb +++ b/meta/recipes-bsp/keymaps/keymaps_1.0.bb | |||
@@ -37,7 +37,7 @@ do_install () { | |||
37 | fi | 37 | fi |
38 | } | 38 | } |
39 | 39 | ||
40 | DEPENDS_append = " ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd-systemctl-native','',d)}" | 40 | PACKAGE_WRITE_DEPS_append = " ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd-systemctl-native','',d)}" |
41 | pkg_postinst_${PN} () { | 41 | pkg_postinst_${PN} () { |
42 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd sysvinit','true','false',d)}; then | 42 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd sysvinit','true','false',d)}; then |
43 | if [ -n "$D" ]; then | 43 | if [ -n "$D" ]; then |