1 |
As someone using eclean-kernel somewhat regularly, I figured I should |
2 |
mention what running `make all modules_install install` in the kernel |
3 |
source looks like: |
4 |
|
5 |
$ ls -F1 /boot |
6 |
config-4.6.0-gentoo |
7 |
config-4.6.1-gentoo |
8 |
config-4.6.2-gentoo |
9 |
config-4.6.3-gentoo |
10 |
efi/ |
11 |
grub/ |
12 |
initramfs-4.6.0-gentoo.img |
13 |
initramfs-4.6.1-gentoo.img |
14 |
initramfs-4.6.2-gentoo.img |
15 |
initramfs-4.6.3-gentoo.img |
16 |
lost+found/ |
17 |
System.map-4.6.0-gentoo |
18 |
System.map-4.6.1-gentoo |
19 |
System.map-4.6.2-gentoo |
20 |
System.map-4.6.3-gentoo |
21 |
vmlinuz-4.6.0-gentoo |
22 |
vmlinuz-4.6.1-gentoo |
23 |
vmlinuz-4.6.2-gentoo |
24 |
vmlinuz-4.6.3-gentoo |
25 |
|
26 |
This is from running `make install` with files in /etc/kernel/postinst.d to |
27 |
run the following: |
28 |
cd /boot; dracut --force --kver=$1 --install "<list of firmware> |
29 |
grub2-mkconfig -o /boot/grub/grub.cfg |
30 |
|
31 |
/etc/grub.d/10_linux (in sys-boot/grub:2) does have a collection of names |
32 |
it searches through as well, including 13 variants of initrd for the same |
33 |
kernel version. |
34 |
|
35 |
Thanks for maintaining this tool, it's pretty useful in this |
36 |
straightforward case. |
37 |
|
38 |
On Thu, Jun 30, 2016 at 8:38 AM, Michał Górny <mgorny@g.o> wrote: |
39 |
|
40 |
> Hello, everyone. |
41 |
> |
42 |
> Back in 2011 I started a project called eclean-kernel. The idea was |
43 |
> pretty simple -- to have a tool that would clean the old kernels for |
44 |
> me since their install is not controlled by the package manager. This |
45 |
> little project of mine seems to have gained a lot of popularity. |
46 |
> |
47 |
> Sadly, over time a lot of people had trouble with it. Aside to minor |
48 |
> Python problems, eclean-kernel proved too simple to handle multitude of |
49 |
> user systems with varying /boot layouts. In fact, even I don't use it |
50 |
> on all of my systems since it doesn't handle them properly. |
51 |
> |
52 |
> After being buried in another set of bug reports, I'd like to |
53 |
> officially ask Gentoo developers and users for help. I think it's |
54 |
> impossible to solve most of the bugs reported so far in the current |
55 |
> program design. Therefore, I'd like to rewrite it in a more flexible |
56 |
> manner. |
57 |
> |
58 |
> For this reason, I would like to ask you to provide me with |
59 |
> different /boot layouts you may have, had or seen. Basically, the idea |
60 |
> is to collect as many different layouts as necessary, and use that to |
61 |
> design eclean-kernel in a way making it possible to easily configure it |
62 |
> to handle proper variant -- or even possibly make it capable of |
63 |
> autoconfiguration. |
64 |
> |
65 |
> So if you have some time, please reply to this thread with |
66 |
> a specific /boot layout that you think needs to be handled, with |
67 |
> as much helpful information as possible -- including possible |
68 |
> distinctive features and pitfalls. |
69 |
> |
70 |
> Thanks in advance. |
71 |
> |
72 |
> -- |
73 |
> Best regards, |
74 |
> Michał Górny |
75 |
> <http://dev.gentoo.org/~mgorny/> |
76 |
> |