]> code.ossystems Code Review - openembedded-core.git/commit
alsa-state: ignore 'No soundcards found' error in pkg_postinst
authorYi Zhao <yi.zhao@windriver.com>
Fri, 17 Apr 2020 10:15:27 +0000 (18:15 +0800)
committerSteve Sakoman <steve@sakoman.com>
Thu, 30 Apr 2020 21:59:59 +0000 (11:59 -1000)
commitb2a3cf79cf564a76727bd7dbb21ba9b3d20cf5d4
tree1bed2a1e2631b1e6f20bcb5ff84fa44ff7adf6a1
parent81bec2f08229723b550a0cc33d1c77f82432814d
alsa-state: ignore 'No soundcards found' error in pkg_postinst

If there is no soundcards on the target (e.g. qemu), the pkp_postinst
function will report an error:
  alsactl: load_state:1735: No soundcards found...
  pkg_run_script: package "alsa-state" postinst script returned status 19.
  opkg_configure: alsa-state.postinst returned 19.

Pass '-g' option to alsactl to ignore this error.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-bsp/alsa-state/alsa-state.bb