[PATCH] Restrict payload kernel versions to kernels in the payload (#1074358)

David Lehman dlehman at redhat.com
Wed Jan 21 16:38:27 UTC 2015


On 01/21/2015 10:18 AM, David Shea wrote:
> On 01/21/2015 11:16 AM, David Lehman wrote:
>> On 01/20/2015 01:53 PM, David Shea wrote:
>>> Remove the generic implementation of kernelVersionList from Payload.
>>> Instead, have each payload return an iterable of the kernels that were
>>> actually in the payload. Add a method to the packaging module to handle
>>> version comparisons in the non-package payload types.
>>>
>>> Remove rescueKernelList, since the bootloader was the only thing to use
>>> this, so the bootloader can look for resuce kernels on its own.
>>
>> So we'll still make initrds for all kernels on live install?
>
> Yes. It'll just pull the list from the live payload instead of from
> /mnt/sysimage/boot, so if you reuse /boot for some reason it won't
> trample whatever you had in there.

I was concerned we'd recreate initrds for old kernels as well. Great. Ack.

> _______________________________________________
> anaconda-patches mailing list
> anaconda-patches at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches



More information about the anaconda-patches mailing list