On 06/30/2016 08:38 AM, Michał Górny wrote: > Hello, everyone. > > Back in 2011 I started a project called eclean-kernel. The idea was > pretty simple -- to have a tool that would clean the old kernels for > me since their install is not controlled by the package manager. This > little project of mine seems to have gained a lot of popularity. > > Sadly, over time a lot of people had trouble with it. Aside to minor > Python problems, eclean-kernel proved too simple to handle multitude of > user systems with varying /boot layouts. In fact, even I don't use it > on all of my systems since it doesn't handle them properly. > > After being buried in another set of bug reports, I'd like to > officially ask Gentoo developers and users for help. I think it's > impossible to solve most of the bugs reported so far in the current > program design. Therefore, I'd like to rewrite it in a more flexible > manner. > > For this reason, I would like to ask you to provide me with > different /boot layouts you may have, had or seen. Basically, the idea > is to collect as many different layouts as necessary, and use that to > design eclean-kernel in a way making it possible to easily configure it > to handle proper variant -- or even possibly make it capable of > autoconfiguration. > > So if you have some time, please reply to this thread with > a specific /boot layout that you think needs to be handled, with > as much helpful information as possible -- including possible > distinctive features and pitfalls. > > Thanks in advance. >
https://wiki.freedesktop.org/www/Specifications/BootLoaderSpec/ ${MACHINE_ID} is the contents of /etc/machine-id Boot loader config: /boot/loader/entries/${MACHINE_ID}-${KV}.conf Kernel, initramfs, etc.: /boot/${MACHINE_ID}/${KV}/linux /boot/${MACHINE_ID}/${KV}/initrd /boot/${MACHINE_ID}/${KV}/config /boot/${MACHINE_ID}/${KV}/System.map Can be generated by kernel-install(8) (part of systemd). -- Jonathan Callen
signature.asc
Description: OpenPGP digital signature