# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Id: $
+ 21 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org> catalyst,
+ targets/support/chroot-functions.sh:
+ Adding a note to myself for better debug and moving run_default_funcs to the
+ bottom of the script so it gets executed. Since this can otherwise break
+ pkgcache, I'm making this catalyst 2.0.6_pre9 for testing, immediately.
+
21 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org>
targets/stage1/stage1-chroot.sh, targets/stage2/stage2-chroot.sh,
targets/support/chroot-functions.sh:
import pdb
__maintainer__="Chris Gianelloni <wolf31o2@gentoo.org>"
-__version__="2.0.6_pre8"
+__version__="2.0.6_pre9"
conf_values={}
# * kernel recognizes this and generates SIGINT signal
trap "echo SIGINT signal recieved killing $0 with pid $$;kill -9 $$" SIGINT
-# We do this everywhere, so why not put it in this script
-run_default_funcs
-
check_genkernel_version(){
if [ -x /usr/bin/genkernel ]
then
echo "Profile/target info:"
echo "Profile inheritance:"
python -c 'import portage; print portage.settings.profiles'
+ # TODO: grab our entire env
+ # <zmedico> to get see the ebuild env you can do something like:
+ # `set > /tmp/env_dump.${EBUILD_PHASE}` inside /etc/portage/bashrc
echo
echo "STAGE1_USE: $(portageq envvar STAGE1_USE)"
echo
}
run_default_funcs() {
- if [ -z "${RUN_DEFAULT_FUNCS}" ]
+ if [ "${RUN_DEFAULT_FUNCS}" != "no" ]
then
update_env_settings
setup_myfeatures
Comment=This is a link to the local copy of the Gentoo Linux Handbook.
Icon=text-editor" > /usr/share/applications/gentoo-handbook.desktop
}
+
+# We do this everywhere, so why not put it in this script
+run_default_funcs
+