make sure efi workaround doesn't overwrite normal refind

This commit is contained in:
Ward Nakchbandi (CosmicFusion) 2024-09-04 10:58:57 +02:00
parent 122e3545e5
commit 2fe097a0ff

View File

@ -45,6 +45,7 @@ apt install -y /var/cache/apt/archives/pika-refind-theme*.deb /var/cache/apt/arc
# EFI workaround for MSI
mkdir -p /boot/efi/EFI/BOOT
cp -vf /boot/efi/EFI/refind/refind_x64.efi /boot/efi/EFI/BOOT/BOOTX64.EFI
refind-install
# Remove installer from installed system
echo 'LIVE_REMOVE' | nc -U $SOCKET_PATH || true
apt remove live-boot pika-installer-gtk4 -y || true