From 1e431b3fe0bd829d8b5dbe65cbae17c93753aa2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Georges=20Dup=C3=A9ron?= Date: Fri, 27 Jul 2018 21:19:51 +0200 Subject: [PATCH] gdisk requires an extra confirmation step on windows --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b2f3308..cfe341d 100644 --- a/Makefile +++ b/Makefile @@ -281,7 +281,8 @@ ${os_filename}: build/os.32k build/os.iso build/os.fat12 build/os.zip.adjusted \ # * add GPT partition #1 to the hybrid MBR, do Not put the EFI partition first, # * MBR partition type=0x01, bootable=Yes, do Not add extra partitions, # * Print GPT, print MBR, Write, Proceed. - (printf "d\nx\nl\n1\nm\nn\n1\n${sectors_fat12_start}\n${sectors_fat12_size}\n0700\n"; \ + (if test "$$(uname -o)" = "Cygwin"; then printf "Y\n"; fi; \ + printf "d\nx\nl\n1\nm\nn\n1\n${sectors_fat12_start}\n${sectors_fat12_size}\n0700\n"; \ printf "r\nh\n"; \ printf "1\nN\n"; \ printf "01\nY\nN\n"; \