[poky] Fwd: Poky build failure with "Could not invoke dnf" error message.

AshishKumar Mishra ashish.emailaddress at gmail.com
Mon Oct 14 02:54:55 PDT 2019


Thanks for replying back Richard.

I can see the RPM generated at "tmp/deploy/rpm/core2_32" .

[15:14:38]:~/Documents/linux-foundation-projects/yocto/build-armour : find
tmp/* -name 'eth0*' | grep rpm
tmp/deploy/rpm/core2_32/eth0-dev-0.1-r0.core2_32.rpm
tmp/deploy/rpm/core2_32/eth0-dbg-0.1-r0.core2_32.rpm
tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/oe-rootfs-repo/rpm/core2_32/eth0-dev-0.1-r0.core2_32.rpm
tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/oe-rootfs-repo/rpm/core2_32/eth0-dbg-0.1-r0.core2_32.rpm
tmp/work/core2-32-poky-linux/eth0/0.1-r0/deploy-rpms/core2_32/eth0-dev-0.1-r0.core2_32.rpm
tmp/work/core2-32-poky-linux/eth0/0.1-r0/deploy-rpms/core2_32/eth0-dbg-0.1-r0.core2_32.rpm

This is my folder skeleton & attached is the recipe
~/Documents/linux-foundation-projects/yocto/meta-mechanic/recipes-armour
(master) : ls
armour  eth0-0.1  images
~/Documents/linux-foundation-projects/yocto/meta-mechanic/recipes-armour
(master) : ls eth0-0.1/*
eth0-0.1/eth0_0.1.bb

eth0-0.1/eth0-0.1:
eth0.service

Is there any specific dependency which i am missing or if i am doing any
thing wrong here .

Thanks
Ashish








On Mon, Oct 14, 2019 at 2:00 PM Richard Purdie <
richard.purdie at linuxfoundation.org> wrote:

> On Mon, 2019-10-14 at 13:40 +0530, AshishKumar Mishra wrote:
> > Hi All ,
> >
> > I am trying to build an image with my custom layer and getting error
> > of
> > "ERROR: core-image-minimal-1.0-r0 do_rootfs: Could not invoke dnf.".
> >
> > ( i have added an basic ethernet up/down systemd service in my layer)
> > The details of service file & log are attached in  (poky-error.txt)
>
> The error says it can't find a package named eth0. Was such a package
> generated? It should be somewhere like tmp/deploy/rpm/XXX/eth0_*.rpm
>
> Cheers,
>
> Richard
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20191014/dbe29162/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eth0_0.1.bb
Type: application/octet-stream
Size: 713 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20191014/dbe29162/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eth0.service
Type: application/octet-stream
Size: 319 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20191014/dbe29162/attachment-0001.obj>


More information about the poky mailing list