build-buildroot: fix qemu-img -T order

Fix #42
This commit is contained in:
Ciro Santilli 六四事件 法轮功
2018-11-20 00:00:02 +00:00
parent 35684b1b7e
commit 034bd3600f

View File

@@ -558,10 +558,10 @@ def raw_to_qcow2(prebuilt=False, reverse=False):
common.run_cmd( common.run_cmd(
[ [
qemu_img_executable, common.Newline, qemu_img_executable, common.Newline,
'convert', common.Newline,
] + ] +
disable_trace + disable_trace +
[ [
'convert', common.Newline,
'-f', infmt, common.Newline, '-f', infmt, common.Newline,
'-O', outfmt, common.Newline, '-O', outfmt, common.Newline,
infile, common.Newline, infile, common.Newline,