diff options
author | Laurentiu Palcu <laurentiu.palcu@intel.com> | 2013-02-04 15:38:05 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-06 09:37:25 +0000 |
commit | df4f0c296d59675c3f4529faaa4c6b443575b6fa (patch) | |
tree | 2997cc3dece11d1e93bbfebc044fe23d92bc58e7 /meta/recipes-multimedia/pulseaudio | |
parent | e52c8b833ee542f85baf65314ab56ecbd0ba8eec (diff) | |
download | ast2050-yocto-poky-df4f0c296d59675c3f4529faaa4c6b443575b6fa.zip ast2050-yocto-poky-df4f0c296d59675c3f4529faaa4c6b443575b6fa.tar.gz |
pulseaudio: do not postpone postinstall
Since populate-volatile.sh will run everytime the device boots, no
need to postpone the postinstall when the rootfs is created.
[YOCTO #3840]
(From OE-Core rev: c237103096530a06fd0991b4335936e509dea76e)
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/pulseaudio')
-rw-r--r-- | meta/recipes-multimedia/pulseaudio/pulseaudio.inc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc index 2fed4f9..81573e3 100644 --- a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc +++ b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc @@ -99,12 +99,7 @@ CONFFILES_pulseaudio-server = "\ " pkg_postinst_${PN}-server() { - # can't do this offline - if [ "x$D" != "x" ]; then - exit 1 - fi - - if [ -e ${sysconfdir}/init.d/populate-volatile.sh ] ; then + if [ -z "$D" ] && [ -e ${sysconfdir}/init.d/populate-volatile.sh ] ; then ${sysconfdir}/init.d/populate-volatile.sh update fi } |