fix(update_chroot): Remove old make.conf symlinks

The old static files are pretty much empty and unused now.
This commit is contained in:
Michael Marineau 2014-06-12 15:34:52 -07:00
parent 99ed29d218
commit 7f599ac764

View File

@ -54,10 +54,10 @@ COREOS_CONFIG="${COREOS_OVERLAY}/coreos/config"
info "Setting up portage..."
sudo mkdir -p "/etc/portage/repos.conf/"
sudo ln -sf "${COREOS_CONFIG}/make.conf.amd64-host" "/etc/portage/make.conf"
sudo rm -f "/etc/portage/make.conf"
sudo touch "/etc/portage/make.conf.user"
sudo_clobber "/etc/portage/make.conf.host_setup" <<EOF
sudo_clobber "/etc/portage/make.conf" <<EOF
# Created by update_chroot
PORTDIR="${PORTAGE_STABLE_OVERLAY}"
PORTDIR_OVERLAY="${CROSSDEV_OVERLAY} ${COREOS_OVERLAY}"
@ -70,6 +70,9 @@ MAKEOPTS="--jobs=${NUM_JOBS} --load-average=$((NUM_JOBS * 2))"
# Generally there isn't any need to add packages to @world by default.
# You can use --select to override this.
EMERGE_DEFAULT_OPTS="--oneshot"
# Allow the user to override or define additional settings.
source "/etc/portage/make.conf.user"
EOF
sudo_clobber "/etc/portage/repos.conf/coreos.conf" <<EOF