Our release tarballs are huge - qemu-7.0.0.tar.xz has a size of 119 MiB. If you look at the contents, more than half of the size is used for the edk2 sources that we ship along to provide the sources for the firmware binaries, too. 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.
Fortunately, edk2 has a permissive BSD license, so we are not forced to distribute the sources for this. Thus instead of packaging the whole edk2 source tree in our tarballs, let's just do the bare minimum and provide the license information and a pointer to where the users can download the edk2 sources instead. This decreases the size of our tarballs already to the half of the original size. Some few additional MiBs can be saved by omitting the sources of the skiboot firmware, which has a permissive license, too (see second patch). The final patch is rather cosmetics only - it drops some additional .yml and .git files from the tarball that are of no use for the normal user without the corresponding git repository. Thomas Huth (3): scripts/make-release: Do not include the edk2 sources in the tarball anymore scripts/make-release: Do not include the skiboot sources in the tarball anymore scripts/make-release: Remove CI yaml and more git files from the tarball scripts/make-release | 46 ++++++++++++++++++++++++++++++++++++-------- 1 file changed, 38 insertions(+), 8 deletions(-) -- 2.31.1