1
0
forked from ALHP/ALHP.GO

added renice, fixed testing being built.

This commit is contained in:
2021-06-14 13:04:06 +02:00
parent cad8e609ef
commit 742b949ea4

View File

@@ -586,7 +586,7 @@ func (b *BuildManager) syncWorker() {
sPkgbuild := strings.Split(pkgbuild, "/")
repo := sPkgbuild[len(sPkgbuild)-2]
if repo == "trunk" || !contains(conf.Repos, strings.Split(repo, "-")[0]) || strings.Contains(repo, "i686") {
if repo == "trunk" || !contains(conf.Repos, strings.Split(repo, "-")[0]) || strings.Contains(repo, "i686") || strings.Contains(repo, "testing") {
continue
}
@@ -620,6 +620,8 @@ func main() {
log.SetLevel(lvl)
journalhook.Enable()
check(syscall.Setpriority(syscall.PRIO_PROCESS, 0, 19))
err = os.MkdirAll(conf.Basedir.Repo, os.ModePerm)
check(err)