-
Committer:
MAAS Lander
-
Author(s):
Lee Trager
-
Date:
2016-10-06 17:34:26 UTC
-
mfrom:
(5429.4.5 hwe_rolling)
-
Revision ID:
maas_lander-20161006173426-fap6rsnm9czideia
[r=blake-rouse][bug=][author=ltrager] Add support for hwe-rolling kernels
hwe-rolling kernels are metapackages which depend on the latest kernel available. Instead of duplicating the kernels in the stream lp:maas-images will determine if an already published kernel is a dependency of a rolling kernel and set the 'rolling' field to True. This MP stores that field in the BootResource table. When listing supported kernels the region appends the hwe-rolling kernels if one of the supported kernels has the rolling field set true. The rack now creates hard links for hwe-rolling kernels if the 'rolling' field is set true. This allows grub to show its booting a rolling kernel even though it didn't need to download a second set of files.