summaryrefslogtreecommitdiff
path: root/backend/modules/install
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2014-05-08 18:16:26 +0200
committerAndreas Loibl <andreas@andreas-loibl.de>2014-05-08 18:16:26 +0200
commit513cbc26b177f52fa83d981a18cb7c3115351748 (patch)
treec40e5d4abd80ada28dc4116eae9406266fa9268a /backend/modules/install
parent1c9bf12be49094d1c3654bceca1f2bb17ce224b3 (diff)
downloadacritoxinstaller-513cbc26b177f52fa83d981a18cb7c3115351748.zip
acritoxinstaller-513cbc26b177f52fa83d981a18cb7c3115351748.tar.gz
grub EFI
Diffstat (limited to 'backend/modules/install')
-rw-r--r--backend/modules/install8
1 files changed, 8 insertions, 0 deletions
diff --git a/backend/modules/install b/backend/modules/install
index fc400da..4d63fec 100644
--- a/backend/modules/install
+++ b/backend/modules/install
@@ -24,6 +24,14 @@ function prepare_target()
send install_step prepare_target
mkdir -p /live/hdinstall
export TARGET=/live/hdinstall
+
+ # add EFI bootloader target to hdmap
+ if [ -d /sys/firmware/efi ]; then
+ efi_part="$(get_disk "$cfg_bootloader_target")"
+ if [ "$efi_part" ]; then
+ hdmap_set "$efi_part:/boot/efi::auto"
+ fi
+ fi
}
# Synopsis: chroot_it <...>