summaryrefslogtreecommitdiff
path: root/src/libostree/ostree-repo-private.h
diff options
context:
space:
mode:
authorWilliam Manley <will@stb-tester.com>2020-07-06 16:12:29 +0100
committerWilliam Manley <will@stb-tester.com>2020-10-26 23:51:11 +0000
commit31acd2ef99acd43c165b3678cfc4a5076a4fc5c0 (patch)
tree390d1d99228d04bd716b2c864e2cd0784f5912cc /src/libostree/ostree-repo-private.h
parent9482ecfe5ad355a405d17272564c8b15c9f1d84b (diff)
downloadostree-31acd2ef99acd43c165b3678cfc4a5076a4fc5c0.tar.gz
Add support for explicitly requesting any specific bootloader type
...with the `sysroot.bootloader` configuration option. This can be useful when converting a system to use `ostree` which doesn't currently have a bootloader configuration that `ostree` can automatically detect, and is also useful in combination with the `--sysroot` option when provisioning a rootfs for systems other than the one you're running `ostree admin deploy` on.
Diffstat (limited to 'src/libostree/ostree-repo-private.h')
-rw-r--r--src/libostree/ostree-repo-private.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libostree/ostree-repo-private.h b/src/libostree/ostree-repo-private.h
index 14e2f753..628f2b46 100644
--- a/src/libostree/ostree-repo-private.h
+++ b/src/libostree/ostree-repo-private.h
@@ -114,6 +114,9 @@ typedef enum {
typedef enum {
CFG_SYSROOT_BOOTLOADER_OPT_AUTO = 0,
CFG_SYSROOT_BOOTLOADER_OPT_NONE,
+ CFG_SYSROOT_BOOTLOADER_OPT_GRUB2,
+ CFG_SYSROOT_BOOTLOADER_OPT_SYSLINUX,
+ CFG_SYSROOT_BOOTLOADER_OPT_UBOOT,
CFG_SYSROOT_BOOTLOADER_OPT_ZIPL,
/* Non-exhaustive */
} OstreeCfgSysrootBootloaderOpt;
@@ -122,6 +125,9 @@ static const char* const CFG_SYSROOT_BOOTLOADER_OPTS_STR[] = {
/* This must be kept in the same order as the enum */
"auto",
"none",
+ "grub2",
+ "syslinux",
+ "uboot",
"zipl",
NULL,
};