1 |
So far, I've been building and installing my kernels manually, as |
2 |
suggested in the handbook: |
3 |
make && make modules_install |
4 |
cp arch/x86/boot/bzImage /boot/kernel-x.x.x-gentoo |
5 |
Thanks for pointing out the 'make install' option. I'll give that a try. |
6 |
|
7 |
|
8 |
On Mon, Dec 16, 2013 at 10:52 PM, Alan McKinnon <alan.mckinnon@×××××.com> wrote: |
9 |
> On 16/12/2013 22:39, Alexander Kapshuk wrote: |
10 |
>> |
11 |
>> On 12/16/2013 10:28 PM, Mick wrote: |
12 |
>>> On Monday 16 Dec 2013 19:57:30 Alexander Kapshuk wrote: |
13 |
>>>> On Dec 16, 2013 9:38 PM, "the" <the.guard@××××.ru> wrote: |
14 |
>>>>> -----BEGIN PGP SIGNED MESSAGE----- |
15 |
>>>>> Hash: SHA1 |
16 |
>>>>> |
17 |
>>>>> On 12/16/13 23:30, Alexander Kapshuk wrote: |
18 |
>>>>>> Interesting option. Wish it had said it would nuke my .config as |
19 |
>>>>>> well. Just finished setting it up. Thought I'd follow the advice |
20 |
>>>>>> given before rebuilding the kernel. Should've backed up the .config |
21 |
>>>>>> file prior to running 'make distclean'. |
22 |
>>>>> Thanks for the heads up. |
23 |
>>>>> Perhaps it's a good idea to include configuration in the binary |
24 |
>>>> Sounds like good advice. Thought of this as well afterwards. |
25 |
>>>> Thanks. |
26 |
>>> Don't you save a copy of your kernel .config in /boot/ ? |
27 |
>>> |
28 |
>> Apparently not. |
29 |
>> |
30 |
>> Is this the recommended location for a backup copy of .conf? |
31 |
> |
32 |
> |
33 |
> It's what you get when you run make install in the kernel source dir. |
34 |
> |
35 |
> If you install your kernel image manually, then you must remember to do |
36 |
> it yourself. There is no "recommended location" as such - any old place |
37 |
> is as good as any other place and the choice is really up to you, so a |
38 |
> recommendation is pointless. |
39 |
> |
40 |
> But seeing as the kernel's Makefile makes a copy of the .config and |
41 |
> System.map in /boot, it makes sense to follow that established pattern. |
42 |
> |
43 |
> Or you could just use make install |
44 |
> |
45 |
> |
46 |
> -- |
47 |
> Alan McKinnon |
48 |
> alan.mckinnon@×××××.com |
49 |
> |
50 |
> |