On Wed, 2023-02-22 at 20:38 -0500, Denys Dmytriyenko wrote: > So, testing the latest patch series, I started getting breakage on all SGX > platforms: > > WARNING: tisdk-default-image-1.0-r0 do_rootfs: ti-sgx-ddk-um.postinst > returned 1, marking as unpacked only, configuration required on target. > ERROR: tisdk-default-image-1.0-r0 do_rootfs: Postinstall scriptlets of > ['ti-sgx-ddk-um'] 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 > /OE/arago-kirkstone/build/arago-tmp-default-glibc/work/am335x_evm-oe-linux-gnueabi/tisdk-default-image/1.0-r0/temp/log.do_rootfs. > ERROR: Logfile of failure stored in: > /OE/arago-kirkstone/build/arago-tmp-default-glibc/work/am335x_evm-oe-linux-gnueabi/tisdk-default-image/1.0-r0/temp/log.do_rootfs.156835 > ERROR: Task > (/OE/arago-kirkstone/sources/meta-arago/meta-arago-distro/recipes-core/images/tisdk-default-image.bb:do_rootfs) > failed with exit code '1' > > > WARNING: tisdk-default-image-1.0-r0 do_rootfs: ti-sgx-ddk-um.postinst > returned 1, marking as unpacked only, configuration required on target. > ERROR: tisdk-default-image-1.0-r0 do_rootfs: Postinstall scriptlets of > ['ti-sgx-ddk-um'] 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 > /OE/arago-kirkstone/build/arago-tmp-default-glibc/work/am57xx_evm-oe-linux-gnueabi/tisdk-default-image/1.0-r0/temp/log.do_rootfs. > ERROR: Logfile of failure stored in: > /OE/arago-kirkstone/build/arago-tmp-default-glibc/work/am57xx_evm-oe-linux-gnueabi/tisdk-default-image/1.0-r0/temp/log.do_rootfs.164346 > ERROR: Task > (/OE/arago-kirkstone/sources/meta-arago/meta-arago-distro/recipes-core/images/tisdk-default-image.bb:do_rootfs) > failed with exit code '1' > > > WARNING: tisdk-default-image-1.0-r0 do_rootfs: ti-sgx-ddk-um.postinst > returned 1, marking as unpacked only, configuration required on target. > ERROR: tisdk-default-image-1.0-r0 do_rootfs: Postinstall scriptlets of > ['ti-sgx-ddk-um'] 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 > /OE/arago-kirkstone/build/arago-tmp-default-glibc/work/am65xx_evm-oe-linux/tisdk-default-image/1.0-r0/temp/log.do_rootfs. > ERROR: Logfile of failure stored in: > /OE/arago-kirkstone/build/arago-tmp-default-glibc/work/am65xx_evm-oe-linux/tisdk-default-image/1.0-r0/temp/log.do_rootfs.159785 > ERROR: Task > (/OE/arago-kirkstone/sources/meta-arago/meta-arago-distro/recipes-core/images/tisdk-default-image.bb:do_rootfs) > failed with exit code '1' > > > Reverting this commit helps with the build: > https://git.yoctoproject.org/meta-ti/commit/?h=kirkstone&id=f50f55102f926ba58ea22339a98e4239370af6c6 > > > So far I didn't have time to dig deeper, though it's not obvious right away... >
Hi Denys, I assume that the failing postinst script must come from update- rc.d.bbclass, but without knowing what command in the script is failing it's difficult to say anything for certain. Would it be possible for you to make a ti-sgx-ddk-um RPM or similar from the failing build available for us to have a look at? What DISTRO_FEATURES is your build using? sysvinit, no systemd? Best regards, Matthias
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15929): https://lists.yoctoproject.org/g/meta-ti/message/15929 Mute This Topic: https://lists.yoctoproject.org/mt/95708882/21656 Group Owner: meta-ti+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-