On 24 May 2012 03:45, Michael Hope michael.hope@linaro.org wrote:
Hi Peter, Riku. I've written up a page covering the KVM integration work done this quarter at: https://wiki.linaro.org/WorkingGroups/ToolChain/Outputs/KVMIntegration
Could you review it please, including the instructions at: https://wiki.linaro.org/WorkingGroups/ToolChain/Outputs/KVMIntegration/Quick...
The quickstart instructions don't work for me:
$ linaro-media-create --image-file=host.img --image-size=1.9G --output-directory=host --dev fastmodel --hwpack hwpack_linaro*kvm-host* --hwpack-force-yes --binary linaro-precise-dev* [snip lots of output] Done ------------------------------------------------------------ proc has been unmounted Traceback (most recent call last): File "/usr/bin/linaro-media-create", line 183, in <module> args.should_format_rootfs, args.should_align_boot_part) File "/usr/lib/pymodules/python2.7/linaro_image_tools/media_create/partitions.py", line 134, in setup_partitions image_size_in_bytes = convert_size_to_bytes(image_size) File "/usr/lib/pymodules/python2.7/linaro_image_tools/media_create/partitions.py", line 487, in convert_size_to_bytes real_size = int(size[:-1]) ValueError: invalid literal for int() with base 10: '1.9'
...I guess it doesn't like the non-integer image-size option? (also, is there an --image-size which avoids the need for the extra 'dd' command ?)
-- PMM