Don't export variables from bootstrap.cfg

These variables should only affect live-bootstrap's scripts, yet they
currently "pollute" the build environment of most packages during the
bootstrap unnecessarily.

This change also makes bootstrap.cfg keep the same format between the
different bootstrap stages, which simplifies the input to each step.
This commit is contained in:
Dor Askayo 2022-05-15 11:49:50 +03:00
parent fde1bbc571
commit fcea28eb38
2 changed files with 4 additions and 4 deletions

View file

@ -54,7 +54,7 @@ if [ -z "${DISK}" ] || ! [ -e "/dev/${DISK}" ]; then
echo "You did not provide a valid disk in the configuration file."
ask_disk
echo "export DISK=${DISK}" >> /usr/src/bootstrap.cfg
echo "DISK=${DISK}" >> /usr/src/bootstrap.cfg
fi
PREFIX=/usr