Skip to content

Live ISO optimizations: faster build and smaller ISO#1990

Merged
lslezak merged 2 commits intomasterfrom
live_iso_optimizations
Feb 12, 2025
Merged

Live ISO optimizations: faster build and smaller ISO#1990
lslezak merged 2 commits intomasterfrom
live_iso_optimizations

Conversation

@lslezak
Copy link
Contributor

@lslezak lslezak commented Feb 12, 2025

All these changes make the build one minute faster (on my local workstation) and the resulting ISO is 34MB smaller (on x86_64, might be different elsewhere).

Improvements

  • Do not print details about removed kernel drivers and firmware files during build, this speeds up the build significantly
    (~1 minute faster build) and avoids huge build log.
  • Uncompress the kernel drivers, no need to compress them twice (they are compressed by the squashfs as well). Compressing all drivers together in the image is more effective than compressing several thousands individual files. This makes the image about 33MB smaller (on x86_64).
  • Hardlink the duplicate licenses, makes the ISO ~1MB smaller

- Do not print details about removed kernel drivers and firmware
  files during build, this speeds up the build significantly
  (~1 minute faster build) and avoids huge build log.
- Uncompress the kernel drivers, no need to compress them twice
  (they are compressed by the squashfs as well). Compressing
  all drivers together in the image is more effective than
  compressing several thousands individual files.
  This makes the image about 33MB smaller (on x86_64).
- Hardlink the duplicate licenses, makes the ISO ~1MB smaller
Copy link
Contributor

@mvidner mvidner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Co-authored-by: Martin Vidner <mvidner@suse.cz>
@lslezak lslezak merged commit 9d7775d into master Feb 12, 2025
3 checks passed
@lslezak lslezak deleted the live_iso_optimizations branch February 12, 2025 13:34
@imobachgs imobachgs mentioned this pull request Feb 26, 2025
imobachgs added a commit that referenced this pull request Feb 26, 2025
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

Successfully merging this pull request may close these issues.

2 participants