The hawkey / hif backend has code to keep the last 3 kernel versions installed, but it seems to have stopped working at some point in the past. Not sure how it is on F20, but I would guess it's broken there as well.
Created attachment 98944 [details] [review]
hif: Reimplement multiple kernel package installation
We had existing code that allowed us to keep multiple kernel packages
installed, but this had broken at some point. This commit reimplements it using
current hawkey API, simplifying code and making it work again.
There's some small chance that this doesn't work with current PK. When I developed the code, rawhide didn't have libhif and I ended up doing it using a week old PK checkout, before the hawkey -> hif port. It rebased cleanly on top of current master, but please test that it actually builds before pushing :)
P.S. Happy to help review the libhif package if needed.
Thanks, merged to master and 0.9.x