sparc fixup patches
authorJohn P. Davis <zhen@gentoo.org>
Sat, 22 May 2004 00:42:59 +0000 (00:42 +0000)
committerJohn P. Davis <zhen@gentoo.org>
Sat, 22 May 2004 00:42:59 +0000 (00:42 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@381 d1e1f19c-881f-0410-ab34-b69fee027534

ChangeLog
arch/sparc.py
arch/sparc64.py
livecd/runscript/sparc-archscript.sh
livecd/runscript/sparc64-archscript.sh

index a982d400481b9033adc6520015d456a63e69dc85..764753e770054cf102b8072c168ff4fa957971a2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,11 @@
 # 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.52 2004/05/20 21:16:56 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.53 2004/05/22 00:42:59 zhen Exp $
+
+  21 May 2004; John Davis <zhen@gentoo.org> arch/sparc.py, arch/sparc64.py,
+  livecd/runscript/sparc-archscript.sh,
+  livecd/runscript/sparc64-archscript.sh:
+  sparc fixup patches from gustavoz at g.org
 
   20 May 2004; John Davis <zhen@gentoo.org> modules/livecd_stage2_target.py:
   added support for blacklisting modules via hotplug in livecd-stage2. spec key
index dd14adf0bbfe62d147f9d00eb73eacc0fc8cbf74..646c7f2eb736af45906bb3f680ae4f0781845de7 100644 (file)
@@ -21,6 +21,7 @@ class arch_sparc(generic_sparc):
        def __init__(self,myspec):
                generic_sparc.__init__(self,myspec)
                self.settings["CFLAGS"]="-O2"
+               self.settings["CXXFLAGS"]="-O2"
                self.settings["CHOST"]="sparc-unknown-linux-gnu"
 
 def register(foo):
index e6f71da2293e54b4e2d14d9b33e9ad2dc81c24ff..58ed48e8ae5d828ef215ee0e75a4fa5664525783 100644 (file)
@@ -16,6 +16,7 @@ class arch_sparc64(generic_sparc64):
        def __init__(self,myspec):
                generic_sparc64.__init__(self,myspec)
                self.settings["CFLAGS"]="-O2 -mcpu=ultrasparc"
+               self.settings["CXXFLAGS"]="-O2 -mcpu=ultrasparc"
                self.settings["CHOST"]="sparc-unknown-linux-gnu"
 
 def register(foo):
index 3b9cc178ccf9aba3f0082575ccd6b840e3206d90..5e7031d226f7d4a2d7d7ffbaf295977a312c8178 100644 (file)
@@ -1,6 +1,6 @@
 # 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/Attic/sparc-archscript.sh,v 1.2 2004/05/17 01:44:37 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/livecd/runscript/Attic/sparc-archscript.sh,v 1.3 2004/05/22 00:42:59 zhen Exp $
 
 case $1 in
        kernel)
@@ -52,15 +52,9 @@ case $1 in
                            $clst_cdroot_path/boot/$x.igz
                done
                scfg=$clst_cdroot_path/boot/silo.conf
-               kmsg=$clst_cdroot_path/boot/kernels.msg
-               hmsg=$clst_cdroot_path/boot/help.msg
-               echo "default=\"$first\"" > $scfg
-               echo "timeout=\"150\"" >> $scfg
+               echo "default=\"help\"" > $scfg
                echo "message=\"/boot/boot.msg\"" >> $scfg
 
-               echo "Available kernels:" > $kmsg
-               echo "TEST HELP MESSAGE" > $hmsg
-
                for x in $clst_boot_kernel
                do
                        echo >> $icfg
@@ -72,6 +66,10 @@ case $1 in
 
                echo "image=\"cat /boot/silo.conf\"" >> $scfg
                echo -e "label=\"config\"" >> $scfg
+               echo "image=\"cat /boot/video.msg\"" >> $scfg
+               echo -e "label=\"video\"" >> $scfg
+               echo "image=\"cat /boot/help.msg\"" >> $scfg
+               echo -e "label=\"help\"" >> $scfg
        ;;
 
        cdfs)
@@ -80,6 +78,6 @@ case $1 in
        iso)
                # this is for the livecd-final target, and calls the proper
                # command to build the iso file
-               mkisofs -J -R -l -o ${2} -G /boot/isofs.b -B ... ${clst_cdroot_path}
+               mkisofs -J -R -l -o ${2} -G ${clst_cdroot_path}/boot/isofs.b -B ... ${clst_cdroot_path}
        ;;
 esac
index 17bb4f2186306d71d02e948dd24479ac44e3b0dd..f14b2a151eaa3b4c7cd1d59866f644b5ec1bce4b 100644 (file)
@@ -1,6 +1,6 @@
 # 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/Attic/sparc64-archscript.sh,v 1.3 2004/05/17 01:44:37 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/livecd/runscript/Attic/sparc64-archscript.sh,v 1.4 2004/05/22 00:42:59 zhen Exp $
 
 case $1 in
        kernel)
@@ -52,15 +52,9 @@ case $1 in
                            $clst_cdroot_path/boot/$x.igz
                done
                scfg=$clst_cdroot_path/boot/silo.conf
-               kmsg=$clst_cdroot_path/boot/kernels.msg
-               hmsg=$clst_cdroot_path/boot/help.msg
-               echo "default=\"$first\"" > $scfg
-               echo "timeout=\"150\"" >> $scfg
+               echo "default=\"help\"" > $scfg
                echo "message=\"/boot/boot.msg\"" >> $scfg
 
-               echo "Available kernels:" > $kmsg
-               echo "TEST HELP MESSAGE" > $hmsg
-
                for x in $clst_boot_kernel
                do
                        echo >> $icfg
@@ -72,6 +66,10 @@ case $1 in
 
                echo "image=\"cat /boot/silo.conf\"" >> $scfg
                echo -e "label=\"config\"" >> $scfg
+               echo "image=\"cat /boot/video.msg\"" >> $scfg
+               echo -e "label=\"video\"" >> $scfg
+               echo "image=\"cat /boot/help.msg\"" >> $scfg
+               echo -e "label=\"help\"" >> $scfg
        ;;
 
        cdfs)
@@ -80,6 +78,6 @@ case $1 in
        iso)
                # this is for the livecd-final target, and calls the proper
                # command to build the iso file
-               mkisofs -J -R -l -z -o ${2} -G /boot/isofs.b -B ... ${clst_cdroot_path}
+               mkisofs -J -R -l -z -o ${2} -G ${clst_cdroot_path}/boot/isofs.b -B ... ${clst_cdroot_path}
        ;;
 esac