From 472ab7b2022b23c2b137cc41096e985396d404de Mon Sep 17 00:00:00 2001 From: Brandon Philips Date: Tue, 5 Feb 2013 18:08:10 -0800 Subject: [PATCH] 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 --- sdk_lib/make_chroot.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/sdk_lib/make_chroot.sh b/sdk_lib/make_chroot.sh index 259b8a8ced..a7d8a1ec59 100755 --- a/sdk_lib/make_chroot.sh +++ b/sdk_lib/make_chroot.sh @@ -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"