Adding New RPM Packages in meta-petalinux
Adding New RPM Packages in meta-petalinux
Adding New RPM Packages in meta-petalinux
meta-petalinux supports various packages for Xilinx architectures.However there might be a use-case when a user wants to add additional packages to create a rpm feed channel
Step-by-step guide
Add the steps involved:- meta-petalinux should be setup for Yocto build setup
- Please refer to Getting Started With Yocto using Repo to build RPM Packages
- For example we want to add wireless-tools package to Zynq/ZynqMP architecture
- wireless-tools is a recipe present in Yocto project for supporting tools for Linux Standard Wireless Extension Subsystem
- http://git.yoctoproject.org/cgit.cgi/poky/plain/meta/recipes-connectivity/wireless-tools/wireless-tools_30.pre9.bb
- In meta-petalinux, packagegroup-petalinux.bb contains the information about all the packages being built for each architecture
- https://github.com/Xilinx/meta-petalinux/blob/rel-v2016.1/recipes-core/packagegroups/packagegroup-petalinux.bb
- Lets add the desired package at the end of ZYNQ_EXTRAS
-
ZYNQ_EXTRAS = " \ bonnie++ \ hdparm \ iperf \ libattr \ libinput \ opencv \ python-multiprocessing \ python-numpy \ python-scons \ python-shell \ python-threading \ python-smartpm \ smartmontools \ v4l-utils \ yavta \ libmetal \ wireless-tools \ "
- save the file
- bitbake to get the new RPM
-
$ MACHINE=<architecture>-generic bitbake petalinux-image
- find -name "wireless-tools*rpm" in /tmp/deploy/rpm to verify it is built
Related Articles
Xilinx YoctoAdding Mali Userspace binaries
, multiple selections available,
Related content
PetaLinux Package Groups - 2023.1 Release
PetaLinux Package Groups - 2023.1 Release
More like this
PetaLinux Package Groups - 2022.2 Release
PetaLinux Package Groups - 2022.2 Release
More like this
PetaLinux
PetaLinux
Read with this
PetaLinux to Yocto - Command Cross Reference
PetaLinux to Yocto - Command Cross Reference
More like this
Getting Started With Yocto using Repo to build RPM Packages
Getting Started With Yocto using Repo to build RPM Packages
More like this
Petalinux Build Tutorial for ZU+ RFSoC ZCU111 2021.1 and 2021.2
Petalinux Build Tutorial for ZU+ RFSoC ZCU111 2021.1 and 2021.2
More like this
© Copyright 2019 - 2022 Xilinx Inc. Privacy Policy