Skip to content

Commit

Permalink
install: Enable bootprefix by default
Browse files Browse the repository at this point in the history
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 <walters@verbum.org>
  • Loading branch information
cgwalters committed Nov 10, 2023
1 parent 8b7f190 commit b4c9aa5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/src/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit b4c9aa5

Please sign in to comment.