If the intention is to defer them to first boot,then please place them into pkg_postinst_ontarget_${PN} ().
Embeded :
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
}
반응형
'Embeded' 카테고리의 다른 글
sound card driver 에서 amp 소리날 때만 켜기 (0) | 2020.08.12 |
---|---|
yocto build 용 docker 설정. (0) | 2020.07.09 |
yocto build error, How to skip to make clean. (0) | 2020.01.09 |