[icefish][master] nss-localuser fails to execute postinstall scriptlet
Fixed
Description
ERROR: agl-image-minimal-1.0-r0 do_rootfs: Postinstall scriptlets of ['nss-localuser'] 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/scratch/user/git/AGL/build-icefish/build/tmp/work/qemux86_64-agl-linux/agl-image-minimal/1.0-r0/temp/log.do_rootfs
.
ERROR: agl-image-minimal-1.0-r0 do_rootfs: Function failed: do_rootfs
ERROR: Logfile of failure stored in: /home/scratch/user/git/AGL/build-icefish/build/tmp/work/qemux86_64-agl-linux/agl-image-minimal/1.0-r0/temp/log.do
_rootfs.16289
ERROR: Task (/home/scratch/user/git/AGL/build-icefish/meta-agl/meta-agl-profile-core/recipes-platform/images/agl-image-minimal.bb:do_rootfs) failed wi
th exit code '1'
ERROR: agl-image-minimal-1.0-r0 do_rootfs: Postinstall scriptlets of ['nss-localuser'] 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/scratch/user/git/AGL/build-icefish/build/tmp/work/qemux86_64-agl-linux/agl-image-minimal/1.0-r0/temp/log.do_rootfs . ERROR: agl-image-minimal-1.0-r0 do_rootfs: Function failed: do_rootfs ERROR: Logfile of failure stored in: /home/scratch/user/git/AGL/build-icefish/build/tmp/work/qemux86_64-agl-linux/agl-image-minimal/1.0-r0/temp/log.do _rootfs.16289 ERROR: Task (/home/scratch/user/git/AGL/build-icefish/meta-agl/meta-agl-profile-core/recipes-platform/images/agl-image-minimal.bb:do_rootfs) failed wi th exit code '1'
solution:
-pkg_postinst_${PN} () { +pkg_postinst_ontarget_${PN} () {