Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anaconda installer images size on osbuild generated images. #409

Open
mmartinv opened this issue Jan 29, 2024 · 2 comments
Open

Anaconda installer images size on osbuild generated images. #409

mmartinv opened this issue Jan 29, 2024 · 2 comments

Comments

@mmartinv
Copy link
Contributor

Comparing the sizes of the Anaconda installer images on regular Fedora releases vs IOT releases we can observe a huge difference

curl -sL https://kojipkgs.fedoraproject.org/compose/39/latest-Fedora-39/compose/Everything/x86_64/os/images/install.img -o ./fedora-install.img
curl -sL https://kojipkgs.fedoraproject.org/compose/iot/Fedora-IoT-39-20240118.0/compose/IoT/x86_64/os/images/install.img -o ./fedora-iot-install.img
du -sh fedora-i*
545M	fedora-install.img
1,2G	fedora-iot-install.img

Is that difference justified?

@bcl
Copy link
Contributor

bcl commented Jan 30, 2024

The 'Everything' install.img is created using a different process -- Lorax removes a large pile of unneeded files from the root filesystem in order to save space on the boot.iso (which is what that install.img is from). See https://github.com/weldr/lorax/blob/master/share/templates.d/99-generic/runtime-cleanup.tmpl

@mmartinv
Copy link
Contributor Author

Thanks for the info and the link!

We are in the process of migrating all the artifacts generation to osbuild but there are some missing pieces like the netboot bits (Please see #394). We are considering the creation of a new image type to provided them and while investigating the missing bits this size difference caught my eye, that's why I opened this issue. It might worth it to discuss whether it makes sense (or not) to provide the missing bits in #394.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants