diff mbox series

[v2] qemu: Add qemu-user-* and qemu-system-* to PACKAGES_DYNAMIC

Message ID 20230626055800.769452-1-mingli.yu@eng.windriver.com
State New
Headers show
Series [v2] qemu: Add qemu-user-* and qemu-system-* to PACKAGES_DYNAMIC | expand

Commit Message

mingli.yu@eng.windriver.com June 26, 2023, 5:58 a.m. UTC
From: Mingli Yu <mingli.yu@windriver.com>

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']

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
---
 meta/recipes-devtools/qemu/qemu.inc | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index 6acda61425..a5bdeef66d 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -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 () {