fix for dev problem
authorJohn P. Davis <zhen@gentoo.org>
Tue, 6 Apr 2004 05:31:37 +0000 (05:31 +0000)
committerJohn P. Davis <zhen@gentoo.org>
Tue, 6 Apr 2004 05:31:37 +0000 (05:31 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@346 d1e1f19c-881f-0410-ab34-b69fee027534

ChangeLog
targets/stage1/stage1-chroot.sh

index 282e11acf82a076816119e26e4afd96fc76dda38..f25e5f713238129904fce2c9899f83b353f2e2aa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,9 @@
 # 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.38 2004/04/05 20:31:43 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.39 2004/04/06 05:31:37 zhen Exp $
+
+  06 Apr 2004; John Davis <zhen@gentoo.org> targets/stage1/stage1-chroot.sh:
+  fix for /dev in stage1
 
   05 Apr 2004; John Davis <zhen@gentoo.org> modules/targets.py:
   bugfix for #46861
index 233fc1aaa3d99585af07db8603b9e2d5655c2066..11635bc40a5b2ec0d09dc41fe79f0e7bb4b81d78 100755 (executable)
@@ -43,10 +43,10 @@ case $1 in
                        USE="-* build" emerge ${EMERGE_OPTS} --noreplace $x || exit 1
                done
 
-               if [ ! -d /dev ]
+               if [ ! -d ${ROOT}/dev ]
                then
-                       mkdir -p /dev
-                       cd /dev
+                       mkdir -p ${ROOT}/dev
+                       cd ${ROOT}/dev
                        MAKEDEV generic-i386
                fi
        ;;
@@ -59,7 +59,7 @@ case $1 in
                if [ -e /usr/sbin/gcc-config ]
                then
                        mythang=\$( cd /etc/env.d/gcc; ls ${clst_CHOST}-* )
-                       gcc-config \${mythang}; env-update; source /etc/profile
+                       gcc-config \${mythang}; /usr/sbin/env-update; source /etc/profile
                fi
                #stage1 is not going to have anything in zoneinfo, so save our Factory timezone
                rm -f /etc/localtime