compare arch to detect packages switched from/to any/x86-64

This commit is contained in:
2022-01-17 13:34:06 +01:00
parent 80fa39125d
commit 2dfdac8468
2 changed files with 13 additions and 9 deletions

View File

@@ -289,14 +289,6 @@ func (b *BuildManager) parseWorker() {
if !pkg.isAvailable(alpmHandle) {
log.Debugf("[%s/%s] Not available on mirror, skipping build", pkg.FullRepo, pkg.Pkgbase)
pkg.toDbPackage(false)
if pkg.DbPackage != nil {
err := pkg.DbPackage.Update().SetStatus(dbpackage.StatusSkipped).SetSkipReason("package not present on mirror").Exec(context.Background())
if err != nil {
log.Warningf("Error updating package %s: %v", pkg.Pkgbase, err)
}
}
b.parseWG.Done()
continue
}