Browse Source

Exclude acpid on Red Hat family DIB builds

Red Hat/centos do not ship acpid for ppc64le, but others do.
This patch sets up a package map for DIB to exclude the acpid
package on Red Hat family image builds, while allowing it for the
other distros.

Change-Id: Iaef520e5f2a66833228e824ec4fb41f5915169af
changes/87/714487/1
Michael Johnson 2 years ago
parent
commit
81ed1334d2
  1. 5
      elements/amphora-agent/package-installs.yaml
  2. 2
      elements/amphora-agent/pkg-map

5
elements/amphora-agent/package-installs.yaml

@ -10,7 +10,12 @@ python-dev:
installtype: source
acl:
# Note: Red Hat family does not currently ship acpid for ppc64le.
# This sets up a pkg-map to exclude it for Red Hat family ppc64le arch
acpid-ppc64le:
arch: ppc64le, ppc64el
acpid:
arch: i386, amd64, arm64, s390x
apparmor:
apt-transport-https:
at:

2
elements/amphora-agent/pkg-map

@ -22,6 +22,7 @@
"family": {
"redhat": {
"amphora-agent": "openstack-octavia-amphora-agent",
"acpid-ppc64le": "",
"netcat-openbsd": "nmap-ncat",
"netbase": "",
"cron": "",
@ -43,6 +44,7 @@
},
"default": {
"amphora-agent": "amphora-agent",
"acpid-ppc64le": "acpid",
"network-scripts": ""
}
}

Loading…
Cancel
Save