]> xenbits.xensource.com Git - people/liuw/osstest.git/commitdiff
Debian: Preseed a EFI system partition during host install
authorIan Campbell <ian.campbell@citrix.com>
Wed, 20 May 2015 15:52:38 +0000 (16:52 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 26 Jun 2015 15:39:03 +0000 (16:39 +0100)
AIUI the runes used will only result in an ESP if the system was
booted via UEFI. IOW I don't think there should be any change for
existing systems.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Osstest.pm
Osstest/Debian.pm

index 142ea496ec4f569cd745aa474b4bb9413b543d99..bf901536ef81d871f0662ee3a0e5608c182e3308 100644 (file)
@@ -68,6 +68,7 @@ our %c = qw(
     TestHostKeypairPath id_rsa_osstest
     HostProp_GenEtherPrefixBase 5e:36:0e:f5
 
+    HostDiskESP    300
     HostDiskBoot   300
     HostDiskRoot 10000
     HostDiskSwap  2000
index 929d22e86aac87421194b3ab444aebd836b75848..ded8575a788efcf92f49c71420335ad4acb927e3 100644 (file)
@@ -987,6 +987,12 @@ d-i partman-basicmethods/method_only boolean false
 
 d-i partman-auto/expert_recipe string                                  \\
        boot-root ::                                                    \\
+               $c{HostDiskESP} 60 $c{HostDiskESP} free                 \\
+                       \$iflabel{ gpt }                                \\
+                       reusemethod{ }                                  \\
+                       method{ efi }                                   \\
+                       format{ }                                       \\
+               .                                                       \\
                $c{HostDiskBoot} 50 $c{HostDiskBoot} ext3               \\
                        \$primary{ } \$bootable{ }                      \\
                        method{ format } format{ }                      \\