From: Brad House Date: Mon, 26 Jan 2004 18:15:50 +0000 (+0000) Subject: add a way for arches to specify genkernel args X-Git-Tag: CATALYST_1_0_1~44 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=59a1b08c6ac4e96cbd3e8a288bc79d2ed3d3ec23;p=catalyst.git add a way for arches to specify genkernel args git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@196 d1e1f19c-881f-0410-ab34-b69fee027534 --- diff --git a/examples/livecd/runscript/default-runscript.sh b/examples/livecd/runscript/default-runscript.sh index 66f1fe75..0ac79995 100644 --- a/examples/livecd/runscript/default-runscript.sh +++ b/examples/livecd/runscript/default-runscript.sh @@ -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 diff --git a/examples/livecd/runscript/sparc64-archscript.sh b/examples/livecd/runscript/sparc64-archscript.sh index 52d12423..7d83234e 100644 --- a/examples/livecd/runscript/sparc64-archscript.sh +++ b/examples/livecd/runscript/sparc64-archscript.sh @@ -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 ;; diff --git a/examples/livecd/runscript/x86-archscript.sh b/examples/livecd/runscript/x86-archscript.sh index d1ae1dbe..f0d7cbbf 100644 --- a/examples/livecd/runscript/x86-archscript.sh +++ b/examples/livecd/runscript/x86-archscript.sh @@ -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)