aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2013-02-11 20:09:01 -0800
committerBrian Dolbec <dolsen@gentoo.org>2014-12-31 21:58:06 -0800
commita751343297b8f941e170f91e704a51dc3c9b4e30 (patch)
tree19c2545aa701b8199f96c27f5ecfe982cd38ce9f /etc
parentExtend ParserBase to do variable substitution. (diff)
downloadcatalyst-a751343297b8f941e170f91e704a51dc3c9b4e30.tar.gz
catalyst-a751343297b8f941e170f91e704a51dc3c9b4e30.tar.bz2
catalyst-a751343297b8f941e170f91e704a51dc3c9b4e30.zip
Make shdir a complete path to ease it's use.
Add a "shdir" setting to config. This is to make moving the bash code around easier. It also reduces more hardcoded paths in the bash scripts. Migrate all target shell scripts to use the new shdir setting
Diffstat (limited to 'etc')
-rw-r--r--etc/catalyst.conf8
1 files changed, 6 insertions, 2 deletions
diff --git a/etc/catalyst.conf b/etc/catalyst.conf
index 2d377b22..d52a5c84 100644
--- a/etc/catalyst.conf
+++ b/etc/catalyst.conf
@@ -73,10 +73,14 @@ options="autoresume bindist kerncache pkgcache seedcache snapcache"
# portdir specifies the source portage tree used by the snapshot target.
portdir="/usr/portage"
-# sharedir specifies where all of the catalyst runtime executables are. Most
-# users do not need to change this.
+# sharedir specifies where all of the catalyst runtime executables
+# and other shared lib objects are.
+# Most users do not need to change this.
sharedir="/usr/lib/catalyst"
+# shdir specifies where all of the catalyst runtime executables are.
+shdir="%(sharedir)s/targets"
+
# snapshot_cache specifies where the snapshots will be cached to if snapcache is
# enabled in the options.
snapshot_cache="/var/tmp/catalyst/snapshot_cache"