From patchwork Tue Feb 5 09:35:02 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [8/8] pulseaudio: do not postpone postinstall Date: Tue, 05 Feb 2013 09:35:02 -0000 From: Laurentiu Palcu X-Patchwork-Id: 44073 Message-Id: To: openembedded-core@lists.openembedded.org Since populate-volatile.sh will run everytime the device boots, no need to postpone the postinstall when the rootfs is created. [YOCTO #3840] Signed-off-by: Laurentiu Palcu --- meta/recipes-multimedia/pulseaudio/pulseaudio.inc | 7 +------ 1 file changed, 1 insertion(+), 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 }