# ChangeLog for gentoo/src/catalyst
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.156 2005/01/26 22:11:31 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.157 2005/01/28 18:37:23 wolf31o2 Exp $
+
+ 28 Jan 2005; Chris Gianelloni <wolf31o2@gentoo.org>
+ targets/embedded/embedded-chroot.sh, targets/grp/grp-chroot.sh,
+ targets/livecd-stage1/livecd-stage1-chroot.sh,
+ targets/livecd-stage1/livecd-stage1-preclean-chroot.sh,
+ targets/livecd-stage1/livecd-stage1.sh,
+ targets/netboot/netboot-packages.sh, targets/stage1/stage1-chroot.sh,
+ targets/stage3/stage3-chroot.sh, targets/tinderbox/tinderbox-chroot.sh:
+ Added ability to pause indefinitely. This closes bug #79798. I've also added
+ the gcond-2 killall back in, but now it is in the actual preclean script and
+ is executed inside the chroot.
26 Jan 2005; Chris Gianelloni <wolf31o2@gentoo.org> catalyst:
Updated for 1.1.3 release.
#!/bin/bash
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/targets/embedded/embedded-chroot.sh,v 1.12 2005/01/13 22:57:25 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/embedded/embedded-chroot.sh,v 1.13 2005/01/28 18:37:23 wolf31o2 Exp $
portage_version=`/usr/lib/portage/bin/portageq best_version / sys-apps/portage \
| cut -d/ -f2 | cut -d- -f2,3`
if [ "${clst_VERBOSE}" ]
then
ROOT=/tmp/mergeroot emerge ${clst_myemergeopts} -vp ${clst_embedded_packages} || exit 1
- sleep 15
+ echo "Press any key within 15 seconds to pause the build..."
+ read -s -t 15 -n 1
+ if [ $? -eq 0 ]
+ then
+ echo "Press any key to continue..."
+ read -s -n 1
+ fi
fi
ROOT=/tmp/mergeroot emerge ${clst_myemergeopts} ${clst_embedded_packages} || exit 1
#!/bin/bash
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/targets/grp/grp-chroot.sh,v 1.13 2005/01/26 21:59:40 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/grp/grp-chroot.sh,v 1.14 2005/01/28 18:37:23 wolf31o2 Exp $
# check portage version in seed stage
portage_version=`/usr/lib/portage/bin/portageq best_version / sys-apps/portage \
if [ -n "${clst_VERBOSE}" ]
then
emerge --usepkg --buildpkg --noreplace --newuse -vp ${clst_myemergeopts} ${clst_grp_packages} || exit 1
- sleep 15
+ echo "Press any key within 15 seconds to pause the build..."
+ read -s -t 15 -n 1
+ if [ $? -eq 0 ]
+ then
+ echo "Press any key to continue..."
+ read -s -n 1
+ fi
fi
emerge --usepkg --buildpkg --noreplace --newuse ${clst_myemergeopts} ${clst_grp_packages} || exit 1
#!/bin/bash
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/targets/livecd-stage1/livecd-stage1-chroot.sh,v 1.13 2005/01/26 21:59:40 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/livecd-stage1/livecd-stage1-chroot.sh,v 1.14 2005/01/28 18:37:23 wolf31o2 Exp $
portage_version=`/usr/lib/portage/bin/portageq best_version / sys-apps/portage \
| cut -d/ -f2 | cut -d- -f2,3`
if [ "${clst_VERBOSE}" ]
then
emerge ${clst_emergeopts} -vp ${clst_packages}
- sleep 15
+ echo "Press any key within 15 seconds to pause the build..."
+ read -s -t 15 -n 1
+ if [ $? -eq 0 ]
+ then
+ echo "Press any key to continue..."
+ read -s -n 1
+ fi
fi
portage_version=`/usr/lib/portage/bin/portageq best_version / sys-apps/portage \
#!/bin/bash
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/targets/livecd-stage1/livecd-stage1-preclean-chroot.sh,v 1.4 2004/10/15 02:46:58 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/livecd-stage1/livecd-stage1-preclean-chroot.sh,v 1.5 2005/01/28 18:37:23 wolf31o2 Exp $
/usr/sbin/env-update
source /etc/profile
+
+killall -9 gconfd-2
#!/bin/bash
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/targets/livecd-stage1/Attic/livecd-stage1.sh,v 1.15 2005/01/11 14:10:19 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/livecd-stage1/Attic/livecd-stage1.sh,v 1.16 2005/01/28 18:37:23 wolf31o2 Exp $
case $1 in
enter)
;;
preclean)
- #killall -9 gconfd-2
- #cp ${clst_sharedir}/targets/livecd-stage1/livecd-stage1-preclean-chroot.sh ${clst_chroot_path}/tmp
- #${clst_CHROOT} ${clst_chroot_path} /tmp/livecd-stage1-preclean-chroot.sh || exit 1
- #rm -f ${clst_chroot_path}/tmp/livecd-stage1-preclean-chroot.sh
+ cp ${clst_sharedir}/targets/livecd-stage1/livecd-stage1-preclean-chroot.sh ${clst_chroot_path}/tmp
+ ${clst_CHROOT} ${clst_chroot_path} /tmp/livecd-stage1-preclean-chroot.sh || exit 1
+ rm -f ${clst_chroot_path}/tmp/livecd-stage1-preclean-chroot.sh
exit 0
;;
#!/bin/bash
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/targets/netboot/Attic/netboot-packages.sh,v 1.5 2005/01/26 21:59:40 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/netboot/Attic/netboot-packages.sh,v 1.6 2005/01/28 18:37:23 wolf31o2 Exp $
portage_version=`/usr/lib/portage/bin/portageq best_version / sys-apps/portage \
| cut -d/ -f2 | cut -d- -f2,3`
if [ "${clst_VERBOSE}" ]
then
emerge ${clst_myemergeopts} -vp ${clst_packages}
- sleep 15
+ echo "Press any key within 15 seconds to pause the build..."
+ read -s -t 15 -n 1
+ if [ $? -eq 0 ]
+ then
+ echo "Press any key to continue..."
+ read -s -n 1
+ fi
fi
emerge ${clst_myemergeopts} ${clst_packages}
#!/bin/bash
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/targets/stage1/stage1-chroot.sh,v 1.27 2005/01/13 22:57:25 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/stage1/stage1-chroot.sh,v 1.28 2005/01/28 18:37:23 wolf31o2 Exp $
portage_version=`/usr/lib/portage/bin/portageq best_version / sys-apps/portage \
| cut -d/ -f2 | cut -d- -f2,3`
if [ -n "${clst_VERBOSE}" ]
then
USE="-* build" emerge ${clst_myemergeopts} -vp --noreplace ${clst_buildpkgs} || exit 1
- sleep 15
+ echo "Press any key within 15 seconds to pause the build..."
+ read -s -t 15 -n 1
+ if [ $? -eq 0 ]
+ then
+ echo "Press any key to continue..."
+ read -s -n 1
+ fi
fi
USE="-* build ${STAGE1_USE}" emerge ${clst_myemergeopts} --noreplace ${clst_buildpkgs} || exit 1
#!/bin/bash
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/targets/stage3/stage3-chroot.sh,v 1.16 2005/01/13 22:57:25 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/stage3/stage3-chroot.sh,v 1.17 2005/01/28 18:37:23 wolf31o2 Exp $
portage_version=`/usr/lib/portage/bin/portageq best_version / sys-apps/portage \
| cut -d/ -f2 | cut -d- -f2,3`
if [ -n "${clst_VERBOSE}" ]
then
emerge -e ${clst_myemergeopts} -vp system || exit 1
- sleep 15
+ echo "Press any key within 15 seconds to pause the build..."
+ read -s -t 15 -n 1
+ if [ $? -eq 0 ]
+ then
+ echo "Press any key to continue..."
+ read -s -n 1
+ fi
fi
emerge -e ${clst_myemergeopts} system || exit 1
#!/bin/bash
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/targets/tinderbox/tinderbox-chroot.sh,v 1.9 2005/01/26 21:59:40 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/tinderbox/tinderbox-chroot.sh,v 1.10 2005/01/28 18:37:23 wolf31o2 Exp $
/usr/sbin/env-update
source /etc/profile
if [ -n "${clst_VERBOSE}" ]
then
emerge --usepkg --buildpkg -vp $x
- sleep 5
+ echo "Press any key within 15 seconds to pause the build..."
+ read -s -t 15 -n 1
+ if [ $? -eq 0 ]
+ then
+ echo "Press any key to continue..."
+ read -s -n 1
+ fi
fi
emerge --usepkg --buildpkg $x