# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.315 2005/08/09 19:25:08 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.316 2005/08/09 21:44:45 rocket Exp $
+
+ 09 Aug 2005; Eric Edgar <rocket@gentoo.org>
+ modules/generic_stage_target.py, targets/support/functions.sh:
+ fix bug in exec_in_chroot for stage1 target
09 Aug 2005; Eric Edgar <rocket@gentoo.org> modules/catalyst_support.py,
modules/generic_stage_target.py:
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/modules/generic_stage_target.py,v 1.55 2005/08/09 19:25:08 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/modules/generic_stage_target.py,v 1.56 2005/08/09 21:44:45 rocket Exp $
"""
This class does all of the chroot setup, copying of files, etc. It is
self.mount_safety_check()
if invalid_snapshot:
- print "InValid Resume point detected, cleaning up ..."
+ print "No Valid Resume point detected, cleaning up ..."
#os.remove(self.settings["autoresume_path"]+"dir_setup")
self.clear_autoresume()
self.clear_chroot()
chroot_path=${clst_chroot_path}${subdir}
copy_to_chroot ${clst_sharedir}/targets/support/chroot-functions.sh ${subdir}/tmp/
echo "Running ${file_name} in chroot ${chroot_path}"
- ${clst_CHROOT} ${chroot_path} ${subdir}/tmp/${file_name} || exit 1
+ ${clst_CHROOT} ${chroot_path} /tmp/${file_name} || exit 1
else
copy_to_chroot ${1} tmp/
chroot_path=${clst_chroot_path}
copy_to_chroot ${clst_sharedir}/targets/support/chroot-functions.sh tmp/
echo "Running ${file_name} in chroot ${chroot_path}"
- ${clst_CHROOT} ${chroot_path}/ tmp/${file_name} || exit 1
+ ${clst_CHROOT} ${chroot_path}/ /tmp/${file_name} || exit 1
fi
rm -f ${chroot_path}/tmp/${file_name}