Skip to contentSkip to conversation

qemu: Add qemu-user-* and qemu-system-* to PACKAGES_DYNAMIC

PATCH Superseded [email protected] 1 participant 1 message Jun 26, 2023

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qemu: Add qemu-user-* and qemu-system-* to PACKAGES_DYNAMIC

From: Mingli Yu <[email protected]>

Fixes:
Add below line to conf/local.conf
IMAGE_INSTALL:append = " qemu-system-aarch64

  $ bitbake core-image-base
  ERROR: Required build target 'core-image-base' has no buildable providers.
  Missing or unbuildable dependency chain was: ['core-image-base', 'qemu-system-aarch64']
---
 meta/recipes-devtools/qemu/qemu.inc | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-devtools/qemu/qemu.inc +2 -0
index 6acda61425..a5bdeef66d 100644
@@ -236,6 +236,8 @@ PACKAGES =+ "${PN}-system-all ${PN}-user-all"
 ALLOW_EMPTY:${PN}-system-all = "1"
 ALLOW_EMPTY:${PN}-user-all = "1"
 
+PACKAGES_DYNAMIC += "^${PN}-user-.*  ^${PN}-system-.*"
+
 PACKAGESPLITFUNCS =+ "split_qemu_packages"
 
 python split_qemu_packages () {
Signature · 1 line
2.35.5