On Sun, Sep 22, 2024 at 9:03 PM sateesh m via lists.yoctoproject.org
<[email protected]> wrote:
>
> Hi Team,
>
> I am facing issue as mentioned below. its very important to me can anyone
> respond immediate basis to solve issue as mentioned below.
>
> WARNING: sota-image-1.0-r0 do_rootfs: Postinstall for package tx-init failed
> with 1:
> ln -s /lib/systemd/system/tx-init.service
> /home/z0254762/transics/sota/oe/build-openstlinuxweston-stm32mp13-sota/tmp-glibc/work/stm32mp13_sota-ostl-linux-gnueabi/sota-image/1.0-r0/rootfs/etc/systemd/system/multi-user.target.wants/tx-init.service
> ln -s /lib/systemd/system/tx-appfs-setup.service
> /home/z0254762/transics/sota/oe/build-openstlinuxweston-stm32mp13-sota/tmp-glibc/work/stm32mp13_sota-ostl-linux-gnueabi/sota-image/1.0-r0/rootfs/etc/systemd/system/multi-user.target.wants/tx-appfs-setup.service
> ln -s /lib/systemd/system/tx-usb-pwr.service
> /home/z0254762/transics/sota/oe/build-openstlinuxweston-stm32mp13-sota/tmp-glibc/work/stm32mp13_sota-ostl-linux-gnueabi/sota-image/1.0-r0/rootfs/etc/systemd/system/multi-user.target.wants/tx-usb-pwr.service
> ln -s /lib/systemd/system/tx-hostname.service
> /home/z0254762/transics/sota/oe/build-openstlinuxweston-stm32mp13-sota/tmp-glibc/work/stm32mp13_sota-ostl-linux-gnueabi/sota-image/1.0-r0/rootfs/etc/systemd/system/multi-user.target.wants/tx-hostname.service
> ln -s /lib/systemd/system/tx-comport.service
> /home/z0254762/transics/sota/oe/build-openstlinuxweston-stm32mp13-sota/tmp-glibc/work/stm32mp13_sota-ostl-linux-gnueabi/sota-image/1.0-r0/rootfs/etc/systemd/system/multi-user.target.wants/tx-comport.service
> ln -s /lib/systemd/system/tx-app.service
> /home/z0254762/transics/sota/oe/build-openstlinuxweston-stm32mp13-sota/tmp-glibc/work/stm32mp13_sota-ostl-linux-gnueabi/sota-image/1.0-r0/rootfs/etc/systemd/system/multi-user.target.wants/tx-app.service
> Traceback (most recent call last):
> File
> "/home/z0254762/transics/sota/oe/build-openstlinuxweston-stm32mp13-sota/tmp-glibc/work/stm32mp13_sota-ostl-linux-gnueabi/sota-image/1.0-r0/recipe-sysroot-native/usr/bin/systemctl",
> line 348, in <module>
> main()
> File
> "/home/z0254762/transics/sota/oe/build-openstlinuxweston-stm32mp13-sota/tmp-glibc/work/stm32mp13_sota-ostl-linux-gnueabi/sota-image/1.0-r0/recipe-sysroot-native/usr/bin/systemctl",
> line 334, in main
> SystemdUnit(root, service).enable()
> File
> "/home/z0254762/transics/sota/oe/build-openstlinuxweston-stm32mp13-sota/tmp-glibc/work/stm32mp13_sota-ostl-linux-gnueabi/sota-image/1.0-r0/recipe-sysroot-native/usr/bin/systemctl",
> line 219, in enable
> config = SystemdFile(self.root, path, instance_unit_name)
> File
> "/home/z0254762/transics/sota/oe/build-openstlinuxweston-stm32mp13-sota/tmp-glibc/work/stm32mp13_sota-ostl-linux-gnueabi/sota-image/1.0-r0/recipe-sysroot-native/usr/bin/systemctl",
> line 31, in __init__
> self._parse(root, path)
> File
> "/home/z0254762/transics/sota/oe/build-openstlinuxweston-stm32mp13-sota/tmp-glibc/work/stm32mp13_sota-ostl-linux-gnueabi/sota-image/1.0-r0/recipe-sysroot-native/usr/bin/systemctl",
> line 81, in _parse
> if k not in section:
> TypeError: argument of type 'NoneType' is not iterable
> ERROR: sota-image-1.0-r0 do_rootfs: Postinstall scriptlets of ['tx-init']
> have failed. If the intention is to defer them to first boot,
You might want to look into the tx-init recipe and see what it is doing perhaps
SYSTEMD_SERVICE:${PN} is not set properly and also look into
SYSTEMD_AUTO_ENABLE settings for this recipe. Without sources we can
only guess what might
be going on.
> 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/z0254762/transics/sota/oe/build-openstlinuxweston-stm32mp13-sota/tmp-glibc/work/stm32mp13_sota-ostl-linux-gnueabi/sota-image/1.0-r0/temp/log.do_rootfs.
> ERROR: Logfile of failure stored in:
> /home/z0254762/transics/sota/oe/build-openstlinuxweston-stm32mp13-sota/tmp-glibc/work/stm32mp13_sota-ostl-linux-gnueabi/sota-image/1.0-r0/temp/log.do_rootfs.2043283
> ERROR: Task
> (/home/z0254762/transics/sota/oe/layers/meta-tx-sota/recipes-core/sota/sota-image.bb:do_rootfs)
> failed with exit code '1'
> NOTE: Tasks Summary: Attempted 4961 tasks of which 4947 didn't need to be
> rerun and 1 failed.
>
> Regards,
> Sateesh
>
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#63878): https://lists.yoctoproject.org/g/yocto/message/63878
Mute This Topic: https://lists.yoctoproject.org/mt/108602382/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-