From f1ea319021ae13a7432554380168939f18736d7a Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Thu, 20 Feb 2025 19:23:43 -0800 Subject: 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 (From OE-Core rev: 992d6075fbb4e8eb82920a477fcc38b3c0dc8cd5) Signed-off-by: Robert Yang Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- scripts/runqemu | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts') diff --git a/scripts/runqemu b/scripts/runqemu index 14eb939b3e..86124a4a6a 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: -- cgit v1.2.3-54-g00ecf