commit ae0d19236dcdb9807e69b4515d9d684cb0611133
parent 2be322db747de1490df3f9298204f039760b2cb5
Author: awy <awy@tutamail.com>
Date: Wed, 21 Aug 2024 14:27:31 +0300
fixes
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/install.sh b/install.sh
@@ -32,9 +32,6 @@ mount /dev/$root_drive /mnt
mkdir /mnt/boot
mkdir /mnt/home
-UUID_ROOT=$(blkid -s UUID -o value $root_drive)
-UUID_BOOT=$(blkid -s UUID -o value $boot_drive)
-
if [ "$_kernelflag" -eq 1 ]; then
mkdir /mnt/boot/efi
mount /dev/$boot_drive /mnt/boot/efi
@@ -48,6 +45,8 @@ elif [ "$_kernelflag" -eq 2 ]; then
rc-service ntpd start
pacman -Sy --confirm
basestrap /mnt base openrc seatd-openrc udev intel-ucode
+ UUID_ROOT=$(blkid -s UUID -o value $root_drive)
+ UUID_BOOT=$(blkid -s UUID -o value $boot_drive)
echo "UUID=$UUID_BOOT /boot vfat defaults,noatime 0 2" > /mnt/etc/fstab
echo "UUID=$UUID_ROOT / ext4 defaults,noatime 0 1" >> /mnt/etc/fstab
cp post_chroot.sh /mnt