From 71c1550e14b45e74fae5d21ed578fd452f0c3bcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Tue, 6 Oct 2020 09:34:35 +0200 Subject: arch-fix-1.sh : check lib links, call mkinitcpio --- arch-install/arch-fix-1.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch-install/arch-fix-1.sh b/arch-install/arch-fix-1.sh index 8eea94f..1f56a40 100755 --- a/arch-install/arch-fix-1.sh +++ b/arch-install/arch-fix-1.sh @@ -1,5 +1,15 @@ #! /bin/bash +echo "LINKS" +for l in /lib /lib64 /usr/lib64 +do + if [ "$(readlink -f $l)" != "/usr/lib" ] + then + echo "must manually fix : $l (ln -s /usr/lib $l)" + exit 1 + fi +done + echo "PACMAN" pacman-db-upgrade pacman -Syu @@ -8,3 +18,4 @@ pacman -S --noconfirm grub efibootmgr mkinitcpio linux linux-firmware echo "GRUB" grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=grub_uefi --recheck grub-mkconfig -o /boot/grub/grub.cfg +mkinitcpio -p linux -- cgit v1.1-2-g2b99