alsa-state: install init script only when 'sysvinit' is in DISTRO_FEATURES
authorChen Qi <Qi.Chen@windriver.com>
Thu, 7 Aug 2014 02:46:42 +0000 (22:46 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 11 Aug 2014 09:53:06 +0000 (10:53 +0100)
commit9d5369d7335b210c839ae567af21e2cc2f2fa53c
treebaa3b9e7132f2f26c99378c36bee3bbf42f0e474
parentcedabb83e997f03ec50baab05a0cdc7c9af9c7f7
alsa-state: install init script only when 'sysvinit' is in DISTRO_FEATURES

The /etc/init.d/alsa-state is totally useless for a systemd image.
Its functionality has been replaced by alsa-state.service files.

So if 'sysvinit' is not in DISTRO_FEATURES, installing this script doesn't
make any sense.

[YOCTO #4420]

(From OE-Core rev: 39759640c8abe51c8ded4c1ca6853b523a81c2f5)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-bsp/alsa-state/alsa-state.bb