jiazhang0/meta-secure-core

Reg. build issue 'secure-core-image-initramfs-1.0-r0 do_rootfs: Could not invoke dnf. Command..'

Virat1988 opened this issue · 0 comments

Hi All,

Am facing secure-core-image build issue with mention error, any thoughts would be appreciated, thanks in advance!
Let me know if any further details required on same.

Best Regards,
Loki

// Logs:

WARNING: linux-yocto-5.4.219+gitAUTOINC+7e9781b04d_35826e154e-r0 do_kernel_configcheck: [kernel config]: This BSP sets config options that are not offered anywhere within this kernel:

CONFIG_IMA_TEMPLATE

ERROR: secure-core-image-initramfs-1.0-r0 do_rootfs: Could not invoke dnf. Command '/home/dell/build4/dunfell_poky/poky/build/tmp/work/qemux86_64-poky-linux/secure-core-image-initramfs/1.0-r0/recipe-sysroot-native/usr/bin/dnf -v --rpmverbosity=info -y -c /home/dell/build4/dunfell_poky/poky/build/tmp/work/qemux86_64-poky-linux/secure-core-image-initramfs/1.0-r0/rootfs/etc/dnf/dnf.conf --setopt=reposdir=/home/dell/build4/dunfell_poky/poky/build/tmp/work/qemux86_64-poky-linux/secure-core-image-initramfs/1.0-r0/rootfs/etc/yum.repos.d --installroot=/home/dell/build4/dunfell_poky/poky/build/tmp/work/qemux86_64-poky-linux/secure-core-image-initramfs/1.0-r0/rootfs --setopt=logdir=/home/dell/build4/dunfell_poky/poky/build/tmp/work/qemux86_64-poky-linux/secure-core-image-initramfs/1.0-r0/temp --repofrompath=oe-repo,/home/dell/build4/dunfell_poky/poky/build/tmp/work/qemux86_64-poky-linux/secure-core-image-initramfs/1.0-r0/oe-rootfs-repo -x busybox-syslog --setopt=gpgcheck=True install base-passwd busybox initrdscripts-secure-core packagegroup-ima-initramfs packagegroup-luks-initramfs packagegroup-tpm2-initramfs run-postinsts' returned 1:
DNF version: 4.2.2
cachedir: /home/dell/build4/dunfell_poky/poky/build/tmp/work/qemux86_64-poky-linux/secure-core-image-initramfs/1.0-r0/rootfs/var/cache/dnf
Added oe-repo repo from /home/dell/build4/dunfell_poky/poky/build/tmp/work/qemux86_64-poky-linux/secure-core-image-initramfs/1.0-r0/oe-rootfs-repo
repo: using cache for: oe-repo
not found other for:
not found modules for:
not found deltainfo for:
not found updateinfo for:
oe-repo: using metadata from Thu 08 Dec 2022 10:47:39 PM UTC.
No module defaults found
Excludes in dnf.conf: busybox-syslog
No match for argument: base-passwd
No match for argument: busybox
No match for argument: initrdscripts-secure-core
No match for argument: packagegroup-ima-initramfs
No match for argument: packagegroup-luks-initramfs
No match for argument: packagegroup-tpm2-initramfs
No match for argument: run-postinsts
Error: Unable to find a match

ERROR: Logfile of failure stored in: /home/dell/build4/dunfell_poky/poky/build/tmp/work/qemux86_64-poky-linux/secure-core-image-initramfs/1.0-r0/temp/log.do_rootfs.939896
ERROR: Task (/home/dell/build4/dunfell_poky/poky/meta-secure-core/meta/recipes-core/images/secure-core-image-initramfs.bb:do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4703 tasks of which 4436 didn't need to be rerun and 1 failed.
..