From af5c53dbc066eb9f5133386dac0a7072eb4ecb13 Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Thu, 11 Mar 2021 07:48:14 +0000
Subject: [PATCH] Excludes in own variable, exclude backups

---
 arch-install.sh |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch-install.sh b/arch-install.sh
index 101652f..cb4b5f9 100644
--- a/arch-install.sh
+++ b/arch-install.sh
@@ -12,11 +12,11 @@
 
 # Partition disk will create a new partition on the rest of the empty free space
 printf "n\np\n\n\n\nw\n" | fdisk $DISK
-mkfs.ext4 "$DISK$PARTNO"
+mkfs.btrfs "$DISK$PARTNO"
 
 # Mount and install
-mount "$DISK$PARTNO" /mnt
-pacstrap /mnt base linux linux-firmware grub dhcpcd vim qemu-guest-agent
+mount -o compress=zstd "$DISK$PARTNO" /mnt
+pacstrap /mnt base linux linux-firmware grub dhcpcd vim qemu-guest-agent btrfs-progs
 genfstab -U /mnt >> /mnt/etc/fstab
 
 # Setup locale

--
Gitblit v1.9.3