Other Parts Discussed in Thread: DRA829
Hi TI Experts,
The reason of posing this E2E is that most software packages of customer's OS System are .deb / .rpm format. (the default in local.conf is ipk).
They want to use these packages without repackaging. However, if just directly changes PACKAGE_CLASSES = "package_ipk" to "package_rpm" or "package_deb", there will be the following errors.
update-alternatives: Error: not linking /workdir/build/arago-tmp-external-arm-glibc/work/j7_evm-linux/tisdk-base-image/1.0-r0/rootfs/usr/bin/dpkg-deb to /bin/busybox.nosuid since /workdir/build/arago-tmp-external-arm-glibc/work/j7_evm-linux/tisdk-base-image/1.0-r0/rootfs/usr/bin/dpkg-deb exists and is not a link
ERROR: tisdk-base-image-1.0-r0 do_rootfs: Postinstall scriptlets of ['busybox'] 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 /workdir/build/arago-tmp-external-arm-glibc/work/j7_evm-linux/tisdk-base-image/1.0-r0/temp/log.do_rootfs.
ERROR: Logfile of failure stored in: /workdir/build/arago-tmp-external-arm-glibc/work/j7_evm-linux/tisdk-base-image/1.0-r0/temp/log.do_rootfs.122280
ERROR: Task (/workdir/sources/meta-arago/meta-arago-distro/recipes-core/images/tisdk-base-image.bb:do_rootfs) failed with exit code '1'
BTW, the method in the following link also tried but not work (PACKAGE_CLASSES ?= "package_ipk package_rpm")
It seems a patch is needed in TDA4VM to help customer complete this task?
Could you provide some suggestions on this?
Thanks a lot!
Kevin