Skip to content

Commit 641094f

Browse files
committed
install: Add support for s390x architecture
This patch enables support for s390x arch. Signed-off-by: Yohei Ueda <[email protected]>
1 parent d91c00a commit 641094f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/src/install/baseline.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,6 @@ pub(crate) fn install_create_rootfs(
254254
"BIOS-BOOT",
255255
Some("21686148-6449-6E6F-744E-656564454649"),
256256
);
257-
} else if cfg!(target_arch = "aarch64") {
258-
// Only UEFI here for now
259257
} else if cfg!(target_arch = "powerpc64") {
260258
// PowerPC-PReP-boot
261259
partno += 1;
@@ -266,6 +264,8 @@ pub(crate) fn install_create_rootfs(
266264
crate::bootloader::PREPBOOT_LABEL,
267265
Some(crate::bootloader::PREPBOOT_GUID),
268266
);
267+
} else if cfg!(any(target_arch = "aarch64", target_arch = "s390x")) {
268+
// No bootloader partition is necessary
269269
} else {
270270
anyhow::bail!("Unsupported architecture: {}", std::env::consts::ARCH);
271271
}

0 commit comments

Comments
 (0)