Reputation: 214
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.
Upvotes: 2
Views: 6916
Reputation: 169
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.
Upvotes: 0
Reputation: 2858
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
Upvotes: 1