fix(make_chroot): don't remove files that dont' exist

These files don't exist in the gentoo stage3, don't try and remove them.

Change-Id: Ie158b4989540482751cbb4de0ee8ef88e4f49759
This commit is contained in:
Brandon Philips 2013-02-05 18:08:10 -08:00
parent c91cefb941
commit 472ab7b202

View File

@ -197,10 +197,8 @@ init_setup () {
# and a pointer to pre-built packages.
# TODO: This should really be part of a profile in the portage.
info "Setting up /etc/make.*..."
mv "${FLAGS_chroot}"/etc/make.conf{,.orig}
ln -sf "${CHROOT_CONFIG}/make.conf.amd64-host" \
"${FLAGS_chroot}/etc/make.conf"
mv "${FLAGS_chroot}"/etc/make.profile{,.orig}
ln -sf "${CHROOT_OVERLAY}/profiles/default/linux/amd64/10.0" \
"${FLAGS_chroot}/etc/make.profile"