Commit aa2320bb authored by Anton Midyukov's avatar Anton Midyukov

tar2fs: grub-install --uefi-secureboot for all platforms

Use a prebuilt grub image for EFI, creating BOOT/EFI/grub.cfg
parent 182c4d2c
...@@ -424,15 +424,15 @@ grub-efi) ...@@ -424,15 +424,15 @@ grub-efi)
;; ;;
aarch64) aarch64)
chroot "$ROOTFS" grub-install --target=arm64-efi --recheck \ chroot "$ROOTFS" grub-install --target=arm64-efi --recheck \
--removable --no-uefi-secure-boot --removable --uefi-secure-boot
;; ;;
armh) armh)
chroot "$ROOTFS" grub-install --target=arm-efi --recheck \ chroot "$ROOTFS" grub-install --target=arm-efi --recheck \
--removable --no-uefi-secure-boot --removable --uefi-secure-boot
;; ;;
riscv64) riscv64)
chroot "$ROOTFS" grub-install --target=riscv64-efi --recheck \ chroot "$ROOTFS" grub-install --target=riscv64-efi --recheck \
--removable --no-uefi-secure-boot --removable --uefi-secure-boot
esac esac
sed -i '/GRUB_DISABLE_OS_PROBER=true/d' "$ROOTFS/etc/sysconfig/grub2" sed -i '/GRUB_DISABLE_OS_PROBER=true/d' "$ROOTFS/etc/sysconfig/grub2"
;; ;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment