]> code.ossystems Code Review - openembedded-core.git/commitdiff
packagegroup-core-boot: install systemd-compat-units on systemd images
authorRoss Burton <ross.burton@intel.com>
Sat, 19 Jan 2013 22:47:09 +0000 (22:47 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 20 Jan 2013 12:45:17 +0000 (12:45 +0000)
systemd-compat-units is needed to run postinsts for example.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/packagegroups/packagegroup-core-boot.bb

index 94e9e32f0bc22421e6ab577804fbe9f9336ed9f3..fbc50c721925ab0513977c000ee58d15bb77ce4a 100644 (file)
@@ -41,6 +41,7 @@ RDEPENDS_${PN} = "\
     netbase \
     ${VIRTUAL-RUNTIME_login_manager} \
     ${VIRTUAL-RUNTIME_init_manager} \
+    ${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd-compat-units', '',d)} \
     ${VIRTUAL-RUNTIME_dev_manager} \
     ${VIRTUAL-RUNTIME_update-alternatives} \
     ${MACHINE_ESSENTIAL_EXTRA_RDEPENDS}"