From 0a2ce710ff7c7415c2ccf1eee81438fc05713634 Mon Sep 17 00:00:00 2001 From: simono41 Date: Thu, 3 May 2018 16:08:01 +0200 Subject: [PATCH] install-fix --- arch-install | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/arch-install b/arch-install index 14e50e6..4897e4d 100755 --- a/arch-install +++ b/arch-install @@ -1047,11 +1047,10 @@ then installation grubinstall - if [ "${version}" == "libre" ] || [ "${version}" == "manjaro" ]; then + if [ "${version}" == "libre" ]; then arch-chroot ${mountpoint} mkinitcpio -p linux-libre else arch-chroot ${mountpoint} mkinitcpio -P -c /etc/mkinitcpio.conf - #arch-chroot ${mountpoint} mkinitcpio -p linux-lts -c /etc/mkinitcpio-lts.conf fi echo "" if [ "${boot}" == "grub" ] @@ -1082,11 +1081,10 @@ elif [ "${Partition}" == "bios" ]; then installation grubinstall - if [ "${version}" == "libre" ] || [ "${version}" == "manjaro" ]; then + if [ "${version}" == "libre" ]; then arch-chroot ${mountpoint} mkinitcpio -p linux-libre else - arch-chroot ${mountpoint} mkinitcpio -p linux -c /etc/mkinitcpio.conf - #arch-chroot ${mountpoint} mkinitcpio -p linux-lts -c /etc/mkinitcpio-lts.conf + arch-chroot ${mountpoint} mkinitcpio -P linux -c /etc/mkinitcpio.conf fi arch-chroot ${mountpoint} grub-install --target=i386-pc --recheck ${device} arch-chroot ${mountpoint} grub-mkconfig -o /boot/grub/grub.cfg