distro: include xz in distro build packages

xz compression is used for the ami and tar output types, it should be in
the buildroot. This fixes Weldr integration test (/cmd/osbuild-tests) on
ARM architecture (aarch64).

The fact that it worked on x86_64 was just a happy coincidence because
we require grub2-pc which in turn requires dracut which requires xz. We
should not rely on these implicit dependencies because we need xz
unconditionaly, therefore adding it to build packages for all platforms.
This commit is contained in:
Martin Sehnoutka 2020-03-23 17:08:16 +01:00 committed by Tom Gundersen
parent 7e69299259
commit e1e5c1bb0b
5 changed files with 5 additions and 0 deletions

View file

@ -170,6 +170,7 @@ func New() *Fedora30 {
"qemu-img",
"systemd",
"tar",
"xz",
},
arches: map[string]arch{
"x86_64": arch{

View file

@ -170,6 +170,7 @@ func New() *Fedora31 {
"qemu-img",
"systemd",
"tar",
"xz",
},
arches: map[string]arch{
"x86_64": arch{

View file

@ -170,6 +170,7 @@ func New() *Fedora32 {
"qemu-img",
"systemd",
"tar",
"xz",
},
arches: map[string]arch{
"x86_64": arch{

View file

@ -175,6 +175,7 @@ func New() *RHEL81 {
"systemd",
"tar",
"xfsprogs",
"xz",
},
arches: map[string]arch{
"x86_64": arch{

View file

@ -175,6 +175,7 @@ func New() *RHEL82 {
"systemd",
"tar",
"xfsprogs",
"xz",
},
arches: map[string]arch{
"x86_64": arch{