[oe-commits] Laurentiu Palcu : pulseaudio: do not postpone postinstall
git at git.openembedded.org
git at git.openembedded.org
Wed Feb 6 09:38:29 UTC 2013
Module: openembedded-core.git
Branch: master-next
Commit: c237103096530a06fd0991b4335936e509dea76e
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=c237103096530a06fd0991b4335936e509dea76e
Author: Laurentiu Palcu <laurentiu.palcu at intel.com>
Date: Mon Feb 4 15:38:05 2013 +0200
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]
Signed-off-by: Laurentiu Palcu <laurentiu.palcu at intel.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
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
}
More information about the Openembedded-commits
mailing list