forked from ALHP/ALHP.GO
added renice, fixed testing being built.
This commit is contained in:
4
main.go
4
main.go
@@ -586,7 +586,7 @@ func (b *BuildManager) syncWorker() {
|
|||||||
sPkgbuild := strings.Split(pkgbuild, "/")
|
sPkgbuild := strings.Split(pkgbuild, "/")
|
||||||
repo := sPkgbuild[len(sPkgbuild)-2]
|
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
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -620,6 +620,8 @@ func main() {
|
|||||||
log.SetLevel(lvl)
|
log.SetLevel(lvl)
|
||||||
journalhook.Enable()
|
journalhook.Enable()
|
||||||
|
|
||||||
|
check(syscall.Setpriority(syscall.PRIO_PROCESS, 0, 19))
|
||||||
|
|
||||||
err = os.MkdirAll(conf.Basedir.Repo, os.ModePerm)
|
err = os.MkdirAll(conf.Basedir.Repo, os.ModePerm)
|
||||||
check(err)
|
check(err)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user