Adding New RPM Packages in meta-petalinux
Adding New RPM Packages in meta-petalinux
meta-petalinux supports various packages for Xilinx architectures.
Table of Contents
Step-by-step guide
Related Articles
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
In meta-petalinux, packagegroup-petalinux.bb contains the information about all the packages being built for each architecture
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