Centos7-build fails because of dependency with EPEL when building in locked down environment

Bug #1918926 reported by Trygve Vea
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
diskimage-builder
New
Undecided
Unassigned

Bug Description

In our case, we have diskimage-builder running in a locked down environment with its own mirrored repositories. We set DIB_DISTRIBUTION_MIRROR to point to these repositories.

When building centos7, the build fails because it is unable to install python36-PyYAML.

It is unable to do this, because of diskimage_builder/elements/yum/pre-install.d/01-00-centos-python3, which were added in commit 4dbfab66a13d6e0568133c5fe349a719167017fa

The file will install epel-release, and then attempt to install python36-PyYAML from there - which isn't possible due to no access to the Internet.

We use diskimage-builder==3.1.0 as a workaround for this bug.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.