Re: failing postinstall scriptlet
Alexander Kanavin
You need to show the whole log.
Alex
toggle quoted message
Show quoted text
Alex
On Fri, 11 Nov 2022 at 07:29, Mistyron <ron.eggler@...> wrote:
Hi,
I'm wondering how to resolve the following error:
ERROR: sample-image-cp-lwb5plus-1.0-r0 do_rootfs: Postinstall scriptlets of ['lrd-networkmanager-sterling'] 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.
Details of the failure are in /home/yocto/rzv_vlp_v3.0.0/build/tmp/work/smarc_rzv2l-poky-linux/sample-image-cp-lwb5plus/1.0-r0/temp/log.do_rootfs.
ERROR: Logfile of failure stored in: /home/yocto/rzv_vlp_v3.0.0/build/tmp/work/smarc_rzv2l-poky-linux/sample-image-cp-lwb5plus/1.0-r0/temp/log.do_rootfs.430788
ERROR: Task (/home/yocto/rzv_vlp_v3.0.0/build/../meta-mistylwb5p/meta-laird-cp-pre-3.4/recipes-packages/images/sample-image-cp-lwb5plus.bb:do_rootfs) failed with exit code '1'
the log file ~/rzv_vlp_v3.0.0/build/tmp/work/smarc_rzv2l-poky-linux/sample-image-cp-lwb5plus/1.0-r0/temp/log.do_rootfs.430788 contains the following on the bottom:
...
wayland-1.18.0-r0.aarch64
Complete!
ERROR: Postinstall scriptlets of ['lrd-networkmanager-sterling'] 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.
Details of the failure are in /home/yocto/rzv_vlp_v3.0.0/build/tmp/work/smarc_rzv2l-poky-linux/sample-image-cp-lwb5plus/1.0-r0/temp/log.do_rootfs.
DEBUG: Python function do_rootfs finished
and the same does /home/yocto/rzv_vlp_v3.0.0/build/tmp/work/smarc_rzv2l-poky-linux/sample-image-cp-lwb5plus/1.0-r0/temp/log.do_rootfs
Not very helpful, is it? How can I resolve this?
Ron
--
RON EGGLER Firmware Engineer (he/him/his) www.mistywest.com