# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.302 2005/07/07 19:57:17 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.303 2005/07/07 21:35:00 rocket Exp $
+
+ 07 Jul 2005; Eric Edgar <rocket@gentoo.org> modules/catalyst_support.py,
+ targets/support/chroot-functions.sh:
+ Fix FETCH code so it will run for Pylon
07 Jul 2005; Chris Gianelloni <wolf31o2@gentoo.org> modules/grp_target.py,
targets/grp/grp-chroot.sh:
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/modules/catalyst_support.py,v 1.50 2005/07/06 18:28:13 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/modules/catalyst_support.py,v 1.51 2005/07/07 21:35:00 rocket Exp $
import sys,string,os,types,re,signal,traceback,md5,time
selinux_capable = False
valid_config_file_values.append("DISTCC")
valid_config_file_values.append("ENVSCRIPT")
valid_config_file_values.append("AUTORESUME")
+valid_config_file_values.append("FETCH")
valid_config_file_values.append("CLEAR_AUTORESUME")
valid_config_file_values.append("options")
valid_config_file_values.append("DEBUG")
export clst_myemergeopts="--usepkg --buildpkg --newuse"
export bootstrap_opts="-r"
fi
-
- if [ -n "${clst_FETCH}" ]
- then
- export clst_myemergeopts="${clst_myemergeopts} -f"
- export bootstrap_opts="-f"
- fi
}
read -s -n 1
fi
fi
+
echo "emerge ${clst_myemergeopts} $@" || exit 1
+
+ if [ -n "${clst_FETCH}" ]
+ then
+ export bootstrap_opts="-f"
+ emerge ${clst_myemergeopts} -f $@ || exit 1
+ fi
+
emerge ${clst_myemergeopts} $@ || exit 1
}