diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-09-15 09:41:24 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-09-15 09:41:24 +0200 |
commit | 1c7493e0f5d8b29b6e050edf76ae4e8bf8fd34cf (patch) | |
tree | 86f75ee18080517c005a357fa67e04cb3951cca5 /bootstrap | |
parent | 860b1892a0e9c3b8f33c1428c6f38546995e5d11 (diff) |
Switch to xz instead of gzip for initrd compression
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -660,7 +660,7 @@ if [ "$stage" -le "5" ]; then cd "$root" sudo find $root_dirs $root_links -print0 | \ sudo cpio --null -o -H newc | \ - gzip -9 > "$owd/buildos-rootfs.cpio.gz" + xz -9 > "$owd/buildos-rootfs.cpio.gz" cd "$owd" subvol_snapshot -r "$root" "$root-5" @@ -691,7 +691,7 @@ if [ "$stage" -le "6" ]; then cd "$root" sudo cpio -o -H newc <<EOF | \ - gzip -9 > "$owd/buildos-init.cpio.gz" + xz -9 > "$owd/buildos-init.cpio.gz" usr/lib/os-release init usr/sbin/buildos |