Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions crates/lib/src/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2053,6 +2053,24 @@ async fn install_to_filesystem_impl(
}
} else {
ostree_install(state, rootfs, cleanup).await?;

// For s390x, we set zipl as the bootloader
// this needs to be done after the ostree commit is deployed,
// as we don't want zipl to run during the initial ostree deployement.
if cfg!(target_arch = "s390x") {
Command::new("ostree")
.args([
"config",
"--repo",
"ostree/repo",
"set",
"sysroot.bootloader",
"zipl",
])
.cwd_dir(rootfs.physical_root.try_clone()?)
.run_capture_stderr()
.context("Setting bootloader config to zipl")?;
}
}

// As the very last step before filesystem finalization, do a full SELinux
Expand Down
Loading