From e0bfa4919f857bc198afc8ae14a714bdbd6cc419 Mon Sep 17 00:00:00 2001 From: Bohan Yang Date: Tue, 21 Sep 2021 22:32:20 +0800 Subject: [PATCH] Always add bios_grub --- debi.sh | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/debi.sh b/debi.sh index dd733c5..ed35abe 100755 --- a/debi.sh +++ b/debi.sh @@ -607,6 +607,11 @@ EOF $save_preseed << 'EOF' d-i partman-auto/expert_recipe string \ naive :: \ + 1 1 8 free \ + $iflabel{ gpt } \ + $reusemethod{ } \ + method{ biosgrub } \ + . \ EOF if [ "$efi" = true ]; then $save_preseed << 'EOF' @@ -616,14 +621,6 @@ EOF method{ efi } \ format{ } \ . \ -EOF - else - $save_preseed << 'EOF' - 1 1 1 free \ - $iflabel{ gpt } \ - $reusemethod{ } \ - method{ biosgrub } \ - . \ EOF fi