[yocto] Requires section of RPM Spec

Alexander Kanavin alexander.kanavin at linux.intel.com
Tue Oct 25 04:49:35 PDT 2016


On 10/25/2016 02:42 PM, Bipnesh, Abhinav (Abhinav) wrote:
> Basically when we try to install these package on the image using RPM
> package management i.e. rpm -ivh <package name> the dependency checks
> fails as the rootfs doesn't contain RPM database from where the check
> be made. So below is sample output

If the image doesn't have the RPM database, then you should not use rpm 
at all. Add the package to your image during image creation, for example 
like this:

IMAGE_INSTALL_append = " <package>"

Or you can enable the rpm database on the image by adding 
'package-management' to your IMAGE_FEATURES.

Alex



More information about the yocto mailing list