# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.476 2005/12/20 17:05:39 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.477 2005/12/20 20:30:47 wolf31o2 Exp $
+
+ 20 Dec 2005; Chris Gianelloni <wolf31o2@gentoo.org>
+ targets/stage1/stage1-controller.sh:
+ It looks like gcc-config/binutils-config needs to be run with the full path,
+ since it is run outside of the chroot.
20 Dec 2005; Chris Gianelloni <wolf31o2@gentoo.org> catalyst,
targets/stage1/stage1-controller.sh:
#!/bin/bash
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/targets/stage1/stage1-controller.sh,v 1.7 2005/12/20 17:05:39 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/stage1/stage1-controller.sh,v 1.8 2005/12/20 20:30:47 wolf31o2 Exp $
. ${clst_sharedir}/targets/support/functions.sh
# We run gcc-config here this way so it works on all arches.
if [ -x /usr/bin/gcc-config ]
then
- mythang=$( cd /tmp/stage1root/etc/env.d/gcc; ls ${clst_CHOST}-* | head -n 1 )
+ mythang=$( cd ${clst_chroot_path}/tmp/stage1root/etc/env.d/gcc; ls ${clst_CHOST}-* | head -n 1 )
if [ -z "${mythang}" ]
then
mythang=1
fi
- ROOT=/tmp/stage1root/ gcc-config ${mythang}
+ ROOT=${clst_chroot_path}/tmp/stage1root/ gcc-config ${mythang}
fi
# We run binutils-config here so it works on all arches.
if [ -x /usr/bin/binutils-config ]
then
- mythang=$( cd /tmp/stage1root/etc/env.d/binutils; ls ${clst_CHOST}-* | head -n 1 )
+ mythang=$( cd ${clst_chroot_path}/tmp/stage1root/etc/env.d/binutils; ls ${clst_CHOST}-* | head -n 1 )
if [ -z "${mythang}" ]
then
mythang=1
fi
- ROOT=/tmp/stage1root/ binutils-config ${mythang}
+ ROOT=${clst_chroot_path}/tmp/stage1root/ binutils-config ${mythang}
fi
exec_in_chroot ${clst_sharedir}/targets/${clst_target}/${clst_target}-preclean-chroot.sh /tmp/stage1root || exit 1
;;