FIXME: cobbler: setup.sh: Keep extra RPM repos. 77/13377/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 27 Apr 2016 23:48:43 +0000 (01:48 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 27 Apr 2016 23:49:12 +0000 (01:49 +0200)
commit69fd98ae01038e2eb130d55f1f90719d5bc30c67
treeb0cf8f03b8e9f1a9b95278077830dd2622bcc51e
parent058161ede98880ee6071a7bf38532846db29ef76
FIXME: cobbler: setup.sh: Keep extra RPM repos.

cobbler-grub-aarch64 (arm64 specific loader) is currently
distributed and added to the cobbler docker container during
ISO build using EXTRA_RPM_REPOS envvar mechanism.

However, since this package installs files in a mounted location,
its contents are not persistent, requiring a test and eventual
forced reinstall during container start.

This, of course, requires the package to be available at that point,
which is not currently possible, as we remove the extra RPM repository
entry from yum config at the end of container build.

Hacky temporary workaround:
Keep extra RPM yum config after container is set up, only for cobbler.

TODO: This patch should be dropped once cobbler-grub-aarch64 RPM
package gets upstreamed.

Change-Id: I58e39df2671d79125c68a5ec994db962c103ce01
patches/fuel-main/0004-FIXME-cobbler-setup.sh-Keep-extra-RPM-repos.patch [new file with mode: 0644]