summaryrefslogtreecommitdiff
path: root/scripts/install/install-postinst-new
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2019-06-30 20:25:03 +0200
committerDaniil Baturin <daniil@baturin.org>2019-06-30 20:25:03 +0200
commitcb83db1758822dbd16fa712aa6aab7005d51b154 (patch)
tree565026f8c2ed14f26f9a4bfda59f2aba1b462faf /scripts/install/install-postinst-new
parent842f2974d483bb37fc32b5766cb4edb5f21ec2fe (diff)
parent444975cec833fd6788c89e4ce47475cce948cf87 (diff)
downloadvyatta-cfg-system-cb83db1758822dbd16fa712aa6aab7005d51b154.tar.gz
vyatta-cfg-system-cb83db1758822dbd16fa712aa6aab7005d51b154.zip
Merge branch 'current' of https://github.com/vyos/vyatta-cfg-system into current
Diffstat (limited to 'scripts/install/install-postinst-new')
-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