]> code.ossystems Code Review - openembedded-core.git/commit
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 09:24:20 +0000 (10:24 +0100)
commit9b9da6667b606a56c89abc1b458f52dcca9774e9
tree9ae1e128ff8a7ccac58400b811c47d0bd2c2552c
parent6272c81509bbdb5d602056ceaa6f2c02bbf47a41
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.

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