Embeded
If the intention is to defer them to first boot,then please place them into pkg_postinst_ontarget_${PN} ().
Real_G
2020. 7. 29. 16:09
반응형
ERROR: machine-image-1.0-r0 do_rootfs: Postinstall scriptlets of ['avahi-daemon'] have failed. If the intention is to defer them to first boot,
then please place them into pkg_postinst_ontarget_${PN} ().
Deferring to first boot via 'exit 1' is no longer supported.
avahi.inc 를 이렇게 바꿔줌
# At the time the postinst runs, dbus might not be setup so only restart if running
pkg_postinst_avahi-daemon_${PN} () {
if [ "x$D" != "x" ]; then
echo "do nothing during build"
fi
DBUSPID=`pidof dbus-daemon`
if [ "x$DBUSPID" != "x" ]; then
/etc/init.d/dbus-1 force-reload
fi
}
반응형