# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Id: $
+ 13 Mar 2008; Chris Gianelloni <wolf31o2@gentoo.org>
+ targets/support/kmerge.sh:
+ We don't really need to use binary packages for the kernel sources, since it
+ doesn't gain us anything. Also, we need to delete the /usr/src/linux symlink
+ when we're not using kerncache.
+
13 Mar 2008; Andrew Gaffney <agaffney@gentoo.org>
targets/support/kmerge.sh:
Remove 'symlink' from USE, since it's not needed and screws up kerncache
if [ -n "${clst_KERNCACHE}" ]
then
mkdir -p /tmp/kerncache/${clst_kname}
- clst_root_path=/tmp/kerncache/${clst_kname} PKGDIR=${PKGDIR} run_merge --nodeps -uqkb "${clst_ksource}" || exit 1
+ clst_root_path=/tmp/kerncache/${clst_kname} PKGDIR=${PKGDIR} run_merge clst_myemergeopts="--quiet --nodeps --upgrade --newuse" "${clst_ksource}" || exit 1
[ -L /usr/src/linux ] && rm -f /usr/src/linux
ln -s /tmp/kerncache/${clst_kname}/usr/src/linux /usr/src/linux
else
+ [ -L /usr/src/linux ] && rm -f /usr/src/linux
run_merge "${clst_ksource}" || exit 1
fi
make_destpath