From 992d6075fbb4e8eb82920a477fcc38b3c0dc8cd5 Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Thu, 20 Feb 2025 19:23:43 -0800 Subject: [PATCH] runqemu: Set target to rootfs when target is empty Fixed: $ runqemu qemux86-64 core-image-minimal runqemu - ERROR - IMAGE_LINK_NAME wasn't set to find corresponding .qemuboot.conf file Signed-off-by: Robert Yang Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- scripts/runqemu | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/runqemu b/scripts/runqemu index 14eb939b3ef..86124a4a6a3 100755 --- a/scripts/runqemu +++ b/scripts/runqemu @@ -1676,6 +1676,9 @@ to your build configuration. if multiconfig: multiconfig = "mc:%s" % multiconfig + if self.rootfs and not target: + target = self.rootfs + if mach: cmd = 'MACHINE=%s bitbake -e %s %s' % (mach, multiconfig, target) else: -- 2.47.3