Make crux compatible with delorean packaging

The previous version of crus 6-1 installed pbr hooks.  This is
incompatible with CentOS RDO.  Remove the requirements.txt file
from the RPM that is installed.  This required placing the files
in a new COPRS repository.  Since Lars no longer contributes to
Kolla, I imported his src rpm, made the necessary adjustments,
and created a new COPRS repo for it.

The result of the PBR hooks is that any container that ran crux
would fail with a distribution error about argparse not being
present when it was present.

Change-Id: Ibdbccd9e0dd5aeb6d6292bd633b9d2dde8c7b4ce
Closes-bug: #1460886
This commit is contained in:
Steven Dake 2015-06-01 20:15:55 -07:00
parent 59a2cd4089
commit 962e48970a
2 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ RUN yum install -y https://rdoproject.org/repos/openstack-kilo/rdo-release-kilo.
# This repository provides latest packages built from trunk master into RPMs # This repository provides latest packages built from trunk master into RPMs
RUN curl http://trunk.rdoproject.org/centos70/current/delorean.repo -o /etc/yum.repos.d/delorean-current.repo RUN curl http://trunk.rdoproject.org/centos70/current/delorean.repo -o /etc/yum.repos.d/delorean-current.repo
# This repository provides crux which permits idempotent operation of RDO # This repository provides crux which permits idempotent operation of RDO
RUN curl https://copr.fedoraproject.org/coprs/larsks/crux/repo/epel-7/larsks-crux-epel-7.repo -o /etc/yum.repos.d/larsks-crux-epel-7.repo RUN curl https://copr.fedoraproject.org/coprs/sdake/crux/repo/epel-7/sdake-crux-epel-7.repo -o /etc/yum.repos.d/sdake-crux-epel-7.repo
# This repository turns off auth in PAM so we can operate on Ubuntu 14.04 # This repository turns off auth in PAM so we can operate on Ubuntu 14.04
RUN curl https://copr.fedoraproject.org/coprs/sdake/pam.noaudit/repo/epel-7/sdake-pam.noaudit-epel-7.repo -o /etc/yum.repos.d/sdake-pam.noaudit-epel-7.repo RUN curl https://copr.fedoraproject.org/coprs/sdake/pam.noaudit/repo/epel-7/sdake-pam.noaudit-epel-7.repo -o /etc/yum.repos.d/sdake-pam.noaudit-epel-7.repo

View File

@ -4,8 +4,8 @@ MAINTAINER Kolla Project (https://launchpad.net/kolla)
# Set up repositories # Set up repositories
RUN yum install -y https://rdo.fedorapeople.org/rdo-release.rpm RUN yum install -y https://rdo.fedorapeople.org/rdo-release.rpm
RUN yum -y install dnf dnf-plugins-core && yum clean all RUN yum -y install dnf dnf-plugins-core && yum clean all
RUN dnf copr enable -y larsks/crux RUN dnf copr enable -y sdake/crux
run dnf copr enable -y sdake/pam.noaudit RUN dnf copr enable -y sdake/pam.noaudit
# Update packages # Update packages