artix

posix artix installation script
git clone https://git.awy.one/artix.git
Log | Files | Refs | README | LICENSE

commit 81632f45f39a9ed076197692b74fa88973b214f2
parent 108eb939bf74b776a64dbb34b3987bd669e148b6
Author: awy <awy@awy.one>
Date:   Mon, 23 Jun 2025 16:24:58 +0300

xfs fs

Diffstat:
Minstall.sh | 13++++---------
1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/install.sh b/install.sh @@ -8,14 +8,14 @@ diskpart() mkfs.fat -F32 /dev/"$bootdrive" case $encryption in 0) - mkfs.ext4 -F /dev/"$rootdrive" + mkfs.xfs /dev/"$rootdrive" mount /dev/"$rootdrive" /mnt ;; 1) printf "%s" "$cryptpass" | cryptsetup luksFormat /dev/"$rootdrive" -d - printf "%s" "$cryptpass" | cryptsetup open /dev/"$rootdrive" cryptlvm -d - - mkfs.btrfs /dev/mapper/cryptlvm - mount -o compress=zstd /dev/mapper/cryptlvm /mnt + mkfs.xfs /dev/mapper/cryptlvm + mount /dev/mapper/cryptlvm /mnt ;; esac mkdir /mnt/boot @@ -157,12 +157,7 @@ UUID_ROOT=$(blkid -s UUID -o value /dev/"$rootdrive") UUID_BOOT=$(blkid -s UUID -o value /dev/"$bootdrive") echo "UUID=$UUID_BOOT /boot vfat defaults,noatime 0 2" > /mnt/etc/fstab - -if [ "$encryption" = 1 ]; then - echo "UUID=$UUID_ROOT / btrfs defaults,noatime,compress=zstd 0 1" >> /mnt/etc/fstab -else - echo "UUID=$UUID_ROOT / ext4 defaults,noatime 0 1" >> /mnt/etc/fstab -fi +echo "UUID=$UUID_ROOT / xfs defaults,noatime 0 1" >> /mnt/etc/fstab export diskdrive export rootdrive