Search code examples
yoctoopenembedded

rpm tool can't be used in yocto enviroment


In local.conf, I can see:

PACKAGE_CLASSES ?= "package_rpm"

However, after boot the yocto OS, the rpm command not found.


Solution

  • PACKAGE_CLASSES specifies the package manager the OpenEmbedded build system uses when packaging data. This will not add rpm package to your image.

    To have rpm package to your image, add EXTRA_IMAGE_FEATURES += "package-management" to your conf/local.conf