On Mon, Nov 28, 2022 at 10:25:50AM +0100, Thomas Huth wrote: > Our release tarballs are huge - qemu-7.2.0-rc2.tar.xz has a size of 116 > MiB. If you look at the contents, approx. 80% of the size is used for the > firmware sources that we ship along to provide the sources for the ROM > binaries. This feels very wrong, why do we urge users to download such > huge tarballs while 99.9% of them never will rebuilt the firmware sources? > We were also struggeling a bit in the past already with server load and > costs, so we should really try to decrease the size of our release tarballs > to a saner level.
The main reason for shipping the source in the tarball was to guarantee license compliance for anyone who is distributing qemu release tarballs, including ourselves. Splitting off the firmware source, but not the firmware binaries, means people are now at risk of not complying with the license but failing to provide complete and corresponding source. Technically the license requirement is only critical for GPL licenses ROMs, but as good practice we do it for all our ROMs. > So let's split the firmware sources into a separate tarball to decrease > the size of the main QEMU sources tarball a lot (which should help us > to safe a lot of traffic on the server). With my distro maintainer hat I would rather QEMU ship neither the ROM source, nor the ROM binaries. Still the binaries are convenient for people doing their own QEMU builds from source. How about shipping two distinct options: qemu-x.y.z.tar.xz (QEMU source only) qemu-bundled-x.y.z.tar.xz (QEMU source + bundled ROM binaries + ROM sources) though I'm not sure how much of an impact that will have on the download traffic - depends what is causing the traffic. Another option is qemu-x.y.z.tar.xz (QEMU source only) qemu-roms-x.y.z.tar.xz (bundled ROM binaries + ROM sources) though this is slightly more inconvenient for users, and there's the risk they'll use new QEMU with old ROMs. With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|