On Friday 13 April 2007 01:12:08 Anthony E. Caudel wrote:
> > At around 300MB per kernel, that's ten excess kernels, so you can't be
> > doing it that often. Once you're happy with the current kernel, you only
> > need "emerge -P gentoo-sources" to remove the rest. I use a script that
> > removes all but the last two, and also cleans out /lib/modules and /boot.
>
> Neil, any chance we could get that script?

Provided you have gentoolkit something as simple as this works:

# emerge -Cva $(equery -q list gentoo-sources | head -n -2)

-- 
Bo Andresen

Attachment: pgpGwVbNGGWa5.pgp
Description: PGP signature

Reply via email to