summaryrefslogtreecommitdiff
path: root/src/chroot-tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/chroot-tools')
-rw-r--r--src/chroot-tools/chroot.conf16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/chroot-tools/chroot.conf b/src/chroot-tools/chroot.conf
index cd5c71d..d84e8b4 100644
--- a/src/chroot-tools/chroot.conf
+++ b/src/chroot-tools/chroot.conf
@@ -1,7 +1,13 @@
-## The directory where the chroots are stored
+# The full path to the chroot is
+# $CHROOTDIR/$CHROOT/$CHROOTCOPY
+# where $CHROOTCOPY is set at runtime, either
+# - based on the username
+# - set with the `-l COPY` flag
+# The purpose of having a $CHROOT setting is that multiple clones of the same
+# base $CHROOT can quickly and easily be created.
CHROOTDIR=/var/lib/archbuild
-## Extra packages to have installed on the chroot (besides base base-devel and sudo)
-CHROOTEXTRAPKG=(distcc ccache tsocks libretools)
-## The meaning of this changes based on the version of libretools+devtools
-## do NOT set it to 'root'
CHROOT=default
+
+# Extra packages to have installed on the chroot.
+# This is in addition to CHROOTPKG=(base base-devel sudo)
+CHROOTEXTRAPKG=(distcc ccache tsocks libretools)