From b16d6eef13f061962d020aa326c64b2450ecd6e6 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 15 Sep 2022 09:43:18 +0200 Subject: Fixup --- bootstrap | 10 +++++----- 1 file 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 < "$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. # -- cgit v1.1