diff options
author | 2016-04-26 14:10:03 -0700 | |
---|---|---|
committer | 2016-04-26 21:23:10 +0000 | |
commit | 371728917cd55262c2c6b54d21e58b52dd046eca (patch) | |
tree | a1b39bfda83088f74ce66a60a609b0131ced4138 | |
parent | tools-uclibc: have busybox use a savedconfig, bug #567598 (diff) | |
download | releng-371728917cd55262c2c6b54d21e58b52dd046eca.tar.gz releng-371728917cd55262c2c6b54d21e58b52dd046eca.tar.bz2 releng-371728917cd55262c2c6b54d21e58b52dd046eca.zip |
tools: stage4-only config that loads base amd64 config to avoid duplication
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rw-r--r-- | tools/catalyst-auto-amd64-stage4.conf | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tools/catalyst-auto-amd64-stage4.conf b/tools/catalyst-auto-amd64-stage4.conf new file mode 100644 index 00000000..73410465 --- /dev/null +++ b/tools/catalyst-auto-amd64-stage4.conf @@ -0,0 +1,24 @@ +# This is the config file for the catalyst-auto script. It should be pretty +# self-explanatory. + +B=`readlink -f $0` +BASECONF=${B/-daily} +if [ ! -e $BASECONF ]; then + echo "Could not find base config from $B" 1>&2 + exit 1 +fi +source ${BASECONF} +for s in $SETS ; do + var=SET_${s}_SPECS + val=${!var} + newval= + for spec in $val ; do + case $spec in + *stage4*) newval="${newval} $spec" ;; + esac + done + eval "export $var='${newval}'" +done +printenv |grep SET + +# vim:ft=sh: |