26 lines
697 B
Diff
26 lines
697 B
Diff
From: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
|
|
Date: Tue, 18 Jul 2017 17:21:09 +0800
|
|
Subject: kylin-uefi
|
|
|
|
---
|
|
scripts/build/lb_binary_iso | 6 ++++++
|
|
1 file changed, 6 insertions(+)
|
|
|
|
diff --git a/scripts/build/lb_binary_iso b/scripts/build/lb_binary_iso
|
|
index f517168..9bcc7ac 100755
|
|
--- a/scripts/build/lb_binary_iso
|
|
+++ b/scripts/build/lb_binary_iso
|
|
@@ -159,6 +159,12 @@ esac
|
|
# GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -m ${GENISOIMAGE_EXCLUDE}"
|
|
#fi
|
|
|
|
+# kylin uefi
|
|
+if test -f "binary/images/efiboot.img"
|
|
+then
|
|
+ GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -eltorito-alt-boot -e images/efiboot.img -no-emul-boot"
|
|
+fi
|
|
+
|
|
if [ "${LB_BOOTLOADER}" = "grub2" ]
|
|
then
|
|
|