Skip to content

Commit b4c9aa5

Browse files
committed
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 <[email protected]>
1 parent 8b7f190 commit b4c9aa5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/src/install.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,6 +466,9 @@ async fn initialize_ostree_root_from_self(
466466
};
467467
for (k, v) in [
468468
("sysroot.bootloader", bootloader),
469+
// Always flip this one on because we need to support alongside installs
470+
// to systems without a separate boot partition.
471+
("sysroot.bootprefix", "true"),
469472
("sysroot.readonly", "true"),
470473
] {
471474
Task::new("Configuring ostree repo", "ostree")

0 commit comments

Comments
 (0)