summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-19 17:01:10 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-19 22:51:05 +0000
commit84fed37e18b17c419f0538c6b414e3b79ed2df8d (patch)
tree0f53396046e52284ded961cdae9372845786e03a
parentd2fb76e4aed927e9900de2e87e7e1b792bc88651 (diff)
downloadopenembedded-core-84fed37e18b17c419f0538c6b414e3b79ed2df8d.tar.gz
openembedded-core-84fed37e18b17c419f0538c6b414e3b79ed2df8d.tar.bz2
openembedded-core-84fed37e18b17c419f0538c6b414e3b79ed2df8d.zip
keymaps: Add PACKAGE_WRITE_DEPS for postinst
The postinstall needs systemd-systemctl-native, mark the dependency Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-bsp/keymaps/keymaps_1.0.bb2
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 () {
fi
}
-DEPENDS_append = " ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd-systemctl-native','',d)}"
+PACKAGE_WRITE_DEPS_append = " ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd-systemctl-native','',d)}"
pkg_postinst_${PN} () {
if ${@bb.utils.contains('DISTRO_FEATURES','systemd sysvinit','true','false',d)}; then
if [ -n "$D" ]; then