From b4c9aa5bff7728bcb7e2b86af34b4cedc21f0160 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 9 Nov 2023 21:10:25 -0500 Subject: [PATCH] install: Enable bootprefix by default This is the last bit necessary to enable installations to systems without a separate `/boot` partition (as is true in the default RHEL 9 AMIs). I was too chicken to enable it by default in ostree long ago; and now here we are. Should definitely enable it in ostree, but let's do it here now. Signed-off-by: Colin Walters --- lib/src/install.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/src/install.rs b/lib/src/install.rs index f29b89e4b..23d276948 100644 --- a/lib/src/install.rs +++ b/lib/src/install.rs @@ -466,6 +466,9 @@ async fn initialize_ostree_root_from_self( }; for (k, v) in [ ("sysroot.bootloader", bootloader), + // Always flip this one on because we need to support alongside installs + // to systems without a separate boot partition. + ("sysroot.bootprefix", "true"), ("sysroot.readonly", "true"), ] { Task::new("Configuring ostree repo", "ostree")