summaryrefslogtreecommitdiff
path: root/src/chroot-tools
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-12-08 15:46:59 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-12-09 14:20:48 -0500
commit8d3c769a7133f8e021eb86c296eb415c3356c26a (patch)
tree284a1dbb0b8c6e80ab496178aec0968ff67b0dc8 /src/chroot-tools
parent20e7d270d9cdc3126fa159ccd2870f8e24d7d0c8 (diff)
chroot.conf: clarify what each setting does
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)