Skip to content

Commit 57d75f6

Browse files
committed
install: Error out early on s390x
xref coreos/bootupd#550 Signed-off-by: Colin Walters <[email protected]>
1 parent b4ecba0 commit 57d75f6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/src/install.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -790,6 +790,10 @@ async fn prepare_install(
790790
crate::cli::require_root()?;
791791
require_systemd_pid1()?;
792792

793+
if cfg!(target_arch = "s390x") {
794+
anyhow::bail!("Installation is not supported on this architecture yet");
795+
}
796+
793797
let rootfs = cap_std::fs::Dir::open_ambient_dir("/", cap_std::ambient_authority())
794798
.context("Opening /")?;
795799

0 commit comments

Comments
 (0)