alsa-state: fix pkg_postinst and set INHIBIT_UPDATERCD_BBCLASS
authorChen Qi <Qi.Chen@windriver.com>
Wed, 3 Sep 2014 07:09:02 +0000 (15:09 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 3 Sep 2014 10:09:04 +0000 (11:09 +0100)
commit4d69c4c45871b2451cfe1ecdb7f601541348b81c
treeb7b1e68571d1bc816a2d4f6b8a7d1125bc5f873e
parent068c5db684459cc5c99fad79a94f94aba7cf1f3a
alsa-state: fix pkg_postinst and set INHIBIT_UPDATERCD_BBCLASS

As alsa-state inherits update-rc.d, the update-rc.d part inpostinst script
has already been handled in update-rc.d.bbclass.

Besides, we need to set INHIBIT_UPDATERCD_BBCLASS to "1" if 'sysvinit'
is not in DISTRO_FEATURES. This is because the init script is not installed
in such situation, adding update-rc.d part in the preinst/postinst scripts
just makes no sense.

(From OE-Core rev: 9b9da6667b606a56c89abc1b458f52dcca9774e9)

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