klibc utils have no update-alternatives because these live ideally alone in th einitramfs. This image is not minimal having busybox, linux-utils, coreutils so to resolve the conflict we just remove the shared klibc utils and replace the klibc kexec and vmcore-dmesg.
Finally, remove EXCLUDE_FROM_WORLD. Fix: ERROR: meta-initramfs-image-1.0-r0 do_rootfs: Postinstall scriptlets of ['busybox', 'util-linux-umount', 'util-linux-dmesg', 'coreutils', 'util-linux-mount', 'cpio', 'util-linux-kill', 'util-linux-losetup'] have failed. Signed-off-by: Andrea Adami <andrea.ad...@gmail.com> --- .../packagegroups/packagegroup-meta-initramfs.bb | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/meta-initramfs/recipes-core/packagegroups/packagegroup-meta-initramfs.bb b/meta-initramfs/recipes-core/packagegroups/packagegroup-meta-initramfs.bb index bfede5a74..dc4928b5a 100644 --- a/meta-initramfs/recipes-core/packagegroups/packagegroup-meta-initramfs.bb +++ b/meta-initramfs/recipes-core/packagegroups/packagegroup-meta-initramfs.bb @@ -15,22 +15,10 @@ RDEPENDS_packagegroup-meta-initramfs = "\ " RDEPENDS_packagegroup-meta-initramfs-devtools = "\ - libklibc dracut \ - klibc-utils-cat klibc-utils-losetup klibc-utils-readlink klibc-utils-chroot \ - klibc-utils-ls klibc-utils-reboot klibc-utils-cpio klibc-utils-minips \ - klibc-utils-resume klibc-utils-dd klibc-utils-mkdir klibc-utils-run-init \ - klibc-utils-dmesg klibc-utils-mkfifo klibc-utils-sh.shared klibc-utils-false \ - klibc-utils-mknod klibc-utils-sleep klibc-utils-fstype klibc-utils-mount \ - klibc-utils-sync klibc-utils-halt klibc-utils-mv klibc-utils-true klibc-utils-ipconfig \ - klibc-utils-nfsmount klibc-utils-umount klibc-utils-kill klibc-utils-nuke klibc-utils-uname \ - mtdinfo-klibc ubiattach-klibc ubiblock-klibc ubicrc32-klibc ubidetach-klibc \ - ubiformat-klibc ubimkvol-klibc ubinfo-klibc ubinize-klibc ubirename-klibc \ - ubirmvol-klibc ubirsvol-klibc ubiupdatevol-klibc \ + dracut \ ${@bb.utils.contains_any("TRANSLATED_TARGET_ARCH", "i586 x86-64", "grubby", "", d)} \ " RDEPENDS_packagegroup-meta-initramfs-kernel = "\ - kexec-klibc vmcore-dmesg-klibc \ + kexec vmcore-dmesg \ " - -EXCLUDE_FROM_WORLD = "1" -- 2.17.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#84056): https://lists.openembedded.org/g/openembedded-devel/message/84056 Mute This Topic: https://lists.openembedded.org/mt/73230971/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-