summaryrefslogtreecommitdiff
path: root/scripts/install
diff options
context:
space:
mode:
authorKim Hagen <kim.sidney@gmail.com>2019-06-18 13:55:44 +0200
committerKim Hagen <kim.sidney@gmail.com>2019-06-18 13:55:44 +0200
commit444975cec833fd6788c89e4ce47475cce948cf87 (patch)
treee7f98b57c88d79f68d0d06201a52c66e026b047e /scripts/install
parent97985e233201aaee08aeba39abcec5188edc769e (diff)
downloadvyatta-cfg-system-444975cec833fd6788c89e4ce47475cce948cf87.tar.gz
vyatta-cfg-system-444975cec833fd6788c89e4ce47475cce948cf87.zip
[ installer ] T1446: on installing with efi skip the
xen extra checks, they use dmidecode which will not work in efi mode Get the UUID of the correct partition based on the install type (bios/efi)
Diffstat (limited to 'scripts/install')
-rwxr-xr-xscripts/install/install-postinst-new6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/install/install-postinst-new b/scripts/install/install-postinst-new
index ae723627..85eba45f 100755
--- a/scripts/install/install-postinst-new
+++ b/scripts/install/install-postinst-new
@@ -263,8 +263,10 @@ fi
# Install grub
install_grub
-# Perform additional configuration if installing on Xen
-check_for_xen_extras
+if [ ! -d /sys/firmware/efi ]; then
+ # Perform additional configuration if installing on Xen
+ check_for_xen_extras
+fi
#
# Only start the mdadm daemon if we have the root filesystem running