Set FEATURES=-news before emerging ccache/distcc/icecream
[catalyst.git] / targets / support / chroot-functions.sh
index caaa576be60d24a2b227cc021def17a564e2d184..1a44c92ff8e9b5ad1964d506c592db334b778328 100644 (file)
@@ -61,6 +61,7 @@ get_libdir() {
 
 setup_myfeatures(){
        setup_myemergeopts
+       export FEATURES="-news"
        if [ -n "${clst_CCACHE}" ]
        then
                export clst_myfeatures="${clst_myfeatures} ccache"
@@ -86,8 +87,6 @@ setup_myfeatures(){
                sed -i '/USE="${USE} -avahi -gtk -gnome"/d' /etc/make.conf
                mkdir -p /etc/distcc
                echo "${clst_distcc_hosts}" > /etc/distcc/hosts
-               # We need to run distcc-config, since it might not have gotten run
-               [ -x /usr/bin/distcc-config ] && /usr/bin/distcc-config --install
 
                # This sets up automatic cross-distcc-fu according to
                # http://www.gentoo.org/doc/en/cross-compiling-distcc.xml
@@ -116,7 +115,7 @@ setup_myfeatures(){
                export PATH="/usr/lib/icecc/bin:${PATH}"
                export PREROOTPATH="/usr/lib/icecc/bin"
        fi
-       export FEATURES="${clst_myfeatures}"
+       export FEATURES="${clst_myfeatures} -news"
 }
 
 setup_myemergeopts(){