summaryrefslogtreecommitdiff
path: root/scripts/install
diff options
context:
space:
mode:
authorKim <kim.sidney@gmail.com>2018-11-07 19:38:49 +0100
committerGitHub <noreply@github.com>2018-11-07 19:38:49 +0100
commitad559f4eef05670b590bbc7f69baccbc76cad7f7 (patch)
treef70187259387c7cc60437e9682c054d47a761263 /scripts/install
parent679b908495be500854a05503589e96617603f4d9 (diff)
downloadvyatta-cfg-system-ad559f4eef05670b590bbc7f69baccbc76cad7f7.tar.gz
vyatta-cfg-system-ad559f4eef05670b590bbc7f69baccbc76cad7f7.zip
Add uefi install option. (#84)
* Add grub-efi package dependencies * Install grub-efi if we install on efi partition
Diffstat (limited to 'scripts/install')
-rwxr-xr-xscripts/install/install-postinst-new4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/install/install-postinst-new b/scripts/install/install-postinst-new
index 5e0f42a9..ee81dd58 100755
--- a/scripts/install/install-postinst-new
+++ b/scripts/install/install-postinst-new
@@ -126,6 +126,10 @@ install_grub () {
progress_indicator start
if [ -f "/tmp/efiparts.tmp" ]; then
+ # Remove grub-pc packages
+ dpkg -r grub-pc grub2
+ # Install grub-efi packages
+ dpkg -i /usr/share/vyos/packages/grub-efi*.deb
EFI_PARTITION=1
mkdir -p $grub_root/boot/efi
readarray parts < /tmp/efiparts.tmp