-1

In local.conf, I can see:

PACKAGE_CLASSES ?= "package_rpm"

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

GreenTea
  • 769
  • 1
  • 10
  • 36
  • Please take a look at the Yocto documentation: https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#runtime-package-management-build. If you want to have these tools, you need to add 'package-management' to the IMAGE_FEATURES. – vermaete Jun 24 '20 at 07:18

1 Answers1

0

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