tools: stage4-only config that loads base amd64 config to avoid duplication
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
This commit is contained in:
parent
b09f67a96e
commit
dda6889241
1 changed files with 24 additions and 0 deletions
24
tools/catalyst-auto-amd64-stage4.conf
Normal file
24
tools/catalyst-auto-amd64-stage4.conf
Normal file
|
@ -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:
|
Loading…
Add table
Reference in a new issue