From 3aa920aac4e48899bf505e42273abc5b7fdf3eed Mon Sep 17 00:00:00 2001 From: Arjan van de Ven Date: Thu, 4 Nov 2021 16:36:14 +0000 Subject: [PATCH] skip delta files for /usr/bin and /usr/lib64 due to our avx2 fallout --- swupd/delta.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/swupd/delta.go b/swupd/delta.go index 0b78a47..093b236 100644 --- a/swupd/delta.go +++ b/swupd/delta.go @@ -21,6 +21,7 @@ import ( "path/filepath" "sync" "syscall" + "strings" "github.com/clearlinux/mixer-tools/helpers" "github.com/clearlinux/mixer-tools/log" @@ -341,6 +342,13 @@ func findDeltas(c *config, oldManifest, newManifest *Manifest) ([]Delta, error) continue } + if strings.Contains(to.Name, "/usr/bin/") { + continue + } + if strings.Contains(to.Name, "/usr/lib64/") { + continue + } + seen[path] = true deltas = append(deltas, Delta{ Path: path,