Merge lp:~ltrager/maas-images/lowlatency_kernels into lp:maas-images
- lowlatency_kernels
- Merge into maas-ephemerals
Proposed by
Lee Trager
Status: | Merged |
---|---|
Merged at revision: | 326 |
Proposed branch: | lp:~ltrager/maas-images/lowlatency_kernels |
Merge into: | lp:maas-images |
Diff against target: |
154 lines (+49/-41) 2 files modified
conf/meph-v3.yaml (+40/-40) meph2/stream.py (+9/-1) |
To merge this branch: | bzr merge lp:~ltrager/maas-images/lowlatency_kernels |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Scott Moser (community) | Approve | ||
Review via email: mp+303890@code.launchpad.net |
Commit message
Description of the change
Only add the non-generic kflavor to the product name and not in the subarch. I'll add support for rolling and edge kernels in subsequent MPs.
To post a comment you must log in.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'conf/meph-v3.yaml' | |||
2 | --- conf/meph-v3.yaml 2016-08-23 15:30:05 +0000 | |||
3 | +++ conf/meph-v3.yaml 2016-08-25 03:05:56 +0000 | |||
4 | @@ -11,7 +11,7 @@ | |||
5 | 11 | # 'khdata' is an optional dictionary used to tell which dtb files to pull or | 11 | # 'khdata' is an optional dictionary used to tell which dtb files to pull or |
6 | 12 | # what kernel helper to run on the kernel and initramfs. | 12 | # what kernel helper to run on the kernel and initramfs. |
7 | 13 | 13 | ||
9 | 14 | # Previous to 16.04 kernels were naming using the format | 14 | # Previous to 16.04 subarches were named using the format |
10 | 15 | # hwe-<first letter of release>. From 16.04 onwards kernels come in the format | 15 | # hwe-<first letter of release>. From 16.04 onwards kernels come in the format |
11 | 16 | # hwe-<release version>. Because the version has a '.' in it we keep the old | 16 | # hwe-<release version>. Because the version has a '.' in it we keep the old |
12 | 17 | # naming format for the anchors. | 17 | # naming format for the anchors. |
13 | @@ -24,14 +24,14 @@ | |||
14 | 24 | - &sa_hwe_u [generic, hwe-p, hwe-q, hwe-r, hwe-s, hwe-t, hwe-u] | 24 | - &sa_hwe_u [generic, hwe-p, hwe-q, hwe-r, hwe-s, hwe-t, hwe-u] |
15 | 25 | - &sa_hwe_v [generic, hwe-p, hwe-q, hwe-r, hwe-s, hwe-t, hwe-u, hwe-v] | 25 | - &sa_hwe_v [generic, hwe-p, hwe-q, hwe-r, hwe-s, hwe-t, hwe-u, hwe-v] |
16 | 26 | - &sa_hwe_w [generic, hwe-p, hwe-q, hwe-r, hwe-s, hwe-t, hwe-u, hwe-v, hwe-w] | 26 | - &sa_hwe_w [generic, hwe-p, hwe-q, hwe-r, hwe-s, hwe-t, hwe-u, hwe-v, hwe-w] |
19 | 27 | - &sa_hwe_x [generic, hwe-p, hwe-q, hwe-r, hwe-s, hwe-t, hwe-u, hwe-v, hwe-w, hwe-16.04, hwe-16.04-lowlatency] | 27 | - &sa_hwe_x [generic, hwe-p, hwe-q, hwe-r, hwe-s, hwe-t, hwe-u, hwe-v, hwe-w, hwe-16.04] |
20 | 28 | - &sa_hwe_y [generic, hwe-p, hwe-q, hwe-r, hwe-s, hwe-t, hwe-u, hwe-v, hwe-w, hwe-16.04, hwe-16.04-lowlatency, hwe-16.10] | 28 | - &sa_hwe_y [generic, hwe-p, hwe-q, hwe-r, hwe-s, hwe-t, hwe-u, hwe-v, hwe-w, hwe-16.04, hwe-16.10] |
21 | 29 | - &arm_hwe_t [generic, highbank, hwe-p, hwe-q, hwe-r, hwe-s, hwe-t] | 29 | - &arm_hwe_t [generic, highbank, hwe-p, hwe-q, hwe-r, hwe-s, hwe-t] |
22 | 30 | - &arm_hwe_u [generic, highbank, hwe-p, hwe-q, hwe-r, hwe-s, hwe-t, hwe-u] | 30 | - &arm_hwe_u [generic, highbank, hwe-p, hwe-q, hwe-r, hwe-s, hwe-t, hwe-u] |
23 | 31 | - &arm_hwe_v [generic, highbank, hwe-p, hwe-q, hwe-r, hwe-s, hwe-t, hwe-u, hwe-v] | 31 | - &arm_hwe_v [generic, highbank, hwe-p, hwe-q, hwe-r, hwe-s, hwe-t, hwe-u, hwe-v] |
24 | 32 | - &arm_hwe_w [generic, highbank, hwe-p, hwe-q, hwe-r, hwe-s, hwe-t, hwe-u, hwe-v, hwe-w] | 32 | - &arm_hwe_w [generic, highbank, hwe-p, hwe-q, hwe-r, hwe-s, hwe-t, hwe-u, hwe-v, hwe-w] |
27 | 33 | - &arm_hwe_x [generic, highbank, hwe-p, hwe-q, hwe-r, hwe-s, hwe-t, hwe-u, hwe-v, hwe-w, hwe-16.04, hwe-16.04-lowlatency] | 33 | - &arm_hwe_x [generic, highbank, hwe-p, hwe-q, hwe-r, hwe-s, hwe-t, hwe-u, hwe-v, hwe-w, hwe-16.04] |
28 | 34 | - &arm_hwe_y [generic, highbank, hwe-p, hwe-q, hwe-r, hwe-s, hwe-t, hwe-u, hwe-v, hwe-w, hwe-16.04, hwe-16.04-lowlatency, hwe-16.10] | 34 | - &arm_hwe_y [generic, highbank, hwe-p, hwe-q, hwe-r, hwe-s, hwe-t, hwe-u, hwe-v, hwe-w, hwe-16.04, hwe-16.10] |
29 | 35 | 35 | ||
30 | 36 | misc: | 36 | misc: |
31 | 37 | - &glpae generic-lpae | 37 | - &glpae generic-lpae |
32 | @@ -46,65 +46,65 @@ | |||
33 | 46 | release: yakkety | 46 | release: yakkety |
34 | 47 | kernels: | 47 | kernels: |
35 | 48 | - [yakkety, amd64, hwe-16.10, generic, linux-generic, *sa_hwe_y] | 48 | - [yakkety, amd64, hwe-16.10, generic, linux-generic, *sa_hwe_y] |
36 | 49 | - [yakkety, amd64, hwe-16.10, lowlatency, linux-image-lowlatency, *sa_hwe_y] | ||
37 | 49 | - [yakkety, arm64, hwe-16.10, generic, linux-generic, *sa_hwe_y] | 50 | - [yakkety, arm64, hwe-16.10, generic, linux-generic, *sa_hwe_y] |
38 | 50 | - [yakkety, arm64, *mustang, generic, linux-generic, [*mustang], *kh-mustang] | 51 | - [yakkety, arm64, *mustang, generic, linux-generic, [*mustang], *kh-mustang] |
39 | 51 | - [yakkety, arm64, *xguboot, generic, linux-generic, [*xguboot], *kh-xgene] | 52 | - [yakkety, arm64, *xguboot, generic, linux-generic, [*xguboot], *kh-xgene] |
40 | 52 | - [yakkety, armhf, *glpae, *glpae, linux-generic-lpae, [*glpae]] | 53 | - [yakkety, armhf, *glpae, *glpae, linux-generic-lpae, [*glpae]] |
41 | 53 | - [yakkety, armhf, hwe-16.10, generic, linux-generic, *arm_hwe_y] | 54 | - [yakkety, armhf, hwe-16.10, generic, linux-generic, *arm_hwe_y] |
42 | 54 | - [yakkety, i386, hwe-16.10, generic, linux-generic, *sa_hwe_y] | 55 | - [yakkety, i386, hwe-16.10, generic, linux-generic, *sa_hwe_y] |
43 | 56 | - [yakkety, i386, hwe-16.10, lowlatency, linux-image-lowlatency, *sa_hwe_y] | ||
44 | 55 | - [yakkety, ppc64el, hwe-16.10, generic, linux-generic, *sa_hwe_y] | 57 | - [yakkety, ppc64el, hwe-16.10, generic, linux-generic, *sa_hwe_y] |
45 | 56 | - [yakkety, s390x, hwe-16.10, generic, linux-generic, *sa_hwe_y] | 58 | - [yakkety, s390x, hwe-16.10, generic, linux-generic, *sa_hwe_y] |
46 | 57 | - version: "16.04" | 59 | - version: "16.04" |
47 | 58 | release: xenial | 60 | release: xenial |
48 | 59 | kernels: | 61 | kernels: |
49 | 60 | - [xenial, amd64, hwe-16.04, generic, linux-generic, *sa_hwe_x] | 62 | - [xenial, amd64, hwe-16.04, generic, linux-generic, *sa_hwe_x] |
51 | 61 | - [xenial, amd64, hwe-16.04-lowlatency, lowlatency, linux-image-lowlatency-lts-xenial, *sa_hwe_x] | 63 | - [xenial, amd64, hwe-16.04, lowlatency, linux-image-lowlatency-lts-xenial, *sa_hwe_x] |
52 | 62 | - [xenial, arm64, hwe-16.04, generic, linux-generic, *sa_hwe_x] | 64 | - [xenial, arm64, hwe-16.04, generic, linux-generic, *sa_hwe_x] |
53 | 63 | - [xenial, arm64, hwe-16.04-lowlatency, lowlatency, linux-image-lowlatency-lts-xenial, *sa_hwe_x] | ||
54 | 64 | - [xenial, arm64, *mustang, generic, linux-generic, [*mustang], *kh-mustang] | 65 | - [xenial, arm64, *mustang, generic, linux-generic, [*mustang], *kh-mustang] |
55 | 65 | - [xenial, arm64, *xguboot, generic, linux-generic, [*xguboot], *kh-xgene] | 66 | - [xenial, arm64, *xguboot, generic, linux-generic, [*xguboot], *kh-xgene] |
56 | 66 | - [xenial, armhf, *glpae, *glpae, linux-generic-lpae, [*glpae]] | 67 | - [xenial, armhf, *glpae, *glpae, linux-generic-lpae, [*glpae]] |
57 | 67 | - [xenial, armhf, hwe-16.04, generic, linux-generic, *arm_hwe_x] | 68 | - [xenial, armhf, hwe-16.04, generic, linux-generic, *arm_hwe_x] |
58 | 68 | - [xenial, armhf, hwe-16.04-lowlatency, lowlatency, linux-image-lowlatency-lts-xenial, *arm_hwe_x] | ||
59 | 69 | - [xenial, i386, hwe-16.04, generic, linux-generic, *sa_hwe_x] | 69 | - [xenial, i386, hwe-16.04, generic, linux-generic, *sa_hwe_x] |
61 | 70 | - [xenial, i386, hwe-16.04-lowlatency, lowlatency, linux-image-lowlatency-lts-xenial, *sa_hwe_x] | 70 | - [xenial, i386, hwe-16.04, lowlatency, linux-image-lowlatency-lts-xenial, *sa_hwe_x] |
62 | 71 | - [xenial, ppc64el, hwe-16.04, generic, linux-generic, *sa_hwe_x] | 71 | - [xenial, ppc64el, hwe-16.04, generic, linux-generic, *sa_hwe_x] |
63 | 72 | - [xenial, ppc64el, hwe-16.04-lowlatency, lowlatency, linux-image-lowlatency-lts-xenial, *sa_hwe_x] | ||
64 | 73 | - [xenial, s390x, hwe-16.04, generic, linux-generic, *sa_hwe_x] | 72 | - [xenial, s390x, hwe-16.04, generic, linux-generic, *sa_hwe_x] |
65 | 74 | - [xenial, s390x, hwe-16.04-lowlatency, lowlatency, linux-image-lowlatency-lts-xenial, *sa_hwe_x] | ||
66 | 75 | - version: "14.04" | 73 | - version: "14.04" |
67 | 76 | builtin_kernel: linux-generic | 74 | builtin_kernel: linux-generic |
68 | 77 | release: trusty | 75 | release: trusty |
69 | 78 | kernels: | 76 | kernels: |
99 | 79 | - [trusty, armhf, hwe-t, generic, linux-generic, *arm_hwe_t] | 77 | - [trusty, armhf, hwe-t, generic, linux-generic, *arm_hwe_t] |
100 | 80 | - [trusty, armhf, *glpae, *glpae, linux-generic-lpae, [*glpae]] | 78 | - [trusty, armhf, *glpae, *glpae, linux-generic-lpae, [*glpae]] |
101 | 81 | - [trusty, armhf, keystone, keystone, linux-keystone, [keystone]] | 79 | - [trusty, armhf, keystone, keystone, linux-keystone, [keystone]] |
102 | 82 | - [trusty, i386, hwe-t, generic, linux-generic, *sa_hwe_t] | 80 | - [trusty, i386, hwe-t, generic, linux-generic, *sa_hwe_t] |
103 | 83 | - [trusty, amd64, hwe-t, generic, linux-generic, *sa_hwe_t] | 81 | - [trusty, amd64, hwe-t, generic, linux-generic, *sa_hwe_t] |
104 | 84 | - [trusty, ppc64el, hwe-t, generic, linux-generic, *sa_hwe_t] | 82 | - [trusty, ppc64el, hwe-t, generic, linux-generic, *sa_hwe_t] |
105 | 85 | - [trusty, arm64, hwe-t, generic, linux-generic, *sa_hwe_t] | 83 | - [trusty, arm64, hwe-t, generic, linux-generic, *sa_hwe_t] |
106 | 86 | - [trusty, arm64, *xguboot, generic, linux-generic, [*xguboot], *kh-xgene] | 84 | - [trusty, arm64, *xguboot, generic, linux-generic, [*xguboot], *kh-xgene] |
107 | 87 | - [trusty, arm64, *mustang, generic, linux-generic, [*mustang], *kh-mustang] | 85 | - [trusty, arm64, *mustang, generic, linux-generic, [*mustang], *kh-mustang] |
108 | 88 | - [utopic, amd64, hwe-u, generic, linux-generic-lts-utopic, *sa_hwe_u] | 86 | - [utopic, amd64, hwe-u, generic, linux-generic-lts-utopic, *sa_hwe_u] |
109 | 89 | - [utopic, arm64, hwe-u, generic, linux-generic-lts-utopic, *sa_hwe_u] | 87 | - [utopic, arm64, hwe-u, generic, linux-generic-lts-utopic, *sa_hwe_u] |
110 | 90 | - [utopic, armhf, hwe-u, generic, linux-generic-lts-utopic, *sa_hwe_u] | 88 | - [utopic, armhf, hwe-u, generic, linux-generic-lts-utopic, *sa_hwe_u] |
111 | 91 | - [utopic, i386, hwe-u, generic, linux-generic-lts-utopic, *sa_hwe_u] | 89 | - [utopic, i386, hwe-u, generic, linux-generic-lts-utopic, *sa_hwe_u] |
112 | 92 | - [utopic, ppc64el, hwe-u, generic, linux-generic-lts-utopic, *sa_hwe_u] | 90 | - [utopic, ppc64el, hwe-u, generic, linux-generic-lts-utopic, *sa_hwe_u] |
113 | 93 | - [vivid, amd64, hwe-v, generic, linux-generic-lts-vivid, *sa_hwe_v] | 91 | - [vivid, amd64, hwe-v, generic, linux-generic-lts-vivid, *sa_hwe_v] |
114 | 94 | - [vivid, arm64, hwe-v, generic, linux-generic-lts-vivid, *sa_hwe_v] | 92 | - [vivid, arm64, hwe-v, generic, linux-generic-lts-vivid, *sa_hwe_v] |
115 | 95 | - [vivid, armhf, hwe-v, generic, linux-generic-lts-vivid, *sa_hwe_v] | 93 | - [vivid, armhf, hwe-v, generic, linux-generic-lts-vivid, *sa_hwe_v] |
116 | 96 | - [vivid, i386, hwe-v, generic, linux-generic-lts-vivid, *sa_hwe_v] | 94 | - [vivid, i386, hwe-v, generic, linux-generic-lts-vivid, *sa_hwe_v] |
117 | 97 | - [vivid, ppc64el, hwe-v, generic, linux-generic-lts-vivid, *sa_hwe_v] | 95 | - [vivid, ppc64el, hwe-v, generic, linux-generic-lts-vivid, *sa_hwe_v] |
118 | 98 | - [wily, amd64, hwe-w, generic, linux-generic-lts-wily, *sa_hwe_w] | 96 | - [wily, amd64, hwe-w, generic, linux-generic-lts-wily, *sa_hwe_w] |
119 | 99 | - [wily, arm64, hwe-w, generic, linux-generic-lts-wily, *sa_hwe_w] | 97 | - [wily, arm64, hwe-w, generic, linux-generic-lts-wily, *sa_hwe_w] |
120 | 100 | - [wily, armhf, hwe-w, generic, linux-generic-lts-wily, *sa_hwe_w] | 98 | - [wily, armhf, hwe-w, generic, linux-generic-lts-wily, *sa_hwe_w] |
121 | 101 | - [wily, i386, hwe-w, generic, linux-generic-lts-wily, *sa_hwe_w] | 99 | - [wily, i386, hwe-w, generic, linux-generic-lts-wily, *sa_hwe_w] |
122 | 102 | - [wily, ppc64el, hwe-w, generic, linux-generic-lts-wily, *sa_hwe_w] | 100 | - [wily, ppc64el, hwe-w, generic, linux-generic-lts-wily, *sa_hwe_w] |
123 | 103 | - [xenial, amd64, hwe-x, generic, linux-generic-lts-xenial, *sa_hwe_x] | 101 | - [xenial, amd64, hwe-16.04, generic, linux-generic-lts-xenial, *sa_hwe_x] |
124 | 104 | - [xenial, arm64, hwe-x, generic, linux-generic-lts-xenial, *sa_hwe_x] | 102 | - [xenial, amd64, hwe-16.04, lowlatency, linux-image-lowlatency-lts-xenial, *sa_hwe_x] |
125 | 105 | - [xenial, armhf, hwe-x, generic, linux-generic-lts-xenial, *sa_hwe_x] | 103 | - [xenial, arm64, hwe-16.04, generic, linux-generic-lts-xenial, *sa_hwe_x] |
126 | 106 | - [xenial, i386, hwe-x, generic, linux-generic-lts-xenial, *sa_hwe_x] | 104 | - [xenial, armhf, hwe-16.04, generic, linux-generic-lts-xenial, *sa_hwe_x] |
127 | 107 | - [xenial, ppc64el, hwe-x, generic, linux-generic-lts-xenial, *sa_hwe_x] | 105 | - [xenial, i386, hwe-16.04, generic, linux-generic-lts-xenial, *sa_hwe_x] |
128 | 106 | - [xenial, i386, hwe-16.04, lowlatency, linux-image-lowlatency-lts-xenial, *sa_hwe_x] | ||
129 | 107 | - [xenial, ppc64el, hwe-16.04, generic, linux-generic-lts-xenial, *sa_hwe_x] | ||
130 | 108 | - version: "12.04" | 108 | - version: "12.04" |
131 | 109 | release: precise | 109 | release: precise |
132 | 110 | builtin_kernel: {armhf: linux-highbank, default: 'linux-generic'} | 110 | builtin_kernel: {armhf: linux-highbank, default: 'linux-generic'} |
133 | 111 | 111 | ||
134 | === modified file 'meph2/stream.py' | |||
135 | --- meph2/stream.py 2016-08-24 05:05:47 +0000 | |||
136 | +++ meph2/stream.py 2016-08-25 03:05:56 +0000 | |||
137 | @@ -146,8 +146,16 @@ | |||
138 | 146 | if i not in kdata: | 146 | if i not in kdata: |
139 | 147 | kdata[i] = kdata_defaults[i] | 147 | kdata[i] = kdata_defaults[i] |
140 | 148 | 148 | ||
141 | 149 | # The subarch cannot contain the kernel flavor. We add it to the | ||
142 | 150 | # product name so different kernels can be shown in the stream as | ||
143 | 151 | # part of the product name. | ||
144 | 152 | if flavor != 'generic': | ||
145 | 153 | product_psubarch = "%s-%s" % (psubarch, flavor) | ||
146 | 154 | else: | ||
147 | 155 | product_psubarch = psubarch | ||
148 | 156 | |||
149 | 149 | subs.update({'krel': krel, 'kpkg': kpkg, 'flavor': flavor, | 157 | subs.update({'krel': krel, 'kpkg': kpkg, 'flavor': flavor, |
151 | 150 | 'psubarch': psubarch, | 158 | 'psubarch': product_psubarch, |
152 | 151 | 'suffix': kdata["suffix"]}) | 159 | 'suffix': kdata["suffix"]}) |
153 | 152 | 160 | ||
154 | 153 | boot_keys = ['boot-kernel', 'boot-initrd'] | 161 | boot_keys = ['boot-kernel', 'boot-initrd'] |
i think this looks sane.
I dont love the large white space change in trusty: . you could avoid that by adding an anchor for hwe1604 or something, but this should hopefully be about the last change to 14.04, so its fine.