Skip to content

Commit e1caed6

Browse files
authored
Merge pull request #636 from sacsant/ppc64le
Add support for ppc64le architecture
2 parents 969d032 + 1d84ee4 commit e1caed6

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

lib/src/install/baseline.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,16 @@ pub(crate) fn install_create_rootfs(
258258
);
259259
} else if cfg!(target_arch = "aarch64") {
260260
// Only UEFI here for now
261+
} else if cfg!(target_arch = "powerpc64") {
262+
// PowerPC-PReP-boot
263+
partno += 1;
264+
sgdisk_partition(
265+
&mut sgdisk.cmd,
266+
partno,
267+
"0:+4M",
268+
"PowerPC-PReP-boot",
269+
Some("9E1A2D38-C612-4316-AA26-8B49521E5A8B"),
270+
);
261271
} else {
262272
anyhow::bail!("Unsupported architecture: {}", std::env::consts::ARCH);
263273
}

0 commit comments

Comments
 (0)