Skip to contentSkip to conversation

runqemu: Set target to rootfs when target is empty

PATCH New [email protected] 1 participant 2 messages Feb 21, 2025

lore
Share & tools
lore
#0 lore raw

cover runqemu: Set target to rootfs when target is empty

From: Robert Yang <[email protected]>

The following changes since commit fbafd942e6c78d1298fa64129149ff311b61fcf8:

python3: Skip test_write_read_append (2025-02-20 11:56:44 +0000)

are available in the Git repository at:

https://github.com/robertlinux/yocto rbt/qemu
https://github.com/robertlinux/yocto/tree/rbt/qemu

Robert Yang (1):
runqemu: Set target to rootfs when target is empty

 scripts/runqemu | 3 +++
 1 file changed, 3 insertions(+)
Signature · 1 line
2.44.1
#1 lore raw

PATCH 1/1 runqemu: Set target to rootfs when target is empty

From: Robert Yang <[email protected]>

Fixed:

$ runqemu qemux86-64 core-image-minimal
runqemu - ERROR - IMAGE_LINK_NAME wasn't set to find corresponding .qemuboot.conf file
---
 scripts/runqemu | 3 +++
 1 file changed, 3 insertions(+)
scripts/runqemu +3 -0
index 14eb939b3e..86124a4a6a 100755
@@ -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:
Signature · 1 line
2.44.1