I'm using imx-yocto-L4.14.78_1.0.0_ga on Ubuntu16.04. I finished the build with the commond below
DISTRO=fsl-imx-x11 MACHINE=imx6qsabresd source fsl-setup-release.sh -b build-x11
bitbake fsl-image-qt5-validation-imx
with some special needs, I changed the source code of busybox-1.27.2, and recompiled.
but there are some errors when do_rootfs
I used the commonds like this:
bitbake -c clean busybox
bitbake -c compile -f busybox
bitbake fsl-image-qt5-validation-imx
Error log:
WARNING: fsl-image-qt5-validation-imx-1.0-r0 do_rootfs: Intentionally failing postinstall scriptlets of ['busybox', 'coreutils', 'matchbox-keyboard-im', 'systemd'] to defer them to first boot is deprecated. Please place them into pkg_postinst_ontarget_${PN} ().
If deferring to first boot wasn't the intent, then scriptlet failure may mean an issue in the recipe, or a regression elsewhere.
Details of the failure are in /home/xxx/imx-yocto-bsp/build-x11/tmp/work/imx6qsabresd-poky-linux-gnueabi/fsl-image-qt5-validation-imx/1.0-r0/temp/log.do_rootfs.
WARNING: fsl-image-qt5-validation-imx-1.0-r0 do_rootfs: [log_check] fsl-image-qt5-validation-imx: found 5 warning messages in the logfile:
[log_check] warning: %post(busybox-1.27.2-r0.cortexa9hf_neon) scriptlet failed, exit status 1
[log_check] warning: %post(coreutils-8.29-r0.cortexa9hf_neon) scriptlet failed, exit status 1
[log_check] warning: %post(matchbox-keyboard-im-0.1.1-r0.cortexa9hf_neon) scriptlet failed, exit status 2
[log_check] warning: %post(systemd-1:237-r0.cortexa9hf_neon) scriptlet failed, exit status 1
[log_check] WARNING: Intentionally failing postinstall scriptlets of ['busybox', 'coreutils', 'matchbox-keyboard-im', 'systemd'] to defer them to first boot is deprecated. Please place them into pkg_postinst_ontarget_${PN} ().
ERROR: fsl-image-qt5-validation-imx-1.0-r0 do_rootfs: [log_check] fsl-image-qt5-validation-imx: found 2 error messages in the logfile:
[log_check] update-alternatives: Error: not linking /home/xxx/imx-yocto-bsp/build-x11/tmp/work/imx6qsabresd-poky-linux-gnueabi/fsl-image-qt5-validation-imx/1.0-r0/rootfs/sbin/runlevel to /bin/busybox.nosuid since /home/xxx/imx-yocto-bsp/build-x11/tmp/work/imx6qsabresd-poky-linux-gnueabi/fsl-image-qt5-validation-imx/1.0-r0/rootfs/sbin/runlevel exists and is not a link
[log_check] update-alternatives: Error: not linking /home/xxx/imx-yocto-bsp/build-x11/tmp/work/imx6qsabresd-poky-linux-gnueabi/fsl-image-qt5-validation-imx/1.0-r0/rootfs/sbin/runlevel to /bin/systemctl since /home/xxx/imx-yocto-bsp/build-x11/tmp/work/imx6qsabresd-poky-linux-gnueabi/fsl-image-qt5-validation-imx/1.0-r0/rootfs/sbin/runlevel exists and is not a link
ERROR: fsl-image-qt5-validation-imx-1.0-r0 do_rootfs: Function failed: do_rootfs
ERROR: Logfile of failure stored in: /home/xxx/imx-yocto-bsp/build-x11/tmp/work/imx6qsabresd-poky-linux-gnueabi/fsl-image-qt5-validation-imx/1.0-r0/temp/log.do_rootfs.31769
ERROR: Task (/home/xxx/imx-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-sdk/dynamic-layers/qt5-layer/recipes-fsl/images/fsl-image-qt5-validation-imx.bb:do_rootfs) failed with exit code '1'
Does anyone know how to solve this problem?
Hoping for better guidance.
Thanks and Regards
pls refer to the documents as below: