File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -246,7 +246,6 @@ pub(crate) fn install_create_rootfs(
246
246
sgdisk. cmd . arg ( "-Z" ) ;
247
247
sgdisk. cmd . arg ( device. path ( ) ) ;
248
248
sgdisk. cmd . args ( [ "-U" , "R" ] ) ;
249
- #[ allow( unused_assignments) ]
250
249
if cfg ! ( target_arch = "x86_64" ) {
251
250
// BIOS-BOOT
252
251
partno += 1 ;
@@ -258,15 +257,7 @@ pub(crate) fn install_create_rootfs(
258
257
Some ( "21686148-6449-6E6F-744E-656564454649" ) ,
259
258
) ;
260
259
} else if cfg ! ( target_arch = "aarch64" ) {
261
- // reserved
262
- partno += 1 ;
263
- sgdisk_partition (
264
- & mut sgdisk. cmd ,
265
- partno,
266
- "0:+1M" ,
267
- "reserved" ,
268
- Some ( "8DA63339-0007-60C0-C436-083AC8230908" ) ,
269
- ) ;
260
+ // Only UEFI here for now
270
261
} else {
271
262
anyhow:: bail!( "Unsupported architecture: {}" , std:: env:: consts:: ARCH ) ;
272
263
}
You can’t perform that action at this time.
0 commit comments