sysroot: Add a public #define OSTREE_PATH_BOOTED

This is public API.  Motivated by
https://github.com/coreos/rpm-ostree/pull/3325/files#diff-56528694f6f3213d6fb88d872f77291412dceec263b57166519843b13eca9a4dR30
This commit is contained in:
Colin Walters committed 2022-01-12 12:47:11 -05:00
1 parent 998154f8ff
commit 0ff4bee743
4 files changed
+13 -5

No files matched your search

+8
View File
@@ -24,6 +24,14 @@
G_BEGIN_DECLS
/**
* OSTREE_PATH_BOOTED:
* Filesystem path that is created on an ostree-booted system.
*
* Since: 2022.2
*/
#define OSTREE_PATH_BOOTED "/run/ostree-booted"
#define OSTREE_TYPE_SYSROOT ostree_sysroot_get_type()
#define OSTREE_SYSROOT(obj) \
(G_TYPE_CHECK_INSTANCE_CAST ((obj), OSTREE_TYPE_SYSROOT, OstreeSysroot))