# ChangeLog for gentoo/src/catalyst
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.148 2005/01/13 20:52:17 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.149 2005/01/13 22:57:25 wolf31o2 Exp $
+
+ 13 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/netboot/netboot-packages.sh, targets/stage1/stage1-chroot.sh,
+ targets/stage3/stage3-chroot.sh:
+ Added a portage version check to each target that uses --newuse to ensure a
+ high enough version is used. This resolves bug #75336.
13 Jan 2005; Chris Gianelloni <wolf31o2@gentoo.org>
livecd/files/livecd-local.start:
#!/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.11 2005/01/11 14:10:19 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/embedded/embedded-chroot.sh,v 1.12 2005/01/13 22:57:25 wolf31o2 Exp $
+
+portage_version=`/usr/lib/portage/bin/portageq best_version / sys-apps/portage \
+ | cut -d/ -f2 | cut -d- -f2,3`
+if [ `echo ${portage_version} | cut -d- -f1 | cut -d. -f3` -lt 51 ]
+then
+ echo "ERROR: Your portage version is too low in your seed stage. Portage version"
+ echo "2.0.51 or greater is required."
+ exit 1
+fi
/usr/sbin/env-update
source /etc/profile
#!/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.11 2005/01/11 14:10:19 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/grp/grp-chroot.sh,v 1.12 2005/01/13 22:57:25 wolf31o2 Exp $
+
+# check portage version in seed stage
+portage_version=`/usr/lib/portage/bin/portageq best_version / sys-apps/portage \
+ | cut -d/ -f2 | cut -d- -f2,3`
+if [ `echo ${portage_version} | cut -d- -f1 | cut -d. -f3` -lt 51 ]
+then
+ echo "ERROR: Your portage version is too low in your seed stage. Portage version"
+ echo "2.0.51 or greater is required."
+ exit 1
+fi
/usr/sbin/env-update
source /etc/profile
#!/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.11 2005/01/11 14:10:19 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/livecd-stage1/livecd-stage1-chroot.sh,v 1.12 2005/01/13 22:57:25 wolf31o2 Exp $
+
+portage_version=`/usr/lib/portage/bin/portageq best_version / sys-apps/portage \
+ | cut -d/ -f2 | cut -d- -f2,3`
+if [ `echo ${portage_version} | cut -d- -f1 | cut -d. -f3` -lt 51 ]
+then
+ echo "ERROR: Your portage version is too low in your seed stage. Portage version"
+ echo "2.0.51 or greater is required."
+ exit 1
+fi
/usr/sbin/env-update
source /etc/profile
#!/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.3 2005/01/11 14:10:19 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/netboot/Attic/netboot-packages.sh,v 1.4 2005/01/13 22:57:25 wolf31o2 Exp $
+
+portage_version=`/usr/lib/portage/bin/portageq best_version / sys-apps/portage \
+ | cut -d/ -f2 | cut -d- -f2,3`
+if [ `echo ${portage_version} | cut -d- -f1 | cut -d. -f3` -lt 51 ]
+then
+ echo "ERROR: Your portage version is too low in your seed stage. Portage version"
+ echo "2.0.51 or greater is required."
+ exit 1
+fi
/usr/sbin/env-update
source /etc/profile
#!/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.26 2005/01/11 14:10:19 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/stage1/stage1-chroot.sh,v 1.27 2005/01/13 22:57:25 wolf31o2 Exp $
+portage_version=`/usr/lib/portage/bin/portageq best_version / sys-apps/portage \
+ | cut -d/ -f2 | cut -d- -f2,3`
+if [ `echo ${portage_version} | cut -d- -f1 | cut -d. -f3` -lt 51 ]
+then
+ echo "ERROR: Your portage version is too low in your seed stage. Portage version"
+ echo "2.0.51 or greater is required."
+ exit 1
+fi
+
/usr/sbin/env-update
source /etc/profile
#!/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.15 2005/01/11 14:10:19 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/stage3/stage3-chroot.sh,v 1.16 2005/01/13 22:57:25 wolf31o2 Exp $
+
+portage_version=`/usr/lib/portage/bin/portageq best_version / sys-apps/portage \
+ | cut -d/ -f2 | cut -d- -f2,3`
+if [ `echo ${portage_version} | cut -d- -f1 | cut -d. -f3` -lt 51 ]
+then
+ echo "ERROR: Your portage version is too low in your seed stage. Portage version"
+ echo "2.0.51 or greater is required."
+ exit 1
+fi
/usr/sbin/env-update
source /etc/profile