p/fuel: bm: linux-image-generic-hwe-16.04-edge 29/46729/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Sun, 5 Nov 2017 20:20:02 +0000 (21:20 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Sun, 5 Nov 2017 20:21:26 +0000 (21:21 +0100)
commit67aed7515601fc8b4d2dea326c4e634de7f8fa48
tree31a9e1289b8865e4ba913424b506c6848cdfdca2
parent4b7e790d335787ce0837ca47025dd7a14287e52a
p/fuel: bm: linux-image-generic-hwe-16.04-edge

The Salt way to pin the kernel version is via its reclass model, by
defining system.kernel.version. However, this only works with
explicit kernel package names and not with meta package names
(e.g. linux-image-4.13.0-9916-generic is expected instead of
      linux-image-generic-hwe-16.04-edge, which would break the
`linux_kernel_old_absent` state).

For now, let's explicitly call `pkg.install` for the kernel and
headers packages, using the meta package name to ensure automatic
fallback to Ubuntu packages if Armband repos are missing,
respectively to automatically pick up new kernel package names
in case of meta + kernel packages bump later.

JIRA: ARMBAND-280

Change-Id: I5448df1de1b3c211583708402b5c7497df92fc16
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
patches/opnfv-fuel/0014-baremetal-linux-image-generic-hwe-16.04-edge.patch [new file with mode: 0644]