Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 621 - patch to make kernel-sources use patches
Summary: patch to make kernel-sources use patches
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-09 15:40 UTC by Ian Smith
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Smith 2002-02-09 15:40:14 UTC
Minimal & hopefully safe, but I KNOW you'll want to change stuff to use
variables etc. that I haven't found out about.  My testing on this is ongoing
(!), but I wanted to set the ball rolling . . .

ebuild patch followed by digest:

sparky linux-sources # diff linux-sources-2.4.17-r99.ebuild
linux-sources-2.4.17-r3.ebuild
30,31c30,31
< DESCRIPTION="Linux kernel version ${KV} - 2.4.0 source plus patches"
< SRC_URI="http://www.de.kernel.org/pub/linux/kernel/v2.4/linux-2.4.0.tar.bz2
http://www.de.kernel.org/pub/linux/kernel/v2.4/patch-2.4.1.bz2
http://www.de.kernel.org/pub/linux/kernel/v2.4/patch-2.4.2.bz2
http://www.de.kernel.org/pub/linux/kernel/v2.4/patch-2.4.3.bz2
http://www.de.kernel.org/pub/linux/kernel/v2.4/patch-2.4.4.bz2
http://www.de.kernel.org/pub/linux/kernel/v2.4/patch-2.4.5.bz2
http://www.de.kernel.org/pub/linux/kernel/v2.4/patch-2.4.6.bz2
http://www.de.kernel.org/pub/linux/kernel/v2.4/patch-2.4.7.bz2
http://www.de.kernel.org/pub/linux/kernel/v2.4/patch-2.4.8.bz2
http://www.de.kernel.org/pub/linux/kernel/v2.4/patch-2.4.9.bz2
http://www.de.kernel.org/pub/linux/kernel/v2.4/patch-2.4.10.bz2
http://www.de.kernel.org/pub/linux/kernel/v2.4/patch-2.4.11.bz2
http://www.de.kernel.org/pub/linux/kernel/v2.4/patch-2.4.12.bz2
http://www.de.kernel.org/pub/linux/kernel/v2.4/patch-2.4.13.bz2
http://www.de.kernel.org/pub/linux/kernel/v2.4/patch-2.4.14.bz2
http://www.de.kernel.org/pub/linux/kernel/v2.4/patch-2.4.15.bz2
http://www.de.kernel.org/pub/linux/kernel/v2.4/patch-2.4.16.bz2
http://www.de.kernel.org/pub/linux/kernel/v2.4/patch-2.4.17.bz2
http://www.ibiblio.org/gentoo/distfiles/linux-gentoo-2.4.17-r3.patch.bz2"
---
> DESCRIPTION="Linux kernel version ${KV} - full sources"
> SRC_URI="http://www.de.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2 
http://www.ibiblio.org/gentoo/distfiles/linux-gentoo-${KV}.patch.bz2"
51,52c51
<       unpack linux-2.4.0.tar.bz2
<       linux/scripts/patch-kernel linux /usr/portage/distfiles
---
>       unpack linux-${OKV}.tar.bz2

sparky linux-sources # cat files/digest-linux-sources-2.4.17-r99
MD5 18278baa4c54387b1c29f0edba55ab14 linux-2.4.0.tar.bz2 19788626
MD5 c4939f92452ab1c2f3ae064802496edc patch-2.4.1.bz2 538678
MD5 46b6589242917f64693be1a970d29c61 patch-2.4.10.bz2 2098208
MD5 a3fe972e3208cf48b457178df5c7b584 patch-2.4.11.bz2 784238
MD5 43c5522a6db8e9e004b13e82efed2b5b patch-2.4.12.bz2 36846
MD5 069415a346b7288fac793b8effe677b2 patch-2.4.13.bz2 615709
MD5 3bdfcd5e75ed2412255dee8254f90472 patch-2.4.14.bz2 573667
MD5 cb291d3b4daf0f05e6df71679e8fcccf patch-2.4.15.bz2 1267539
MD5 46bebbadb58bc9e9c0ddfad953c1f01e patch-2.4.16.bz2 5782
MD5 4f84bb410cba4bf9c4199107a9e5ecb7 patch-2.4.17.bz2 397066
MD5 123ec90e74f036b63ccc68d934650d32 patch-2.4.2.bz2 1188820
MD5 b4d9eb63471c165ecb71ffa23d55d58b patch-2.4.3.bz2 1078123
MD5 0434231fb1cea1a7f58f185cc8584d6c patch-2.4.4.bz2 1808799
MD5 d3b253e80e1a6cbd5cceebb042d15d11 patch-2.4.5.bz2 883596
MD5 066b898615e650adbf2c1fc1802b3a26 patch-2.4.6.bz2 1390867
MD5 0a01b76b95d94706a50afb5033f7a9ab patch-2.4.7.bz2 982933
MD5 4e94d6e3e79f8f0e8e45fd92625e08ef patch-2.4.8.bz2 785040
MD5 8d11c39ef979f53e0c09d63f417e1d38 patch-2.4.9.bz2 607194
MD5 64d19389db4c2d92ad4923697ae03b9b linux-gentoo-2.4.17-r3.patch.bz2 1098120
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-02-09 15:46:27 UTC
This actually makes the download much bigger than if you simply download 2.4.17
and our gentoo patch.
Comment 2 Ian Smith 2002-02-09 16:01:32 UTC
. . . until 2.4.18 comes out . . .  and OK I suppose people who purge their
distfiles might not appreciate it.

Is it really such a bad idea?

Comment 3 Daniel Robbins (RETIRED) gentoo-dev 2002-02-09 16:18:53 UTC
To download 2.4.0 and every patch since then?  Yes, that's a bad idea.  Please
don't reopen this bug