Topics

Automotive Grade Linux (icefish 9.0.3) on Raspberry Pi 4: ERROR: Build failed with feature AGL-SOTA enabled #automotive #help


suneetha@...
 

Executed the below commands
$ source meta-agl/scripts/aglsetup.sh -f -m raspberrypi4 agl-demo agl-netboot agl-appfw-smack agl-sota
$ bitbake agl-demo-platform-crosssdk

but getting the below errors.
ERROR: initramfs-netboot-1.0-r0 do_package_qa: QA Issue: initramfs-netboot package is not obeying usrmerge distro feature. /sbin should be relocated to /usr. [usrmerge]
ERROR: initramfs-netboot-1.0-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.
ERROR: initramfs-netboot-1.0-r0 do_package_qa: Function failed: do_package_qa
ERROR: Logfile of failure stored in: /home/workspace_agl/build/tmp/work/all-agl-linux/initramfs-netboot/1.0-r0/temp/log.do_package_qa.8085
ERROR: Task (/home/workspace_agl/meta-agl/meta-netboot/recipes-core/initramfs-netboot/initramfs-netboot_1.0.bb:do_package_qa) failed with exit code '1'


Leon Anavi
 

Hi,

Do you get the same error if you try to build an image with agl-sota but without agl-netboot?

I remember there were similar compatibility issues between these two features in the past but I thought they have been resolved: https://jira.automotivelinux.org/browse/SPEC-259

Best regards,
Leon

On 19.10.20 г. 14:43 ч., suneetha@... wrote:
Executed the below commands
$ source meta-agl/scripts/aglsetup.sh -f -m raspberrypi4 agl-demo agl-netboot agl-appfw-smack agl-sota
$ bitbake agl-demo-platform-crosssdk

but getting the below errors.
ERROR: initramfs-netboot-1.0-r0 do_package_qa: QA Issue: initramfs-netboot package is not obeying usrmerge distro feature. /sbin should be relocated to /usr. [usrmerge]
ERROR: initramfs-netboot-1.0-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.
ERROR: initramfs-netboot-1.0-r0 do_package_qa: Function failed: do_package_qa
ERROR: Logfile of failure stored in: /home/workspace_agl/build/tmp/work/all-agl-linux/initramfs-netboot/1.0-r0/temp/log.do_package_qa.8085
ERROR: Task (/home/workspace_agl/meta-agl/meta-netboot/recipes-core/initramfs-netboot/initramfs-netboot_1.0.bb:do_package_qa) failed with exit code '1'
-- 
Leon Anavi
Software Engineer
konsulko.com