From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QrVxY-0001u3-AD for garchives@archives.gentoo.org; Thu, 11 Aug 2011 14:10:08 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 559EB21C02A; Thu, 11 Aug 2011 14:09:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 27C6B21C02A for ; Thu, 11 Aug 2011 14:09:59 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 649D71B4022 for ; Thu, 11 Aug 2011 14:09:58 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2195) id 5CCDF2004C; Thu, 11 Aug 2011 14:09:56 +0000 (UTC) From: "Mike Pagano (mpagano)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, mpagano@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in eclass: kernel-2.eclass X-VCS-Repository: gentoo-x86 X-VCS-Files: kernel-2.eclass X-VCS-Directories: eclass X-VCS-Committer: mpagano X-VCS-Committer-Name: Mike Pagano Content-Type: text/plain; charset=utf8 Message-Id: <20110811140956.5CCDF2004C@flycatcher.gentoo.org> Date: Thu, 11 Aug 2011 14:09:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 0669c5b74809e6b99ccd8e24fc3d7abf mpagano 11/08/11 14:09:56 Modified: kernel-2.eclass Log: Add message in pkg_postrm to inform user that modified kernel source is= not cleaned up by package manager. Bug #378611 Revision Changes Path 1.256 eclass/kernel-2.eclass file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/kernel-2.ec= lass?rev=3D1.256&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/kernel-2.ec= lass?rev=3D1.256&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/kernel-2.ec= lass?r1=3D1.255&r2=3D1.256 Index: kernel-2.eclass =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v retrieving revision 1.255 retrieving revision 1.256 diff -u -r1.255 -r1.256 --- kernel-2.eclass 8 Aug 2011 23:14:56 -0000 1.255 +++ kernel-2.eclass 11 Aug 2011 14:09:56 -0000 1.256 @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.255 2011/0= 8/08 23:14:56 mpagano Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.256 2011/0= 8/11 14:09:56 mpagano Exp $ =20 # Description: kernel.eclass rewrite for a clean base regarding the 2.6 # series of kernel with back-compatibility for 2.4 @@ -70,7 +70,7 @@ # order, so they are applied in the order passed =20 inherit eutils toolchain-funcs versionator multilib -EXPORT_FUNCTIONS pkg_setup src_unpack src_compile src_test src_install p= kg_preinst pkg_postinst +EXPORT_FUNCTIONS pkg_setup src_unpack src_compile src_test src_install p= kg_preinst pkg_postinst pkg_postrm =20 # Added by Daniel Ostrow # This is an ugly hack to get around an issue with a 32-bit userland on = ppc64. @@ -1295,3 +1295,14 @@ [[ ${ETYPE} =3D=3D headers ]] && setup_headers [[ ${ETYPE} =3D=3D sources ]] && echo ">>> Preparing to unpack ..." } + +kernel-2_pkg_postrm() { + echo + ewarn "Note: Even though you have successfully unmerged " + ewarn "your kernel package, directories in kernel source location: " + ewarn "${ROOT}usr/src/linux-${KV_FULL}" + ewarn "with modified files will remain behind. By design, package manag= ers" + ewarn "will not remove these modified files and the directories they re= side in." + echo +} +