commit for 1.0.5.1
authorJohn P. Davis <zhen@gentoo.org>
Sun, 4 Apr 2004 16:58:15 +0000 (16:58 +0000)
committerJohn P. Davis <zhen@gentoo.org>
Sun, 4 Apr 2004 16:58:15 +0000 (16:58 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@342 d1e1f19c-881f-0410-ab34-b69fee027534

ChangeLog
targets/embedded/embedded.sh
targets/grp/grp.sh
targets/stage1/stage1-chroot.sh
targets/stage2/stage2.sh
targets/stage3/stage3.sh
targets/tinderbox/tinderbox.sh

index c126890ccea7d143975d47bdc0e23ecafebb7dc2..4e794aa3c822ab06974f102270bf370c8019a41b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,13 @@
 # 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.34 2004/04/02 21:09:10 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.35 2004/04/04 16:58:15 zhen Exp $
+
+  04 Apr 2004; John Davis <zhen@gentoo.org> targets/embedded/embedded.sh,
+  targets/grp/grp.sh, targets/stage1/stage1-chroot.sh,
+  targets/stage2/stage2.sh, targets/stage3/stage3.sh,
+  targets/tinderbox/tinderbox.sh:
+  fix to address missing /dev in stages, fixed path for env-update in all of the
+  targets
 
   02 Apr 2004; John Davis <zhen@gentoo.org> modules/targets.py:
   use broken for grp, livecd-stage1, tinderbox, etc. fixed
index 7e408f935db82525d22e416b809cf63ea755fdf8..1cbbfaff2576fa0f68c5dc868eaf69316c93b723 100644 (file)
@@ -1,6 +1,6 @@
 # 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/Attic/embedded.sh,v 1.1 2004/03/22 15:25:52 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/embedded/Attic/embedded.sh,v 1.2 2004/04/04 16:58:15 zhen Exp $
 
 case $1 in
 enter)
@@ -8,7 +8,7 @@ enter)
        ;;
 run)
        $clst_CHROOT $clst_chroot_path /bin/bash << EOF
-       env-update
+       /usr/sbin/env-update
        source /etc/profile
        export USE="\${clst_embedded_use}"
        rm -f /tmp/stage23
index 7c73a23c59366502cb8ef38303b5965c41527102..fd6b3e7afdf69135a85e3d2ecdc9a5f3845f9a3c 100755 (executable)
@@ -1,6 +1,6 @@
 # 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/Attic/grp.sh,v 1.11 2004/03/26 17:03:29 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/grp/Attic/grp.sh,v 1.12 2004/04/04 16:58:15 zhen Exp $
 
 case $1 in
 enter)
@@ -14,7 +14,7 @@ run)
        shift
        export clst_grp_packages="$*"
        $clst_CHROOT $clst_chroot_path /bin/bash << EOF
-       env-update
+       /usr/sbin/env-update
        source /etc/profile
        if [ -n "${clst_ENVSCRIPT}" ]
        then
index 4fe6369510257bbe36121ab72bdbe296ca0f195a..233fc1aaa3d99585af07db8603b9e2d5655c2066 100755 (executable)
@@ -1,20 +1,24 @@
 #!/bin/bash
                
-env-update
+/usr/sbin/env-update
 source /etc/profile
+
 if [ -n "${clst_ENVSCRIPT}" ]
 then
        source /tmp/envscript
        rm -f /tmp/envscript
 fi
+
 case $1 in
        build)
+               
                #emerge and enable ccache before we set ROOT
                if [ -n "${clst_CCACHE}" ]
                then
                        export FEATURES="ccache"        
                        emerge --oneshot --nodeps ccache || exit 1
                fi
+               
                if [ -n "${clst_DISTCC}" ]
         then   
                export FEATURES="distcc"
@@ -24,17 +28,27 @@ case $1 in
                /usr/bin/distcc-config --install 2>&1 > /dev/null
                /usr/bin/distccd 2>&1 > /dev/null
         fi
+               
                export ROOT=${2}
                install -d $ROOT
+               
                if [ -n "${clst_PKGCACHE}" ]
                then
                        export EMERGE_OPTS="--usepkg --buildpkg"
                fi
+               
                for x in $(/tmp/build.sh)
                do
                        echo $x >> /tmp/build.log
                        USE="-* build" emerge ${EMERGE_OPTS} --noreplace $x || exit 1
                done
+
+               if [ ! -d /dev ]
+               then
+                       mkdir -p /dev
+                       cd /dev
+                       MAKEDEV generic-i386
+               fi
        ;;
 
        preclean)
index 83530f1a5e5a8bb82bcef26e080289d28108808c..0ed8f6d81dec3098b377363293d8a2304e4ffb11 100755 (executable)
@@ -1,6 +1,6 @@
 # Copyright 1999-2003 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/targets/stage2/Attic/stage2.sh,v 1.10 2004/03/31 21:56:23 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/stage2/Attic/stage2.sh,v 1.11 2004/04/04 16:58:15 zhen Exp $
 
 case $1 in
 enter)
@@ -8,7 +8,7 @@ enter)
        ;;
 run)
        $clst_CHROOT $clst_chroot_path /bin/bash << EOF
-       env-update
+       /usr/sbin/env-update
        source /etc/profile
        if [ -n "${clst_ENVSCRIPT}" ]
        then
index b01b354a0a0f805d0cb5e4d6c0cc4e72d2b7f70e..4eb9ffa73385fb77f4791005f0b9a5a9d4a019f7 100755 (executable)
@@ -1,6 +1,6 @@
 # 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/Attic/stage3.sh,v 1.11 2004/03/26 17:03:29 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/stage3/Attic/stage3.sh,v 1.12 2004/04/04 16:58:15 zhen Exp $
 
 case $1 in
 enter)
@@ -8,7 +8,7 @@ enter)
        ;;
 run)
        $clst_CHROOT $clst_chroot_path /bin/bash << EOF
-       env-update
+       /usr/sbin/env-update
        source /etc/profile
        if [ -n ${ENVSCRIPT} ]
        then
index bb05a4889e33528da9e8710a1919f1bc46bb4fa9..edd51ee6f145653102bcabc5c172b57daf00b88d 100755 (executable)
@@ -1,13 +1,13 @@
 # Copyright 1999-2003 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/targets/tinderbox/Attic/tinderbox.sh,v 1.4 2004/03/26 17:03:29 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/tinderbox/Attic/tinderbox.sh,v 1.5 2004/04/04 16:58:15 zhen Exp $
 
 case $1 in
 run)
        shift
        export clst_tinderbox_packages="$*"
        $clst_CHROOT $clst_chroot_path /bin/bash << EOF
-       env-update
+       /usr/sbin/env-update
        source /etc/profile
        if [ -n "${clst_ENVSCRIPT}" ]
        then