aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2022-01-25 10:42:12 -0300
committerSilvio Rhatto <rhatto@riseup.net>2022-01-25 10:42:12 -0300
commit1ff6a8894bbbd8c5b86c5a8b740c2d257dd00b67 (patch)
tree2ee14280889e0f3ae0597bc64b086e83122e8a95 /share
parentf2c646e88e4e67683f32c6ee4ddd18915e0194c6 (diff)
downloadhydra-1ff6a8894bbbd8c5b86c5a8b740c2d257dd00b67.tar.gz
hydra-1ff6a8894bbbd8c5b86c5a8b740c2d257dd00b67.tar.bz2
Fix: provision: SecureBoot fixes
Diffstat (limited to 'share')
-rwxr-xr-xshare/hydractl/provision10
1 files changed, 5 insertions, 5 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision
index 8a15462..a088d7e 100755
--- a/share/hydractl/provision
+++ b/share/hydractl/provision
@@ -651,15 +651,15 @@ if [ "$grub" == "y" ]; then
grub_arch="$arch"
fi
- if [ "$secure_boot" == "y" ]; then
- grub_arch="${grub_arch}-signed"
- fi
-
if [ "$uefi_update_nvram" == "n" ]; then
grub_uefi_nvram="--no-nvram"
fi
- $APT_INSTALL grub-efi-${arch} -y
+ if [ "$secure_boot" == "y" ]; then
+ $APT_INSTALL grub-efi-${arch}-signed -y
+ else
+ $APT_INSTALL grub-efi-${arch} -y
+ fi
# Make UEFI partition available
hydra_sudo_run mkdir $WORK/boot/efi