1 |
On Monday, March 30, 2015 11:22:58 PM Bob Wya wrote: |
2 |
> I'm getting a bit bogged down trying to build an early release of the 3.18 |
3 |
> kernel. Since I can't automatically go back before 3.18.9 now (using |
4 |
> portage anyway)... |
5 |
> |
6 |
> Basically I trying to check if a suspend/resume issue I've got was |
7 |
> introduced after the 3.18 kernel was released (or was in the base release). |
8 |
> I've got a reproduce-able failure to suspend-to-ram with >=3.18.x gentoo |
9 |
> kernel sources. However this issue is not present with the gentoo kernel |
10 |
> sources <=3.17.x. (A systemd nfs client mount problem - which blocks the |
11 |
> suspend-to-ram process.) |
12 |
> |
13 |
> I had a look at the kernel-2 eclass and my head started to hurt... Do I |
14 |
> need to wade into the weeds or is there a "short-cut" I can take to go back |
15 |
> to the earliest gentoo-sources 3.18 kernel build :-) |
16 |
> |
17 |
> |
18 |
|
19 |
You can use git. I believe gentoo patches are only for config options so if you |
20 |
configure it with make oldconfig it *should* be the same as using gentoo- |
21 |
sources. |
22 |
|
23 |
cd /usr/src |
24 |
git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux- |
25 |
stable.git |
26 |
cd linux-stable |
27 |
git checkout v3.18.9 |
28 |
make oldconfig |
29 |
make |
30 |
|
31 |
You can checkout any version committed prior to your last "git pull" |
32 |
instantly. |
33 |
|
34 |
-- |
35 |
Fernando Rodriguez |