Verified Commit ecce9c40 authored by Sven-Hendrik Haase's avatar Sven-Hendrik Haase
Browse files

Compress initramfs with xz

In my tests this gains us about 10MB.
parent c16b3731
Pipeline #1945 passed with stages
in 29 minutes and 54 seconds
......@@ -86,6 +86,9 @@ function postinstall() {
mkswap "${MOUNT}/swap/swapfile"
echo -e "/swap/swapfile none swap defaults 0 0" >>"${MOUNT}/etc/fstab"
echo "COMPRESSION=\"xz\"" >>"${MOUNT}/etc/mkinitcpio.conf"
arch-chroot "${MOUNT}" /usr/bin/mkinitcpio -p linux
echo "archlinux" >"${MOUNT}/etc/hostname"
echo "KEYMAP=us" >"${MOUNT}/etc/vconsole.conf"
ln -sf /var/run/systemd/resolve/resolv.conf "${MOUNT}/etc/resolv.conf"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment