pungi/pungi
Lubomír Sedlář 535034ef91 image_container: Fix incorrect arch processing
OSBS will reject no scratch builds with arch_override.

When the option is not specified in Pungi, it would do `"".split(" ")`
to get list of arches, which returns a list with empty string instead of
an empty list.

With this fixed, it might be possible to have multiple images match the
spec (unless arch is used in the filter). To fix that, we can replace
arch with $basearch variable.

JIRA: RHELCMP-3824
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2021-03-08 11:57:48 +01:00
..
compose_metadata Format code base with black 2020-02-05 17:35:47 +08:00
ostree ostree: set umask to be more permissive for ostree operations 2020-04-17 09:20:24 +02:00
phases image_container: Fix incorrect arch processing 2021-03-08 11:57:48 +01:00
scripts Format code 2021-03-02 18:31:45 +08:00
wrappers runroot: Adjust permissions always 2021-03-04 16:08:06 +08:00
__init__.py Format code base with black 2020-02-05 17:35:47 +08:00
arch.py Format code base with black 2020-02-05 17:35:47 +08:00
arch_utils.py Format code 2021-03-02 18:31:45 +08:00
checks.py Format code 2021-03-02 18:31:45 +08:00
common.py Format code base with black 2020-02-05 17:35:47 +08:00
compose.py Store extended traceback for gather errors 2021-02-17 11:11:26 +01:00
config.py Format code base with black 2020-02-05 17:35:47 +08:00
createiso.py Use xorrisofs for creating ISOs when needed 2020-11-20 09:47:49 +08:00
dnf_wrapper.py Format code base with black 2020-02-05 17:35:47 +08:00
errors.py Move UnsignedPackagesError to a separate file 2021-02-08 10:16:32 +00:00
gather.py Format code 2021-03-02 18:31:45 +08:00
gather_dnf.py Fix flake8 issues 2020-05-26 11:49:50 +02:00
graph.py Format code 2021-03-02 18:31:45 +08:00
ks.py Format code base with black 2020-02-05 17:35:47 +08:00
linker.py Hardlink or copy scratch builds always 2020-08-07 18:00:19 +08:00
media_split.py Format code base with black 2020-02-05 17:35:47 +08:00
metadata.py Include images info in composeinfo.json 2020-10-14 17:57:30 +08:00
module_util.py Move import of modulemd to a separate module 2019-10-03 10:40:31 +02:00
multilib_dnf.py Format code base with black 2020-02-05 17:35:47 +08:00
multilib_yum.py Format code base with black 2020-02-05 17:35:47 +08:00
notifier.py notification: Add compose_path into the messages 2020-06-09 06:40:26 +00:00
pathmatch.py Remove FSF address from comments 2016-09-23 10:26:43 +02:00
paths.py Allow including scratch module builds 2020-07-17 09:08:36 +08:00
profiler.py Format code base with black 2020-02-05 17:35:47 +08:00
runroot.py runroot: Adjust permissions always 2021-03-04 16:08:06 +08:00
util.py Format code 2021-03-02 18:31:45 +08:00