gentoo-asahi-releng/tools/catalyst-auto-amd64-stage4.conf
Robin H. Johnson dda6889241
tools: stage4-only config that loads base amd64 config to avoid duplication
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2016-04-26 14:10:03 -07:00

25 lines
468 B
Bash

# 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: