Major version update

This commit is contained in:
natemaia 2018-12-17 22:19:08 -08:00
parent d5174bbab5
commit 6613c71132

View File

@ -8,7 +8,7 @@
# Some ideas and code has been taken from other installers
# AIF, Cnichi, Calamares, The Arch Wiki.. Credit where credit is due
VER="1.7.60" # Installer version
VER="1.8.0" # Installer version
DIST="ArchLabs" # Installer distributor
MNT="/mnt" # Installer mountpoint
ERR="/tmp/errlog" # error log used internally
@ -2157,14 +2157,12 @@ setup_grub()
fi
# the mount mess is needed for os-prober to work properly in the chroot
BCMDS[grub]="${BCMDS[grub]} --efi-directory=${BMNTS[UEFI-grub]} --bootloader-id=$DIST &&
mkdir -p /run/udev &&
mkdir -p /run/lvm &&
BCMDS[grub]="mkdir -p /run/udev && mkdir -p /run/lvm &&
mount --bind /hostrun/udev /run/udev &&
mount --bind /hostrun/lvm /run/lvm &&
${BCMDS[grub]} --efi-directory=${BMNTS[UEFI-grub]} --bootloader-id=$DIST &&
grub-mkconfig -o /boot/grub/grub.cfg &&
umount /run/udev &&
umount /run/lvm"
umount /run/udev && umount /run/lvm"
fi
return 0
@ -2288,7 +2286,7 @@ install_bootloader()
prerun_$BOOTLDR
printf "\nInstalling and setting up $BOOTLDR in ${BMNTS[$SYS-$BOOTLDR]}\n\n"
chrun "${BCMDS[$BOOTLDR]}"
chrun "${BCMDS[$BOOTLDR]}" 2>$ERR
echeck "${BCMDS[$BOOTLDR]}"
if [[ -d $MNT/hostrun ]]; then