add a way for arches to specify genkernel args
authorBrad House <brad_mssw@gentoo.org>
Mon, 26 Jan 2004 18:15:50 +0000 (18:15 +0000)
committerBrad House <brad_mssw@gentoo.org>
Mon, 26 Jan 2004 18:15:50 +0000 (18:15 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@196 d1e1f19c-881f-0410-ab34-b69fee027534

examples/livecd/runscript/default-runscript.sh
examples/livecd/runscript/sparc64-archscript.sh
examples/livecd/runscript/x86-archscript.sh

index 66f1fe75d7360e5d37b65497abb9d16bce919286..0ac79995a31c6101563497bd5d48aece6b81f3f9 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/examples/livecd/runscript/Attic/default-runscript.sh,v 1.10 2004/01/25 07:32:58 brad_mssw Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/examples/livecd/runscript/Attic/default-runscript.sh,v 1.11 2004/01/26 18:15:50 brad_mssw Exp $
 
 #return codes to be used by archscript
 
@@ -99,7 +99,7 @@ case $1 in
                                        emerge --noreplace $clst_ksource || exit 1
                                fi
 
-                               genkernel --kerneldir=/usr/src/linux --kernel-config=/var/tmp/$clst_kname.config --minkernpackage=/tmp/binaries/$clst_kname.tar.bz2 all || exit 1
+                               genkernel ${genkernel_args} --kerneldir=/usr/src/linux --kernel-config=/var/tmp/$clst_kname.config --minkernpackage=/tmp/binaries/$clst_kname.tar.bz2 all || exit 1
                                emerge -C genkernel $clst_ksource
                                # END OF SCRIPT TO BUILD EACH KERNEL
 EOF
index 52d124234822f233c19703b693c9f37d823895be..7d83234e290bec68be2042b44eb23b2f6d55ada1 100644 (file)
@@ -1,9 +1,11 @@
 # Copyright 1999-2004 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/examples/livecd/runscript/Attic/sparc64-archscript.sh,v 1.2 2004/01/20 22:24:39 drobbins Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/examples/livecd/runscript/Attic/sparc64-archscript.sh,v 1.3 2004/01/26 18:15:50 brad_mssw Exp $
 
 case $1 in
        kernel)
+               genkernel_args=""
+               export genkernel_args
                exit $RETURN_CONTINUE
        ;;
 
index d1ae1dbe208458665f17aecd2b001e334053355e..f0d7cbbf64244006c2ca537ab5c844f6dd5e5f05 100644 (file)
@@ -1,9 +1,11 @@
 # Copyright 1999-2004 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/examples/livecd/runscript/Attic/x86-archscript.sh,v 1.3 2004/01/21 05:48:24 drobbins Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/examples/livecd/runscript/Attic/x86-archscript.sh,v 1.4 2004/01/26 18:15:50 brad_mssw Exp $
 
 case $1 in
        kernel)
+               genkernel_args=""
+               export genkernel_args
        ;;
        
        preclean)