# ChangeLog for gentoo/src/catalyst
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.93 2004/10/12 17:33:40 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.94 2004/10/12 18:01:22 zhen Exp $
+
+ 12 Oct 2004; John Davis <zhen@gentoo.org>
+ targets/embedded/cramfs-runscript.sh, targets/embedded/embedded-chroot.sh,
+ +targets/embedded/unmerge.sh, targets/grp/grp-chroot.sh,
+ targets/livecd-stage1/livecd-stage1-chroot.sh, targets/netboot/netboot.sh,
+ targets/stage1/stage1-chroot.sh, targets/stage3/stage3-chroot.sh,
+ livecd/runscript-support/kmerge.sh:
+ bugfixes for #67195, #67197, #67122, and #46918
12 Oct 2004; John Davis <zhen@gentoo.org> modules/netboot.py:
small netboot fixups
#!/bin/bash
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/livecd/runscript-support/Attic/pre-kmerge.sh,v 1.3 2004/09/08 15:58:12 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/livecd/runscript-support/Attic/pre-kmerge.sh,v 1.4 2004/10/12 18:01:22 zhen Exp $
/usr/sbin/env-update
source /etc/profile
-emerge -k -b genkernel
+if [ ! -e "/usr/bin/genkernel" ]
+then
+ emerge -k -b genkernel
+fi
+
install -d /usr/portage/packages/gk_binaries
rm -f /usr/src/linux
case $1 in
run)
- # move this to preclean stage
- # it's a hack because dhcpcd is lame
- install -d $root_fs_path/var/lib/dhcpc
-
install -d $clst_image_path
mkcramfs $root_fs_path $clst_image_path/root.img
imagesize=`du -sk $clst_image_path/root.img | cut -f1`
#!/bin/bash
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/targets/embedded/embedded-chroot.sh,v 1.8 2004/10/05 13:22:06 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/embedded/embedded-chroot.sh,v 1.9 2004/10/12 18:01:22 zhen Exp $
/usr/sbin/env-update
source /etc/profile
if [ -n "${clst_PKGCACHE}" ]
then
- export clst_myemergeopts="--usepkg --buildpkg"
+ export clst_myemergeopts="--usepkg --buildpkg --newuse"
fi
# setup the environment
--- /dev/null
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/embedded/unmerge.sh,v 1.1 2004/10/12 18:01:22 zhen Exp $
+
+${clst_CHROOT} ${clst_chroot_path} /bin/bash << EOF
+ ROOT=/tmp/mergeroot emerge -C $* || exit 1
+EOF
#!/bin/bash
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/targets/grp/grp-chroot.sh,v 1.8 2004/10/05 13:22:06 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/grp/grp-chroot.sh,v 1.9 2004/10/12 18:01:22 zhen Exp $
/usr/sbin/env-update
source /etc/profile
if [ -n "${clst_VERBOSE}" ]
then
- emerge --usepkg --buildpkg --noreplace -vp ${clst_grp_packages} || exit 1
+ emerge --usepkg --buildpkg --noreplace --newuse -vp ${clst_grp_packages} || exit 1
sleep 15
fi
- emerge --usepkg --buildpkg --noreplace ${clst_grp_packages} || exit 1
+ emerge --usepkg --buildpkg --noreplace --newuse ${clst_grp_packages} || exit 1
else
unset DISTDIR
#don't grab MS core fonts, etc.
#!/bin/bash
# Copyright 1999-2003 Gentoo Technologies, Inc.
# 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.7 2004/10/05 13:22:06 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/livecd-stage1/livecd-stage1-chroot.sh,v 1.8 2004/10/12 18:01:22 zhen Exp $
/usr/sbin/env-update
source /etc/profile
if [ -n "${clst_PKGCACHE}" ]
then
- clst_emergeopts="--usepkg --buildpkg"
+ clst_emergeopts="--usepkg --buildpkg --newuse"
else
clst_emergeopts=""
fi
#!/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.sh,v 1.4 2004/10/11 15:54:48 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/netboot/Attic/netboot.sh,v 1.5 2004/10/12 18:01:22 zhen Exp $
export GK_BINARIES=/var/tmp/gk_binaries
export IMAGE_PATH=/tmp/image
fi
if [ -n "${clst_PKGCACHE}" ]
then
- export clst_myemergeopts="${clst_myemergeopts} --usepkg --buildpkg"
+ export clst_myemergeopts="${clst_myemergeopts} --usepkg --buildpkg --newuse"
fi
scriptdir=${clst_sharedir}/targets/netboot
#!/bin/bash
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/targets/stage1/stage1-chroot.sh,v 1.22 2004/10/05 13:22:06 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/stage1/stage1-chroot.sh,v 1.23 2004/10/12 18:01:22 zhen Exp $
/usr/sbin/env-update
source /etc/profile
if [ -n "${clst_PKGCACHE}" ]
then
- export clst_myemergeopts="${clst_myemergeopts} --usepkg --buildpkg"
+ export clst_myemergeopts="${clst_myemergeopts} --usepkg --buildpkg --newuse"
fi
# setup our environment
export clst_buildpkgs="$(/tmp/build.py)"
STAGE1_USE="$(source /etc/make.profile/make.defaults ; echo ${STAGE1_USE})"
-USE="-* build ${STAGE1_USE}" emerge ${clst_myemergeopts} --noreplace ${clst_buildpkgs} || exit 1
+# duplicate line to below - why is this here??
+#USE="-* build ${STAGE1_USE}" emerge ${clst_myemergeopts} --noreplace ${clst_buildpkgs} || exit 1
if [ -n "${clst_VERBOSE}" ]
then
sleep 15
fi
-USE="-* build" emerge ${clst_myemergeopts} --noreplace ${clst_buildpkgs} || exit 1
+USE="-* build ${STAGE1_USE}" emerge ${clst_myemergeopts} --noreplace ${clst_buildpkgs} || exit 1
#!/bin/bash
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/targets/stage3/stage3-chroot.sh,v 1.10 2004/10/05 13:22:07 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/stage3/stage3-chroot.sh,v 1.11 2004/10/12 18:01:22 zhen Exp $
/usr/sbin/env-update
source /etc/profile
if [ -n "${clst_PKGCACHE}" ]
then
- export clst_myemergeopts="${clst_myemergeopts} --usepkg --buildpkg"
+ export clst_myemergeopts="${clst_myemergeopts} --usepkg --buildpkg --newuse"
fi
GRP_STAGE23_USE="$(source /etc/make.profile/make.defaults ; echo ${GRP_STAGE23_USE})"