From d8f03c63a7268e1b09e5ac896b80c62d8f568aea Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 8 Feb 2024 19:35:17 -0500 Subject: [PATCH] switchroot: Move a define into library too --- src/libotcore/otcore.h | 2 ++ src/switchroot/ostree-prepare-root.c | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libotcore/otcore.h b/src/libotcore/otcore.h index d617a811..5fd24ec9 100644 --- a/src/libotcore/otcore.h +++ b/src/libotcore/otcore.h @@ -67,6 +67,8 @@ ComposefsConfig *otcore_load_composefs_config (GKeyFile *config, GError **error) // we make it with mode 0 (which requires CAP_DAC_OVERRIDE to pass through). #define OTCORE_RUN_OSTREE_PRIVATE "/run/ostree/.private" +#define PREPARE_ROOT_CONFIG_PATH "ostree/prepare-root.conf" + // The directory holding extra/backing data for a deployment, such as overlayfs workdirs #define OSTREE_DEPLOYMENT_BACKING_DIR "backing" // The directory holding the root overlayfs diff --git a/src/switchroot/ostree-prepare-root.c b/src/switchroot/ostree-prepare-root.c index bf880e12..2d01482c 100644 --- a/src/switchroot/ostree-prepare-root.c +++ b/src/switchroot/ostree-prepare-root.c @@ -76,8 +76,6 @@ #include "ot-keyfile-utils.h" #include "otcore.h" -#define PREPARE_ROOT_CONFIG_PATH "ostree/prepare-root.conf" - #define SYSROOT_KEY "sysroot" #define READONLY_KEY "readonly" -- 2.30.2