mirror of
https://github.com/clearlinux/mixer-tools.git
synced 2026-09-03 20:21:32 +00:00
skip delta files for /usr/bin and /usr/lib64 due to our avx2 fallout
This commit is contained in:
committed by
Arjan van de Ven
parent
a471a64111
commit
3aa920aac4
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user