summaryrefslogtreecommitdiff
path: root/src/libostree/ostree-repo-private.h
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2022-08-31 13:50:21 -0400
committerColin Walters <walters@verbum.org>2022-08-31 16:30:31 -0400
commit10e465c3c41f54c773c2b7c21da69e52f0c1ce99 (patch)
treed0a3a766c8201ab1568b41766fc016781159a539 /src/libostree/ostree-repo-private.h
parenteed9e9f335eeddb6cd648239daa23e99b93f9d41 (diff)
downloadostree-10e465c3c41f54c773c2b7c21da69e52f0c1ce99.tar.gz
Add `sysroot.bootprefix` option
This is a follow up to https://github.com/ostreedev/ostree/pull/2149/commits/0ced9fde7649271d9458ca424aa8c41908634b02 "sysroot: Support /boot on root or as seperate filesystem for syslinux and u-boot" What we should have done at the time is changed our bootloader entries to be prefixed with `/boot`. This means that the GRUB2 BLS support will Just Work. For now, I'm making this option default to off out of a lot of conservatism. I think in the future we should flip this on by default.
Diffstat (limited to 'src/libostree/ostree-repo-private.h')
-rw-r--r--src/libostree/ostree-repo-private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libostree/ostree-repo-private.h b/src/libostree/ostree-repo-private.h
index 0d33f7c2..f230a7de 100644
--- a/src/libostree/ostree-repo-private.h
+++ b/src/libostree/ostree-repo-private.h
@@ -225,6 +225,7 @@ struct OstreeRepo {
gchar **repo_finders;
OstreeCfgSysrootBootloaderOpt bootloader; /* Configure which bootloader to use. */
GHashTable *bls_append_values; /* Parsed key-values from bls-append-except-default key in config. */
+ gboolean enable_bootprefix; /* If true, prepend bootloader entries with /boot */
OstreeRepo *parent_repo;
};