aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-09-15 09:43:18 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-09-15 09:43:18 +0200
commitb16d6eef13f061962d020aa326c64b2450ecd6e6 (patch)
tree557c3956f1aeab53422c4c8e290dce83439b4c2f
parent1c7493e0f5d8b29b6e050edf76ae4e8bf8fd34cf (diff)
Fixup
-rwxr-xr-xbootstrap10
1 files changed, 5 insertions, 5 deletions
diff --git a/bootstrap b/bootstrap
index 054c291..488a359 100755
--- a/bootstrap
+++ b/bootstrap
@@ -655,12 +655,12 @@ if [ "$stage" -le "5" ]; then
root_dirs="build dev etc mnt root usr var"
root_links="bin sbin lib lib32 lib64"
- info "generating buildos-rootfs.cpio.gz..."
+ info "generating buildos-rootfs.cpio.xz..."
cd "$root"
sudo find $root_dirs $root_links -print0 | \
sudo cpio --null -o -H newc | \
- xz -9 > "$owd/buildos-rootfs.cpio.gz"
+ xz -9 > "$owd/buildos-rootfs.cpio.xz"
cd "$owd"
subvol_snapshot -r "$root" "$root-5"
@@ -687,11 +687,11 @@ if [ "$stage" -le "6" ]; then
sudo ln -sf "$root/usr/lib/systemd/system/buildos.service" \
"$root/etc/systemd/system/multi-user.target.wants/buildos.service"
- info "generating buildos-init.cpio.gz..."
+ info "generating buildos-init.cpio.xz..."
cd "$root"
sudo cpio -o -H newc <<EOF | \
- xz -9 > "$owd/buildos-init.cpio.gz"
+ xz -9 > "$owd/buildos-init.cpio.xz"
usr/lib/os-release
init
usr/sbin/buildos
@@ -700,7 +700,7 @@ etc/systemd/system/multi-user.target.wants/buildos.service
EOF
cd "$owd"
- cat buildos-rootfs.cpio.gz buildos-init.cpio.gz >"buildos-initrd-$arch"
+ cat buildos-rootfs.cpio.xz buildos-init.cpio.xz >"buildos-initrd-$arch"
# Copy the kernel image next to the initramfs for convenience.
#