# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.468 2005/12/19 16:52:01 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.469 2005/12/19 19:10:04 wolf31o2 Exp $
+
+ 19 Dec 2005; Chris Gianelloni <wolf31o2@gentoo.org>
+ targets/tinderbox/tinderbox-chroot.sh,
+ targets/tinderbox/tinderbox-controller.sh,
+ targets/tinderbox/tinderbox-preclean-chroot.sh:
+ Fixed up spacing/coding style on tinderbox.
19 Dec 2005; Chris Gianelloni <wolf31o2@gentoo.org>
targets/support/kill-chroot-pids.sh, targets/support/kmerge.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/tinderbox/tinderbox-chroot.sh,v 1.15 2005/12/08 15:16:48 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/tinderbox/tinderbox-chroot.sh,v 1.16 2005/12/19 19:10:04 wolf31o2 Exp $
. /tmp/chroot-functions.sh
setup_myfeatures
-# setup the environment
+# Setup the environment
export FEATURES="${clst_myfeatures}"
# START THE BUILD
setup_portage
-#turn off auto-use:
+# Turn off auto-use:
export USE_ORDER="env:pkg:conf:defaults"
-#back up pristine system
+# Backup pristine system
-rsync -avx --exclude "/root/" --exclude "/tmp/" --exclude "/usr/portage/" / /tmp/rsync-bak/
+rsync -avx --exclude "/root/" --exclude "/tmp/" --exclude "/usr/portage/" / \
+ /tmp/rsync-bak/
for x in ${clst_tinderbox_packages}
do
mkdir -p /tmp/packages/$x
export PORT_LOGDIR="/tmp/packages/$x"
run_emerge --usepkg --buildpkg --newuse $x
-
+
if [ "$?" != "0" ]
then
echo "! $x" >> /tmp/tinderbox.log
echo "$x" >> /tmp/tinderbox.log
fi
echo "Syncing from original pristine tinderbox snapshot..."
- rsync -avx --delete --exclude "/root/*" --exclude "/tmp/" --exclude "/usr/portage/" /tmp/rsync-bak/ /
+ rsync -avx --delete --exclude "/root/*" --exclude "/tmp/" --exclude \
+ "/usr/portage/" /tmp/rsync-bak/ /
done
#!/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/tinderbox/tinderbox-controller.sh,v 1.4 2005/10/06 20:56:54 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/tinderbox/tinderbox-controller.sh,v 1.5 2005/12/19 19:10:04 wolf31o2 Exp $
. ${clst_sharedir}/targets/support/functions.sh
shift
exec_in_chroot ${clst_sharedir}/targets/tinderbox/tinderbox-chroot.sh
;;
-
preclean)
#exec_in_chroot ${clst_sharedir}/targets/tinderbox/tinderbox-preclean-chroot.sh
delete_from_chroot /tmp/chroot-functions.sh
;;
-
clean)
exit 0
;;
-
*)
exit 1
;;
-
esac
-
exit $?
#!/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/tinderbox/tinderbox-preclean-chroot.sh,v 1.6 2005/07/05 21:53:41 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/tinderbox/tinderbox-preclean-chroot.sh,v 1.7 2005/12/19 19:10:04 wolf31o2 Exp $
. /tmp/chroot-functions.sh
+
update_env_settings