summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Robbins <drobbins@gentoo.org>2002-03-22 05:26:09 +0000
committerDaniel Robbins <drobbins@gentoo.org>2002-03-22 05:26:09 +0000
commitcbb4b53af19dee1a5db89542d4c2e33b13ed4c84 (patch)
treee8234147c304a0e1f50df7c8395fa1674bc56f06 /sys-kernel/linux-sources
parentdep fix (diff)
downloadhistorical-cbb4b53af19dee1a5db89542d4c2e33b13ed4c84.tar.gz
historical-cbb4b53af19dee1a5db89542d4c2e33b13ed4c84.tar.bz2
historical-cbb4b53af19dee1a5db89542d4c2e33b13ed4c84.zip
added "make mrproper" to postinst to fix flaky patches
Diffstat (limited to 'sys-kernel/linux-sources')
-rw-r--r--sys-kernel/linux-sources/linux-sources-2.4.17-r5.ebuild3
-rw-r--r--sys-kernel/linux-sources/linux-sources-2.4.18.ebuild3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys-kernel/linux-sources/linux-sources-2.4.17-r5.ebuild b/sys-kernel/linux-sources/linux-sources-2.4.17-r5.ebuild
index 373b4e757684..78c35d23a1ba 100644
--- a/sys-kernel/linux-sources/linux-sources-2.4.17-r5.ebuild
+++ b/sys-kernel/linux-sources/linux-sources-2.4.17-r5.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Daniel Robbins <drobbins@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-sources/linux-sources-2.4.17-r5.ebuild,v 1.4 2002/03/20 23:12:12 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-sources/linux-sources-2.4.17-r5.ebuild,v 1.5 2002/03/22 05:26:09 drobbins Exp $
#OKV=original kernel version, KV=patched kernel version. They can be the same.
#we use this next variable to avoid duplicating stuff on cvs
@@ -110,6 +110,7 @@ pkg_preinst() {
pkg_postinst() {
[ "$PN" = "linux-headers" ] && return
cd ${ROOT}usr/src/linux-${KV}
+ make mrproper
if [ -e "${ROOT}usr/src/linux/.config" ]
then
cp "${ROOT}usr/src/linux/.config" .config
diff --git a/sys-kernel/linux-sources/linux-sources-2.4.18.ebuild b/sys-kernel/linux-sources/linux-sources-2.4.18.ebuild
index f82b16ab79ed..36f28a8155ca 100644
--- a/sys-kernel/linux-sources/linux-sources-2.4.18.ebuild
+++ b/sys-kernel/linux-sources/linux-sources-2.4.18.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Daniel Robbins <drobbins@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-sources/linux-sources-2.4.18.ebuild,v 1.4 2002/03/20 23:12:12 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-sources/linux-sources-2.4.18.ebuild,v 1.5 2002/03/22 05:26:09 drobbins Exp $
#OKV=original kernel version, KV=patched kernel version. They can be the same.
#we use this next variable to avoid duplicating stuff on cvs
@@ -108,6 +108,7 @@ pkg_preinst() {
pkg_postinst() {
[ "$PN" = "linux-headers" ] && return
+ make mrproper
cd ${ROOT}usr/src/linux-${KV}
if [ -e "${ROOT}usr/src/linux/.config" ]
then