Error while adding apt install packages in yocto

Hi ,
We are using tdx-reference-multimedia-image for Apalis iMX8. We are using Yocto Project dunfell to build this image.

  • How to add "apt install " packages as a part of yocto build.

Following two steps added:

  1. EXTRA_IMAGE_FEATURES ?= “debug-tweaks package-management”
  2. PACKAGE_CLASSES ?= " package_deb"`

After $ bitbake tdx-reference-multimedia-image

Error Like:
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES ‘debug-tweaks’
NOTE: Runtime target ‘debug-tweaks’ is unbuildable, removing…
Missing or unbuildable dependency chain was: [‘debug-tweaks’]
ERROR: Required build target ‘nhp-image’ has no buildable providers.
Missing or unbuildable dependency chain was: [‘nhp-image’, ‘debug-tweaks’]

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Please suggest how to add an apt install package for yocto build.
Regards,
Deepak Jewargi

Hi @djewargi,

Please note with Yocto BSP only opkg is supported, also we do not maintain any online feeds for same. That said please check below community post if this helps

Also you can check our TorizonCore OS where you can use Debian package manager inside docker container.

Best Regards
Ritesh Kumar