sysroot: Add _require_booted_deployment() API

This is a common pattern that is replicated both in our code
and in rpm-ostree a lot.  Let's add a canonical API.
This commit is contained in:
Colin Walters committed 2021-03-17 19:55:56 +00:00
1 parent d522f261db
commit 1b28e6041c
8 files changed
+33 -15

No files matched your search

+1
View File
@@ -533,6 +533,7 @@ ostree_sysroot_get_bootversion
ostree_sysroot_get_subbootversion
ostree_sysroot_get_deployments
ostree_sysroot_get_booted_deployment
ostree_sysroot_require_booted_deployment
ostree_sysroot_get_deployment_directory
ostree_sysroot_get_deployment_dirpath
ostree_sysroot_get_deployment_origin_path