summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@fieldses.org>2013-07-10 16:54:34 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2016-02-09 10:09:52 -0800
commitb64e86cdf6a9d772c47b8e594dd173b86270fd1b (patch)
tree8a39ea80b3487e5fbf472aeda6543d611511c9d1 /crypto
parent765bdb406de4b6132e349c5d4e077866536a9cc0 (diff)
downloadop-kernel-dev-b64e86cdf6a9d772c47b8e594dd173b86270fd1b.zip
op-kernel-dev-b64e86cdf6a9d772c47b8e594dd173b86270fd1b.tar.gz
scripts: add "prune-kernel" script to clean up old kernel images
Long ago, Dave Jones complained about CONFIG_LOCALVERSION_AUTO: "I don't use the auto config, because I end up filling up /boot unless I go through and clean them out by hand every time I install a new one (which I do probably a dozen or so times a day). Is there some easy way to prune old builds I'm missing?" To which Bruce replied: "I run this by hand every now and then. I'm probably doing it all wrong" And if he is running it wrong, then so am I - because I've been using this script ever since. It is true that CONFIG_LOCALVERSION_AUTO easily ends up filling your /boot partition if you don't clean up old versions regularly, and this script helps make that easier. Checked with Bruce to see that it's fine to add this to the kernel scripts. Maybe people will come up with enhancements, but more importantly, this way I won't misplace this script whenever I install a new machine and start doing custom kernels for it. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud