From 5f3b684055959cc0e0b6dc3641dda08ec9f8d111 Mon Sep 17 00:00:00 2001 From: ASVLCII <308706627+ASVLCII@users.noreply.github.com> Date: Fri, 11 Sep 2026 18:08:38 +0700 Subject: [PATCH] install: Clarify systemd-boot backend error Selecting systemd-boot with the ostree backend currently reports that bootupd is required without explaining the supported configuration. Point users to the composefs backend while preserving the existing GrubCC error. Closes: #2093 Generated-by: AI --- crates/lib/src/install.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/crates/lib/src/install.rs b/crates/lib/src/install.rs index c82d857f7..45ce53c32 100644 --- a/crates/lib/src/install.rs +++ b/crates/lib/src/install.rs @@ -1882,7 +1882,12 @@ async fn install_with_sysroot( Some(bind_boot_path.as_path()), )?; } - Bootloader::Systemd | Bootloader::GrubCC => { + Bootloader::Systemd => { + anyhow::bail!( + "systemd-boot is not supported with the ostree backend; use --composefs-backend to enable systemd-boot" + ); + } + Bootloader::GrubCC => { anyhow::bail!("bootupd is required for ostree-based installs"); } Bootloader::None => {