summaryrefslogtreecommitdiffstats
path: root/meta
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:04:50 +0000
commit3ea08f4b24f8a49c3d5039b62b39d6419cfe234c (patch)
tree4be9676f63f169e156036e1015c90a0d9d9d1809 /meta
parent4199676383ce50b81c05a4d2b2610c9cdb49342e (diff)
downloadopenembedded-core-3ea08f4b24f8a49c3d5039b62b39d6419cfe234c.tar.gz
openembedded-core-3ea08f4b24f8a49c3d5039b62b39d6419cfe234c.tar.bz2
openembedded-core-3ea08f4b24f8a49c3d5039b62b39d6419cfe234c.zip
keymaps: tighten package write dependency
The dependency on systemd-systemctl-native is only needed if _both_ systemd and sysvinit are in play. Signed-off-by: Jonas Bonn <jonas@norrbonn.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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 () {
fi
}
-PACKAGE_WRITE_DEPS_append = " ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd-systemctl-native','',d)}"
+PACKAGE_WRITE_DEPS_append = " ${@bb.utils.contains('DISTRO_FEATURES','systemd sysvinit','systemd-systemctl-native','',d)}"
pkg_postinst_${PN} () {
if ${@bb.utils.contains('DISTRO_FEATURES','systemd sysvinit','true','false',d)}; then
if [ -n "$D" ]; then