Skip to content

Commit

Permalink
Merge pull request #624 from cgwalters/install-drop-aarch64-reserved
Browse files Browse the repository at this point in the history
install/baseline: Drop aarch64 reserved partition
  • Loading branch information
jeckersb committed Jun 21, 2024
2 parents 63d3e3e + c6c6d34 commit 163c1e5
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions lib/src/install/baseline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,6 @@ pub(crate) fn install_create_rootfs(
sgdisk.cmd.arg("-Z");
sgdisk.cmd.arg(device.path());
sgdisk.cmd.args(["-U", "R"]);
#[allow(unused_assignments)]
if cfg!(target_arch = "x86_64") {
// BIOS-BOOT
partno += 1;
Expand All @@ -258,15 +257,7 @@ pub(crate) fn install_create_rootfs(
Some("21686148-6449-6E6F-744E-656564454649"),
);
} else if cfg!(target_arch = "aarch64") {
// reserved
partno += 1;
sgdisk_partition(
&mut sgdisk.cmd,
partno,
"0:+1M",
"reserved",
Some("8DA63339-0007-60C0-C436-083AC8230908"),
);
// Only UEFI here for now
} else {
anyhow::bail!("Unsupported architecture: {}", std::env::consts::ARCH);
}
Expand Down

0 comments on commit 163c1e5

Please sign in to comment.