Skip to content

Commit

Permalink
Merge pull request #636 from sacsant/ppc64le
Browse files Browse the repository at this point in the history
Add support for ppc64le architecture
  • Loading branch information
cgwalters authored Jun 26, 2024
2 parents 969d032 + 1d84ee4 commit e1caed6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/src/install/baseline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,16 @@ pub(crate) fn install_create_rootfs(
);
} else if cfg!(target_arch = "aarch64") {
// Only UEFI here for now
} else if cfg!(target_arch = "powerpc64") {
// PowerPC-PReP-boot
partno += 1;
sgdisk_partition(
&mut sgdisk.cmd,
partno,
"0:+4M",
"PowerPC-PReP-boot",
Some("9E1A2D38-C612-4316-AA26-8B49521E5A8B"),
);
} else {
anyhow::bail!("Unsupported architecture: {}", std::env::consts::ARCH);
}
Expand Down

0 comments on commit e1caed6

Please sign in to comment.