aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorawy <awy@tutamail.com>2024-08-25 17:56:31 +0300
committerawy <awy@tutamail.com>2024-08-25 17:56:31 +0300
commit57afaa33df69609861c884394229be2f05ca5efe (patch)
tree12051fdf4ecd6e171fbebb5852d9cd07fa45e026
parent849b2717faf576939460c1431752727be263c522 (diff)
fstab fixes
-rwxr-xr-xinstall.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/install.sh b/install.sh
index fd33e6c..fb516fc 100755
--- a/install.sh
+++ b/install.sh
@@ -45,8 +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)
+ UUID_ROOT=$(blkid -s UUID -o value /dev/$root_drive)
+ UUID_BOOT=$(blkid -s UUID -o value /dev/$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