Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

open-amp binaries missing in the rootfs of image after build #12

Open
justdoGIT opened this issue Jan 9, 2019 · 1 comment
Open

open-amp binaries missing in the rootfs of image after build #12

justdoGIT opened this issue Jan 9, 2019 · 1 comment

Comments

@justdoGIT
Copy link

justdoGIT commented Jan 9, 2019

while adding libmetal and open-amp in the packagegroup recipe, I am getting the following error:

ERROR: core-image-special-pdm3-1.0-r0 do_rootfs: Could not invoke dnf. Command '/media/iepl/iepl1/work/yocto_build/build_openamp/tmp/work/pdm3_rev_b_zynqmp-pdm3-linux/core-image-special-pdm3/1.0-r0/recipe-sysroot-native/usr/bin/dnf -y -c /media/iepl/iepl1/work/yocto_build/build_openamp/tmp/work/pdm3_rev_b_zynqmp-pdm3-linux/core-image-special-pdm3/1.0-r0/rootfs/etc/dnf/dnf.conf --setopt=reposdir=/media/iepl/iepl1/work/yocto_build/build_openamp/tmp/work/pdm3_rev_b_zynqmp-pdm3-linux/core-image-special-pdm3/1.0-r0/rootfs/etc/yum.repos.d --repofrompath=oe-repo,/media/iepl/iepl1/work/yocto_build/build_openamp/tmp/work/pdm3_rev_b_zynqmp-pdm3-linux/core-image-special-pdm3/1.0-r0/oe-rootfs-repo --installroot=/media/iepl/iepl1/work/yocto_build/build_openamp/tmp/work/pdm3_rev_b_zynqmp-pdm3-linux/core-image-special-pdm3/1.0-r0/rootfs --setopt=logdir=/media/iepl/iepl1/work/yocto_build/build_openamp/tmp/work/pdm3_rev_b_zynqmp-pdm3-linux/core-image-special-pdm3/1.0-r0/temp --nogpgcheck install packagegroup-pdm3-fonts run-postinsts packagegroup-pdm3-base shadow packagegroup-pdm3-apps x11-setup-launcher-init packagegroup-core-x11 packagegroup-pdm3-qt packagegroup-core-tools-profile kernel-image-fitimage-4.14.79-yocto-standard packagegroup-core-tools-debug base-passwd packagegroup-core-ssh-openssh packagegroup-core-tools-testapps packagegroup-core-boot' returned 1:
Added oe-repo repo from /media/iepl/iepl1/work/yocto_build/build_openamp/tmp/work/pdm3_rev_b_zynqmp-pdm3-linux/core-image-special-pdm3/1.0-r0/oe-rootfs-repo
Last metadata expiration check: 0:00:00 ago on Wed 09 Jan 2019 11:17:45 AM UTC.
Error: 
 Problem: conflicting requests
  - nothing provides libopen-amp0 needed by packagegroup-pdm3-apps-1.0-r1.noarch

ERROR: core-image-special-pdm3-1.0-r0 do_rootfs: Function failed: do_rootfs
ERROR: Logfile of failure stored in: /media/iepl/iepl1/work/yocto_build/build_openamp/tmp/work/pdm3_rev_b_zynqmp-pdm3-linux/core-image-special-pdm3/1.0-r0/temp/log.do_rootfs.27879
ERROR: Task (/home/iepl/work/yocto_build/poky/../meta-pdm3/meta-ifm-pdm3/recipes-core/images/core-image-special-pdm3.bb:do_rootfs) failed with exit code '1'

The binaries are there in the workdir of the above-mentioned packages. Also, the packages-split folder doesn't have the binaries but only the libraries generated in it.
But directly adding open-amp and libmetal to the image recipe creates the binaries in the rootfs folder.
Is there anything needed in the open-amp recipe to add the packages to packagegroup recipe.

@wjliang
Copy link
Collaborator

wjliang commented Jan 10, 2019

Here is how petalinux have Open-AMP in the packagegroup:

https://github.com/Xilinx/meta-petalinux/blob/rel-v2018.3/recipes-core/packagegroups/packagegroup-petalinux-openamp.bb

You can take a look. Hope it can provide some hint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants