commit:     febc83bc30a210bc14a34b671d3340a2aff8e59e
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 29 00:55:42 2020 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Mar 29 17:48:21 2020 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=febc83bc

targets: Remove some dead code

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 targets/support/chroot-functions.sh | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/targets/support/chroot-functions.sh 
b/targets/support/chroot-functions.sh
index 82164f64..b09a7531 100755
--- a/targets/support/chroot-functions.sh
+++ b/targets/support/chroot-functions.sh
@@ -182,17 +182,6 @@ setup_gcc(){
 }
 
 setup_pkgmgr(){
-       # Set bindist USE flag if clst_BINDIST is set
-       # this is handled independantly in stage2, changes here should be 
mirrored there
-       #if [ "${clst_target}" != "stage1" ] && [ -e "${clst_make_conf}" ] \
-       #       && [ -n "${clst_BINDIST}" ]; then
-       #       if grep -q ^USE "${clst_make_conf}"; then
-       #               echo "USE=\"\${USE} bindist\"" >> "${clst_make_conf}"
-       #       else
-       #               echo "USE=\"bindist\"" >> "${clst_make_conf}"
-       #       fi
-       #fi
-
        # We need to merge our package manager with USE="build" set in case it 
is
        # portage to avoid frying our /etc/portage/make.conf file.  Otherwise, 
we could
        # just let emerge @system could merge it.
@@ -256,7 +245,6 @@ cleanup_stages() {
        esac
 
        # Remove bindist from use
-       # this is handled independantly in stage2, changes here should be 
mirrored there
        ${clst_sed} -i "/USE=\"\${USE} bindist\"/d" "${clst_make_conf}"
        ${clst_sed} -i "/USE=\"bindist\"/d" "${clst_make_conf}"
 

Reply via email to