# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Id: $
+ 05 Mar 2008; Chris Gianelloni <wolf31o2@gentoo.org>
+ targets/support/kmerge.sh:
+ Make sure we don't give genkernel a --kernel-config if it isn't set in the
+ spec.
+
05 Mar 2008; Chris Gianelloni <wolf31o2@gentoo.org> catalyst,
modules/generic_stage_target.py, targets/support/kmerge.sh,
targets/support/pre-kmerge.sh:
--cachedir=/tmp/kerncache/${clst_kname}-genkernel_cache-${clst_version_stamp} \
--no-mountboot \
--kerneldir=/usr/src/linux \
- --kernel-config=/var/tmp/${clst_kname}.config \
--modulespackage=/tmp/kerncache/${clst_kname}-modules-${clst_version_stamp}.tar.bz2 \
--minkernpackage=/tmp/kerncache/${clst_kname}-kernel-initrd-${clst_version_stamp}.tar.bz2 all"
# extra genkernel options that we have to test for
then
GK_ARGS="${GK_ARGS} --kerncache=/tmp/kerncache/${clst_kname}-kerncache-${clst_version_stamp}.tar.bz2"
fi
+ if [ -e /var/tmp/${clst_kname}.config ]
+ then
+ GK_ARGS="${GK_ARGS} --kernel-config=/var/tmp/${clst_kname}.config"
+ fi
if [ -n "${clst_splash_theme}" ]
then