8a1c8370a1
Icf8a075224833fcfbbe2128e8802ff41c39f3c09 looked rather ugly, and it's easy for us to expand the processing done in the arch list. Change "arch" to a comma-separated list of architectures that should match for install. Add a "not-arch" list which will exclude the package from installation on those architectures. (An aside -- I considered making it just he one list with foo,!bar,moo but ! has special meaning in YAML, so it's easier to have two lists). $ ARCH=ppc64 package-installs-squash --elements ironic-agent --path=./elements/ /dev/stdout | grep dmidecode $ ARCH=ppc64 package-installs-squash --elements ironic-agent --path=./elements/ /dev/stdout | grep lshw "lshw", $ ARCH=amd64 package-installs-squash --elements ironic-agent --path=./elements/ /dev/stdout | grep lshw $ ARCH=amd64 package-installs-squash --elements ironic-agent --path=./elements/ /dev/stdout | grep dmidecode "dmidecode", Change-Id: Ic69dd02a09e6f3ba9078a2377d8df29871a20db2
6 lines
No EOL
284 B
YAML
6 lines
No EOL
284 B
YAML
---
|
|
features:
|
|
- The ``package-installs`` element now supports a list of
|
|
architectures to install the package for in the ``arch`` field and
|
|
negative matching with a ``not-arch`` field. This allows greater
|
|
flexibility when installing packages for only some architectures. |