Skip to content

Commit 163c1e5

Browse files
authored
Merge pull request #624 from cgwalters/install-drop-aarch64-reserved
install/baseline: Drop aarch64 reserved partition
2 parents 63d3e3e + c6c6d34 commit 163c1e5

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

lib/src/install/baseline.rs

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,6 @@ pub(crate) fn install_create_rootfs(
246246
sgdisk.cmd.arg("-Z");
247247
sgdisk.cmd.arg(device.path());
248248
sgdisk.cmd.args(["-U", "R"]);
249-
#[allow(unused_assignments)]
250249
if cfg!(target_arch = "x86_64") {
251250
// BIOS-BOOT
252251
partno += 1;
@@ -258,15 +257,7 @@ pub(crate) fn install_create_rootfs(
258257
Some("21686148-6449-6E6F-744E-656564454649"),
259258
);
260259
} 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
270261
} else {
271262
anyhow::bail!("Unsupported architecture: {}", std::env::consts::ARCH);
272263
}

0 commit comments

Comments
 (0)