hypercube: Fix autoremove breakage on aarch64 03/1803/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Fri, 18 Oct 2019 12:19:53 +0000 (14:19 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Fri, 18 Oct 2019 12:19:53 +0000 (14:19 +0200)
commite50ea671b740b8f81322525c7a71a6bd590a258b
treefe8ed0ec6f728c4c0c0eeb1e6af3b1d8dddd5766
parentd4675a60bfbce02a3e0a51ef683db1d0fe4abd53
hypercube: Fix autoremove breakage on aarch64

Docker build fails on aarch64 with the following:

/var/tmp/rpm-tmp.CnRLJw: line 1: /usr/sbin/new-kernel-pkg: No such file
or directory
error: %preun(kernel-core-4.18.0-80.7.2.el7.aarch64) scriptlet failed,
exit status 127
Error in PREUN scriptlet in rpm package
kernel-core-4.18.0-80.7.2.el7.aarch64

The rootcause is the missing 'grubby' package in the CentOS docker
image we fetch from upstream, so install it before calling autoremove,
then clean it up later.

Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Change-Id: I92e6529e6459b5570d6970a415a249c57aa5ecc3
caas-kubernetes.spec
docker-build/hyperkube/Dockerfile