summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2021-02-25 16:06:37 -0500
committerAndrew Cady <d@jerkface.net>2021-02-25 16:06:37 -0500
commita3ad623938f9f656135a28ba79bcfb2f89bcdae3 (patch)
treea74b9b73610e299449bb9b7c4be07e9962fa0bf3
parent61a047b623e86334546e510717dd68cb482f932b (diff)
Ignore failures from grub-install EFI run
The second call to grub-install, which installs an EFI bootloader, fails on this machine. No need to fail the whole process for that, since I am not using EFI.
-rwxr-xr-xsrc/partvi1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/partvi b/src/partvi
index 154e35f..4ee83de 100755
--- a/src/partvi
+++ b/src/partvi
@@ -399,3 +399,4 @@ do
399done 399done
400 400
401loudly $sudo eatmydata -- grub-install --target=i386-pc --recheck --boot-directory="$BOOT_DIR" "$whole" 401loudly $sudo eatmydata -- grub-install --target=i386-pc --recheck --boot-directory="$BOOT_DIR" "$whole"
402loudly $sudo eatmydata -- grub-install --target=x86_64-efi --recheck --removable --efi-directory="$EFI_DIR" "$whole" || true