diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-09-15 09:43:18 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-09-15 09:43:18 +0200 |
commit | b16d6eef13f061962d020aa326c64b2450ecd6e6 (patch) | |
tree | 557c3956f1aeab53422c4c8e290dce83439b4c2f | |
parent | 1c7493e0f5d8b29b6e050edf76ae4e8bf8fd34cf (diff) |
Fixup
-rwxr-xr-x | bootstrap | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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. # |