diff options
author | Colin Walters <walters@verbum.org> | 2022-01-12 12:47:11 -0500 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2022-01-12 12:47:11 -0500 |
commit | 0ff4bee74348e6894795ba3a5ac2bfab8aab7f28 (patch) | |
tree | db97b6cac9e4deebbbd7ce01d31d6ef20360d037 /src/libostree/ostree-sysroot.h | |
parent | 998154f8ffc2f471bf4f3b59602332ba15ef6d07 (diff) | |
download | ostree-0ff4bee74348e6894795ba3a5ac2bfab8aab7f28.tar.gz |
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
Diffstat (limited to 'src/libostree/ostree-sysroot.h')
-rw-r--r-- | src/libostree/ostree-sysroot.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libostree/ostree-sysroot.h b/src/libostree/ostree-sysroot.h index 41361716..c240aaa0 100644 --- a/src/libostree/ostree-sysroot.h +++ b/src/libostree/ostree-sysroot.h @@ -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)) |