aboutsummaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-09-15 09:41:24 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-09-15 09:41:24 +0200
commit1c7493e0f5d8b29b6e050edf76ae4e8bf8fd34cf (patch)
tree86f75ee18080517c005a357fa67e04cb3951cca5 /bootstrap
parent860b1892a0e9c3b8f33c1428c6f38546995e5d11 (diff)
Switch to xz instead of gzip for initrd compression
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap b/bootstrap
index b32a931..054c291 100755
--- a/bootstrap
+++ b/bootstrap
@@ -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