Skip to content

Commit

Permalink
runqemu: Set target to rootfs when target is empty
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Mathieu Dubois-Briand <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
  • Loading branch information
robertlinux authored and rpurdie committed Feb 25, 2025
1 parent 29b0eeb commit f1ea319
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/runqemu
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f1ea319

Please sign in to comment.