aboutsummaryrefslogtreecommitdiff
path: root/debian-container/lib/config.sh
diff options
context:
space:
mode:
Diffstat (limited to 'debian-container/lib/config.sh')
-rw-r--r--debian-container/lib/config.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian-container/lib/config.sh b/debian-container/lib/config.sh
new file mode 100644
index 0000000..66b1bfe
--- /dev/null
+++ b/debian-container/lib/config.sh
@@ -0,0 +1,11 @@
+#!/usr/bin/env bash
+# SPDX-License-Identifier: GPL-3.0-or-later
+# Copyright (C) 2026 by Richard Qin
+
+# Keep runtime data in the directory from which the tool is invoked for now.
+# These variables can be overridden by the environment without changing the
+# command interface.
+DC_IMAGE=${DEBIAN_IMAGE:-"$PWD/rootfs.ext4"}
+DC_ROOT=${DEBIAN_ROOT:-"$PWD/debian-root"}
+DC_LOCK_FILE=${DEBIAN_LOCK_FILE:-/run/lock/debian-container.lock}
+