[RFC] remove x86 qemu images

Alberto Bursi bobafetthotmail at gmail.com
Mon Dec 7 18:44:58 EST 2020



On 06/12/20 10:06, Paul Spooren wrote:
> Hi,
> 
> openwrt.git includes an old version of QEMU (0.14 vs 5.1.0 in 
> packages.git) only to convert x86 images to vdi and vmdk. Is there 
> anyone actively using the vanilla x86 QEMU images from the upstream 
> servers or can can we remove that "feature"?
> 
> This would allow to remove tools/qemu and create less files per build.
> 
> Best,
> Paul
> 
> 
> 
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Could this be worked around by requiring the tool to be installed on the 
host running the image builder or build system?

I mean I understand the need for reproducible builds but does using a 
host tool to convert a disk image to a different format produce 
different results? I don't think it's the case.

If the option is selected and no such tool is installed, the build 
system can error out or something.

The commands are simple, if qemu is installed.

qemu-img -f raw -O vmdk /data/source.img /data/output.vmdk -p

qemu-img -f raw -O vdi /data/source.img /data/output.vdi -p




More information about the openwrt-devel mailing list