git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1379
d1e1f19c-881f-0410-ab34-
b69fee027534
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Id: $
+ 14 Mar 2008; Andrew Gaffney <agaffney@gentoo.org>
+ targets/support/kmerge.sh:
+ Clean up package.provided after the kernel build
+
13 Mar 2008; Chris Gianelloni <wolf31o2@gentoo.org>
targets/support/kmerge.sh:
It helps if I put things in the correct order so they'll actually execute,
unset USE
echo ${clst_kernel_use} > /tmp/kerncache/${clst_kname}/${clst_kname}-${clst_version_stamp}.USE
+
+
+if [ -n "${clst_KERNCACHE}" ]
+then
+ if [ ! -e /etc/portage/profile/package.provided ]
+ then
+ sed -i "/^${KERNELVERSION}\$/d" /etc/portage/package.provided
+ fi
+fi