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 => {