aboutsummaryrefslogtreecommitdiffstats
path: root/config.example
diff options
context:
space:
mode:
Diffstat (limited to 'config.example')
-rw-r--r--config.example35
1 files changed, 35 insertions, 0 deletions
diff --git a/config.example b/config.example
new file mode 100644
index 0000000..88cc264
--- /dev/null
+++ b/config.example
@@ -0,0 +1,35 @@
+# sbo-batch-test config. Sourced by the script as bash.
+#
+# Copy to ~/.config/sbo-batch-tester/config and edit. The script runs as root,
+# so that is /root/.config/sbo-batch-tester/config. Override the path with the
+# $SBO_BATCH_CONFIG environment variable.
+
+# LOCAL (non-NFS) read-only 15.0 base install tree. This is the overlay
+# lowerdir. MUST be a local filesystem (ext4/xfs). NEVER point this at the NFS
+# mirror: overlayfs over NFS lowerdir is fragile and fails intermittently.
+# Populate it once with: sbo-batch-test --init-base
+SLACKWARE_BASE="/sbo-base/15.0"
+
+# NFS mountpoint for the 15.0 mirror. Point at the mount root itself; the script
+# checks it with mountpoint -q and auto-mounts it (mount $LOCAL_MIRROR_15) if the
+# fstab entry is noauto. The actual Slackware tree (ChangeLog.txt, slackware64/,
+# patches/) is found one level down at $LOCAL_MIRROR_15/slackware64-$VERSION.
+# Package SOURCE only. Read-only is fine. Never the overlay lowerdir.
+LOCAL_MIRROR_15="/mnt/mirror-15.0"
+
+# One or more LOCAL SBo tree roots, resolved in order (first match wins).
+# Standard SBo layout: <root>/<category>/<prog>/{prog.SlackBuild,prog.info,...}.
+# Read in place, never copied or synced.
+SBO_TREE_ROOTS=(
+ "/var/lib/sbopkg/SBo-danix"
+)
+
+# Where overlays are created. LOCAL, needs space. One disposable overlay per
+# target lives here.
+CHROOT_LOCATION="/tmp"
+
+# Where persistent logs are written (outside the overlay, survives teardown).
+LOG_ROOT="/var/log/sbo-batch-test"
+
+# Slackware version, used for the mirror ChangeLog / patches path.
+VERSION="15.0"