diff options
author | Jason Cox <steel300@gentoo.org> | 2004-04-07 17:07:20 +0000 |
---|---|---|
committer | Jason Cox <steel300@gentoo.org> | 2004-04-07 17:07:20 +0000 |
commit | 709bc4b2a117701111ecbf666e15527b0862d0c6 (patch) | |
tree | c0ceb8ee58bc728da691f44103ff8e1c9b1cec8b /sys-kernel/mm-sources | |
parent | Work on jabberd2 integration (diff) | |
download | historical-709bc4b2a117701111ecbf666e15527b0862d0c6.tar.gz historical-709bc4b2a117701111ecbf666e15527b0862d0c6.tar.bz2 historical-709bc4b2a117701111ecbf666e15527b0862d0c6.zip |
Fix src_unpack()
Diffstat (limited to 'sys-kernel/mm-sources')
-rw-r--r-- | sys-kernel/mm-sources/ChangeLog | 5 | ||||
-rw-r--r-- | sys-kernel/mm-sources/Manifest | 4 | ||||
-rw-r--r-- | sys-kernel/mm-sources/mm-sources-2.6.5-r1.ebuild | 30 |
3 files changed, 35 insertions, 4 deletions
diff --git a/sys-kernel/mm-sources/ChangeLog b/sys-kernel/mm-sources/ChangeLog index b26f514af1b1..764fa0385b5b 100644 --- a/sys-kernel/mm-sources/ChangeLog +++ b/sys-kernel/mm-sources/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-kernel/mm-sources # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mm-sources/ChangeLog,v 1.145 2004/04/07 02:27:13 steel300 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mm-sources/ChangeLog,v 1.146 2004/04/07 17:07:20 steel300 Exp $ + + 07 Apr 2004; <coxj@gentoo.org> mm-sources-2.6.5-r1.ebuild: + Fix the ebuild to unpack properly 06 Apr 2004; <coxj@gentoo.org> mm-sources-2.6.5-r1.ebuild: Fixed the ebuild to pull from the right place. diff --git a/sys-kernel/mm-sources/Manifest b/sys-kernel/mm-sources/Manifest index 4d942518b6e5..abde5ab1d883 100644 --- a/sys-kernel/mm-sources/Manifest +++ b/sys-kernel/mm-sources/Manifest @@ -2,8 +2,8 @@ MD5 e0590507089b43e572cca6589ed37fb6 mm-sources-2.6.5_rc2-r5.ebuild 1034 MD5 baa4d000eefe9a1c54aaac0e93d133fb mm-sources-2.6.5_rc3-r4.ebuild 1034 MD5 98cdeaf5d06b3bb2008a9eb6c3b5f284 mm-sources-2.6.5_rc2-r2.ebuild 1034 MD5 8a1e6ae80611ad0a877e2d07e8ca44f6 mm-sources-2.6.5_rc3-r1.ebuild 1034 -MD5 b24e23f10c823f996b49b45df135ec3b mm-sources-2.6.5-r1.ebuild 1218 -MD5 bdc929e48f59742d29288cd915e5359f ChangeLog 25245 +MD5 b200a9bee0e4f44e63e32c8e9eb447f3 mm-sources-2.6.5-r1.ebuild 1891 +MD5 993a88d532d3aad5661d4bca33ba7cbc ChangeLog 25343 MD5 5e95fced23ea7c26d39274bc200dabd5 metadata.xml 351 MD5 f8e0add757ed3d0b50ca7f1bcc442bee mm-sources-2.6.5_rc2-r3.ebuild 1072 MD5 e8975009a099b493ca78eb7ba33843e0 mm-sources-2.6.5_rc1-r1.ebuild 1032 diff --git a/sys-kernel/mm-sources/mm-sources-2.6.5-r1.ebuild b/sys-kernel/mm-sources/mm-sources-2.6.5-r1.ebuild index 215da5852cc5..0e8afc4bf981 100644 --- a/sys-kernel/mm-sources/mm-sources-2.6.5-r1.ebuild +++ b/sys-kernel/mm-sources/mm-sources-2.6.5-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mm-sources/mm-sources-2.6.5-r1.ebuild,v 1.3 2004/04/07 02:27:13 steel300 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mm-sources/mm-sources-2.6.5-r1.ebuild,v 1.4 2004/04/07 17:07:20 steel300 Exp $ UNIPATCH_LIST="${DISTDIR}/${KV}.bz2" K_PREPATCHED="yes" @@ -20,6 +20,34 @@ your issue. It is best to do an advanced search as the initial search has a very low yield. Please assign your bugs to x86-kernel@gentoo.org. Please read the ChangeLog and associated docs for more information." +src_unpack() { + cd ${WORKDIR} + unpack linux-${OKV}.tar.bz2 + + mv linux-${OKV} linux-${KV} + cd ${S} + epatch ${DISTDIR}/${KV}-gentoo1.bz2 + find . -iname "*~" | xargs rm 2> /dev/null + + cd ${S} + mv Makefile Makefile.orig + sed -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \ + Makefile.orig >Makefile || die # test, remove me if Makefile ok + rm Makefile.orig + + cd ${S}/Documentation/DocBook + sed -e "s:db2:docbook2:g" Makefile > Makefile.new \ + && mv Makefile.new Makefile + cd ${S} + + #This is needed on > 2.5 + MY_ARCH=${ARCH} + unset ARCH + #sometimes we have icky kernel symbols; this seems to get rid of them + make mrproper || die "make mrproper died" + ARCH=${MY_ARCH} +} + pkg_postinst() { ewarn "If you use the nvidia-kernel binary module, then be sure to verify that" ewarn "Kernel Hacking --> Use 4Kb for kernel stacks instead of 8Kb is not" |