Skip to content

Commit

Permalink
feat(dracut)!: improve size by zstd and --aggressive-strip
Browse files Browse the repository at this point in the history
  • Loading branch information
madonuko committed Sep 19, 2024
1 parent ede5852 commit 4992b46
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,8 @@ pub struct IsoBuilder {

const DR_MODS: &str = "livenet dmsquash-live dmsquash-live-ntfs convertfs pollcdrom qemu qemu-net";
const DR_OMIT: &str = "";
const DR_ARGS: &str = "--xz --no-early-microcode";
const DR_ARGS: &str =
"--xz --no-early-microcode --strip --aggressive-strip --compress=zstd -20 -q -T0";

impl IsoBuilder {
fn dracut(&self, root: &Path) -> Result<()> {
Expand Down

0 comments on commit 4992b46

Please sign in to comment.