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:
parent
7e69299259
commit
e1e5c1bb0b
5 changed files with 5 additions and 0 deletions
|
|
@ -170,6 +170,7 @@ func New() *Fedora30 {
|
|||
"qemu-img",
|
||||
"systemd",
|
||||
"tar",
|
||||
"xz",
|
||||
},
|
||||
arches: map[string]arch{
|
||||
"x86_64": arch{
|
||||
|
|
|
|||
|
|
@ -170,6 +170,7 @@ func New() *Fedora31 {
|
|||
"qemu-img",
|
||||
"systemd",
|
||||
"tar",
|
||||
"xz",
|
||||
},
|
||||
arches: map[string]arch{
|
||||
"x86_64": arch{
|
||||
|
|
|
|||
|
|
@ -170,6 +170,7 @@ func New() *Fedora32 {
|
|||
"qemu-img",
|
||||
"systemd",
|
||||
"tar",
|
||||
"xz",
|
||||
},
|
||||
arches: map[string]arch{
|
||||
"x86_64": arch{
|
||||
|
|
|
|||
|
|
@ -175,6 +175,7 @@ func New() *RHEL81 {
|
|||
"systemd",
|
||||
"tar",
|
||||
"xfsprogs",
|
||||
"xz",
|
||||
},
|
||||
arches: map[string]arch{
|
||||
"x86_64": arch{
|
||||
|
|
|
|||
|
|
@ -175,6 +175,7 @@ func New() *RHEL82 {
|
|||
"systemd",
|
||||
"tar",
|
||||
"xfsprogs",
|
||||
"xz",
|
||||
},
|
||||
arches: map[string]arch{
|
||||
"x86_64": arch{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue