switchroot: Move a define into library too
authorColin Walters <walters@verbum.org>
Fri, 9 Feb 2024 00:35:17 +0000 (19:35 -0500)
committerColin Walters <walters@verbum.org>
Fri, 9 Feb 2024 00:35:17 +0000 (19:35 -0500)
src/libotcore/otcore.h
src/switchroot/ostree-prepare-root.c

index d617a8112823ee839efcb335157742acfe285040..5fd24ec9d3749046d015db0c44a18a4d264684a0 100644 (file)
@@ -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
index bf880e12461ba1f9844b9729228450baa9689599..2d01482c7548060270439c068f811f661d5ef51e 100644 (file)
@@ -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"