# ChangeLog for gentoo/src/catalyst
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.144 2005/01/11 15:22:41 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.145 2005/01/11 22:49:44 wolf31o2 Exp $
+
+ 11 Jan 2005; Chris Gianelloni <wolf31o2@gentoo.org>
+ livecd/runscript-support/kmerge.sh:
+ Added ccache support to genkernel call in livecd-stage2.
11 Jan 2005; John Davis <zhen@gentoo.org>
targets/netboot/netboot-busybox.sh, targets/netboot/netboot-combine.sh,
#!/bin/bash
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/livecd/runscript-support/Attic/kmerge.sh,v 1.19 2004/10/28 15:05:36 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/livecd/runscript-support/Attic/kmerge.sh,v 1.20 2005/01/11 22:49:44 wolf31o2 Exp $
die() {
echo "$1"
# default genkernel args
GK_ARGS="${clst_livecd_gk_mainargs} \
${clst_livecd_gk_kernargs} \
+ --no-mountboot \
--kerneldir=/usr/src/linux \
--kernel-config=/var/tmp/${clst_kname}.config \
--minkernpackage=/usr/portage/packages/gk_binaries/${clst_kname}-${clst_version_stamp}.tar.bz2 all"
then
GK_ARGS="${GK_ARGS} --gensplash=${clst_livecd_splash_theme}"
fi
+
+ if [ -n "${clst_CCACHE}" ]
+ then
+ GK_ARGS="${GK_ARGS} --kernel-cc=/usr/lib/ccache/bin/gcc --utils-cc=/usr/lib/ccache/bin/gcc"
+ fi
if [ -e "/var/tmp/${clst_kname}.postconf" ]
then