简体   繁体   中英

How to create rpm package in yocto (poky) freescale linux

I am using Yocto(poky) freescale linux for creating new software. I have compiled my binaries for this system. But to build rpm package on this system I can not find rpmbuild command.

Do I need to use rpmbuild or opkg or anything else to create package on Yocto?

Thanks in advance.

You will need to create a bitbake recipe for your software. This recipe describes how that software is configured, built and packaged. If your target image is configured with rpm as a package manager, the result of executing that recipe will be an RPM file containing your software. See here: https://www.yoctoproject.org/docs/2.0/dev-manual/dev-manual.html

To add additional binaries or libraries for your project in Yocto, you can add them in the recipes-extended/merger-files/merge directory. Any files and directories copied to the "merge" directory will be copied to the root filesystem created by Yocto.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM