aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp
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-20 11:53:50 +0000
commit1d564fa2effc572d1e6e427c931418f72a48c7b0 (patch)
treeebe2459dcd1df8786720fb6f3ef75d75fc321353 /meta/recipes-bsp
parent94a648f9f5af6edb0a6a75259eebeacc8c028c4d (diff)
downloadopenembedded-core-contrib-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.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