From 85ff8bcec2b8bf64e76edd843ecac8e0c7c407e9 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Fri, 13 Dec 2019 17:41:43 +0100 Subject: [PATCH] distro/rhel82: exclude the timedatex pacakge for now As for other output types, there is an SELinux bug that makes this uninstallable. Signed-off-by: Tom Gundersen --- internal/distro/rhel82/distro.go | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/internal/distro/rhel82/distro.go b/internal/distro/rhel82/distro.go index 561296136..effd77bc2 100644 --- a/internal/distro/rhel82/distro.go +++ b/internal/distro/rhel82/distro.go @@ -125,6 +125,10 @@ func New() *RHEL82 { }, ExcludedPackages: []string{ "dracut-config-rescue", + + // TODO setfiles failes because of usr/sbin/timedatex. Exlude until + // https://errata.devel.redhat.com/advisory/47339 lands + "timedatex", }, IncludeFSTab: false, KernelOptions: "ro net.ifnames=0", @@ -145,6 +149,10 @@ func New() *RHEL82 { }, ExcludedPackages: []string{ "dracut-config-rescue", + + // TODO setfiles failes because of usr/sbin/timedatex. Exlude until + // https://errata.devel.redhat.com/advisory/47339 lands + "timedatex", }, IncludeFSTab: true, KernelOptions: "ro net.ifnames=0", @@ -169,6 +177,10 @@ func New() *RHEL82 { "firewalld", "gobject-introspection", "plymouth", + + // TODO setfiles failes because of usr/sbin/timedatex. Exlude until + // https://errata.devel.redhat.com/advisory/47339 lands + "timedatex", }, IncludeFSTab: true, KernelOptions: "ro net.ifnames=0", @@ -216,6 +228,10 @@ func New() *RHEL82 { }, ExcludedPackages: []string{ "dracut-config-rescue", + + // TODO setfiles failes because of usr/sbin/timedatex. Exlude until + // https://errata.devel.redhat.com/advisory/47339 lands + "timedatex", }, IncludeFSTab: false, KernelOptions: "ro net.ifnames=0", @@ -278,6 +294,10 @@ func New() *RHEL82 { }, ExcludedPackages: []string{ "dracut-config-rescue", + + // TODO setfiles failes because of usr/sbin/timedatex. Exlude until + // https://errata.devel.redhat.com/advisory/47339 lands + "timedatex", }, IncludeFSTab: true, KernelOptions: "ro net.ifnames=0", @@ -579,7 +599,7 @@ func (r *RHEL82) qemuAssembler(format string, filename string, size uint64) *pip func (r *RHEL82) tarAssembler(filename, compression string) *pipeline.Assembler { return pipeline.NewTarAssembler( &pipeline.TarAssemblerOptions{ - Filename: filename, + Filename: filename, Compression: compression, }) }