summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/keymaps
diff options
context:
space:
mode:
authorJonas Bonn <jonas@norrbonn.se>2019-01-29 08:24:42 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-01-31 23:23:27 +0000
commitee3ac7c64ed4c96062e7d21eed1355d4b60b78c4 (patch)
tree709d9ccf5686c20d7dfcc07615f27c9b5a543a79 /meta/recipes-bsp/keymaps
parentc59baed3a86c5e1f32214c07c724aa4f5bd45d71 (diff)
downloadpoky-ee3ac7c64ed4c96062e7d21eed1355d4b60b78c4.tar.gz
keymaps: tighten package write dependency
The dependency on systemd-systemctl-native is only needed if _both_ systemd and sysvinit are in play. (From OE-Core rev: 3ea08f4b24f8a49c3d5039b62b39d6419cfe234c) Signed-off-by: Jonas Bonn <jonas@norrbonn.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/keymaps')
-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 34b208c5b3..24b13f920f 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
40PACKAGE_WRITE_DEPS_append = " ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd-systemctl-native','',d)}" 40PACKAGE_WRITE_DEPS_append = " ${@bb.utils.contains('DISTRO_FEATURES','systemd sysvinit','systemd-systemctl-native','',d)}"
41pkg_postinst_${PN} () { 41pkg_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