On Thu, 2019-08-01 at 17:01 +0200, Marc Lehmann wrote: [...] > I always wondered why initramfs has its own system - > although I guess that debian doesn't have a "canonical" way to enumerate > kernels, so it's not clear what the right mehtod is. > > BTW, my workaorund just iterates over /boot/vmlinuz-* to find kernel > versions - that's probably not the best method :)
I introduced the "linux-version" command some years back for precisely this purpose. Ben. -- Ben Hutchings You can't have everything. Where would you put it?
signature.asc
Description: This is a digitally signed message part