On 04/01/2018 00:02, Stroller wrote: > >> On 3 Jan 2018, at 21:55, Wols Lists <antli...@youngman.org.uk> wrote: >> >> What would be nice, would be if "emerge --depclean" had the smarts to >> recognise that /usr/src/linux pointed to the current active kernel, and >> didn't wipe that when it cleaned out everything else :-) That way, at >> most you could have the current and latest kernel sources available >> pretty easily. > > You've jogged a long-hibernating memory - the accidental removal of the > current sources tree in an accident like this may be the exact reason why I > refuse to allow kernel versions to be actively emerged.
I think that's a mountain and a molehill. You still have the image in /boot, config in /boot or in the running kernel, libs in /lib/modules and the bootloader is intact. Delete the sources? - Re-emerge them. 90 seconds. - Re-compile using existing config. 20 minutes So deleting the sources for the running kernel is a doh! moment. But no biggie, and certainly not cause for changing your routine (all in my own not at all humble opinion, of course) -- Alan McKinnon alan.mckin...@gmail.com