packagegroup-core-boot: conditionally rdepend on VIRTUAL-RUNTIME_initscripts
authorChen Qi <Qi.Chen@windriver.com>
Wed, 3 Sep 2014 07:09:15 +0000 (15:09 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 3 Sep 2014 10:09:06 +0000 (11:09 +0100)
commit07806cc36efe3130c0680db8e640c8920c8b0f51
tree05a36c513bc1d1524ac23c812e6ad6242e25ca88
parent1c319c508f14674574621f8396f2d25db0a68379
packagegroup-core-boot: conditionally rdepend on VIRTUAL-RUNTIME_initscripts

If we are building a systemd image with 'sysvinit' not in DISTRO_FEATURES,
the initscripts should not be installed into the image, as they are useless.
What's more, we as now support executing scripts under /etc/rcS.d, the
boot time will be increased by these scripts as the systemd will try to
translate them into temporary service files.

These init scritps are actually needed only when 'sysvinit' is in
DISTRO_FEATURES.

(From OE-Core rev: 74b931909e58fc581bb52c1af1f3ae26602980f3)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/packagegroups/packagegroup-core-boot.bb