Bug 78636 - Hawkey updates don't keep old kernel versions installed
Summary: Hawkey updates don't keep old kernel versions installed
Status: RESOLVED FIXED
Alias: None
Product: PackageKit
Classification: Unclassified
Component: backend-yum (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Richard Hughes
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-12 20:56 UTC by Kalev Lember
Modified: 2014-05-13 08:27 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
hif: Reimplement multiple kernel package installation (5.06 KB, patch)
2014-05-12 21:06 UTC, Kalev Lember
Details | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Kalev Lember 2014-05-12 20:56:59 UTC
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.
Comment 1 Kalev Lember 2014-05-12 21:06:21 UTC
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.
Comment 2 Richard Hughes 2014-05-13 08:27:58 UTC
Thanks, merged to master and 0.9.x


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.