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>
This commit is contained in:
parent
e52c8b833e
commit
df4f0c296d
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue