Bug 8722 - Warnings when running hddimg in runqemu
Summary: Warnings when running hddimg in runqemu
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: deployment (show other bugs)
Version: 2.0
Hardware: All Multiple
: Medium normal
Target Milestone: 2.1 M3
Assignee: Patrick Ohly
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-11-24 16:55 UTC by Ross Burton
Modified: 2016-02-23 14:52 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ross Burton 2015-11-24 16:55:20 UTC
If I use runqemu to run a hddimg there's some warnings:

$ runqemu qemux86-64 /data/poky-master/tmp/deploy/images/intel-corei7-64/core-image-sato-base-intel-corei7-64.hddimg /data/poky-master/tmp/deploy/images/intel-corei7-64/bzImage-intel-corei7-64.bin nographic

readlink: missing operand
Try 'readlink --help' for more information.

[these happen as ROOTFS isn't set]

Running qemu-system-x86_64...
/data/poky-master/tmp/sysroots/x86_64-linux/usr/bin/qemu-system-x86_64 /data/poky-master/tmp/deploy/images/intel-corei7-64/core-image-sato-base-intel-corei7-64.hddimg -net nic,model=virtio -net tap,vlan=0,ifname=tap0,script=no,downscript=no -cpu core2duo -show-cursor -usb -usbdevice tablet -vga vmware -no-reboot -nographic -m 256 -serial mon:stdio -serial null
WARNING: Image format was not specified for '/data/poky-master/tmp/deploy/images/intel-corei7-64/core-image-sato-base-intel-corei7-64.hddimg' and probing guessed raw.
         Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
         Specify the 'raw' format explicitly to remove the restrictions.
Comment 1 Cristian Iorga 2015-11-27 16:03:31 UTC
Investigation started.
Comment 2 Saul Wold 2016-02-23 14:52:42 UTC
This appears to be fixed by Patrick, thanks

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=8215c42af1d2a2eae8e1538d5a8029bc1e221e5e