summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Manley <will@stb-tester.com>2020-10-27 13:24:46 +0000
committerWilliam Manley <will@stb-tester.com>2020-10-27 13:24:46 +0000
commit663c5b41a3b75850fb19a62ad9bba61848d88e9f (patch)
tree11619029de0614511b98ce95dd5e4dc7e9cf48c4
parent631528c87bd0aee100443c31e3f2fa652cb94310 (diff)
downloadostree-663c5b41a3b75850fb19a62ad9bba61848d88e9f.tar.gz
fixup! Refactor `ostree_sysroot_query_bootloader`
-rw-r--r--src/libostree/ostree-sysroot.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libostree/ostree-sysroot.c b/src/libostree/ostree-sysroot.c
index 15cbfafb..7062a218 100644
--- a/src/libostree/ostree-sysroot.c
+++ b/src/libostree/ostree-sysroot.c
@@ -1345,6 +1345,9 @@ _ostree_sysroot_new_bootloader_by_type (
/* We never consider zipl as active by default, so it can only be created
* if it's explicitly requested in the config */
return (OstreeBootloader*) _ostree_bootloader_zipl_new (sysroot);
+ case CFG_SYSROOT_BOOTLOADER_OPT_AUTO:
+ /* "auto" is handled by ostree_sysroot_query_bootloader so we should
+ * never get here: Fallthrough */
default:
g_assert_not_reached ();
}