fix runqemu on ext2 image
cover fix runqemu on ext2 image
Hi,
This patch is for Yocto 2579.
When set DISTRO to poky-tiny it only builds ext2 image and runqemu doesn't set qemu options for ext2 image that cause qemu fails to boot. Fix it.
Regards,
Kai
The following changes since commit e0a70547069fe7e8a2d6bdaffc985fb172d46c31:
perl: Allow perl to cross build and native build in a directory named "t" (2012-06-18 17:33:04 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib kangkai/runqemu
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/runqemu
Kang Kai (1):
runqemu-internal: qemu fails to run on ext2 image
scripts/runqemu-internal | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Signature · 1 line
1.7.5.4
PATCH 1/1 runqemu-internal: qemu fails to run on ext2 image
[Yocto 2579]
When set DISTRO to poky-tiny, only ext2 image is created. But runqemu-internal doesn't set QEMUOPTIONS for ext2 image that make qemu fail to boot.
Fix it for qemux86 arch since poky-tiny can only build for qemux86 now.
--- scripts/runqemu-internal | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
scripts/runqemu-internal +1 -1
@@ -319,7 +319,7 @@ fi if [ "$MACHINE" = "qemux86" ]; then QEMU=qemu QEMU_UI_OPTIONS="$QEMU_UI_OPTIONS -vga vmware -enable-gl" - if [ "$FSTYPE" = "ext3" -o "$FSTYPE" = "btrfs" ]; then + if [ "$FSTYPE" = "ext2" -o "$FSTYPE" = "ext3" -o "$FSTYPE" = "btrfs" ]; then KERNCMDLINE="vga=0 root=/dev/hda rw mem=$QEMU_MEMORY $KERNEL_NETWORK_CMD" QEMUOPTIONS="$QEMU_NETWORK_CMD -hda $ROOTFS $QEMU_UI_OPTIONS" fi
Signature · 1 line
1.7.5.4
Saul Wold
AppliedQuoted 17 lines · Kang Kai
Hi,
This patch is for Yocto 2579.
When set DISTRO to poky-tiny it only builds ext2 image and runqemu doesn't set qemu options for ext2 image that cause qemu fails to boot. Fix it.
Regards,
KaiThe following changes since commit
e0a70547069fe7e8a2d6bdaffc985fb172d46c31:perl: Allow perl to cross build and native build in a directory named "t" (2012-06-18 17:33:04 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contribkangkai/runqemu
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/runqemu
Quoted 6 lines
Kang Kai (1):
runqemu-internal: qemu fails to run on ext2 imagescripts/runqemu-internal | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Merged into OE-Core
Thanks
Sau!
(BTW, please use openembedded-core for items in meta)