From fadbc54d952765619e7cab35e294cbfe172d8eaf Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Wed, 27 Apr 2016 14:33:38 -0700 Subject: [PATCH] tools: Add a config that filters to stage4 only. Signed-off-by: Robin H. Johnson --- ...tage4.conf => catalyst-auto-filter-stage4only.conf} | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) rename tools/{catalyst-auto-amd64-stage4.conf => catalyst-auto-filter-stage4only.conf} (64%) diff --git a/tools/catalyst-auto-amd64-stage4.conf b/tools/catalyst-auto-filter-stage4only.conf similarity index 64% rename from tools/catalyst-auto-amd64-stage4.conf rename to tools/catalyst-auto-filter-stage4only.conf index 73410465..a41e4bda 100644 --- a/tools/catalyst-auto-amd64-stage4.conf +++ b/tools/catalyst-auto-filter-stage4only.conf @@ -1,13 +1,8 @@ # 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} +# This configuration does not set any builds of it's own, but rather removes +# everything EXCEPT stage4 builds. for s in $SETS ; do var=SET_${s}_SPECS val=${!var} @@ -19,6 +14,5 @@ for s in $SETS ; do done eval "export $var='${newval}'" done -printenv |grep SET # vim:ft=sh: