| Submitter | Laurentiu Palcu |
|---|---|
| Date | Feb. 5, 2013, 9:35 a.m. |
| Message ID | <e8464f02c891f3ae480a40c6f2173e9349fc7b41.1360055640.git.laurentiu.palcu@intel.com> |
| Download | mbox | patch |
| Permalink | /patch/44073/ |
| State | Accepted |
| Commit | c237103096530a06fd0991b4335936e509dea76e |
| Headers | show |
Comments
Patch
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 }
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@intel.com> --- meta/recipes-multimedia/pulseaudio/pulseaudio.inc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)