Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
enabled = 0
baseurl = https://pakfire.ipfire.org/repositories/ipfire3/testing/%{arch}
mirrors = https://pakfire.ipfire.org/distro/ipfire3/repo/testing/mirrorlist?arch=%{arch}
+
+[repo:local]
+description = IPFire 3 locally built packages
+baseurl = file:///var/lib/pakfire/local/ipfire3/%{arch}
+priority = 1000
for i in ("/etc/resolv.conf", "/etc/hosts"):
pakfire.copy_in(i, i)
- # Add build repository
- # XXX this probably belongs somewhere else
- repo = _pakfire.Repo(pakfire, "@local")
- repo.baseurl = "file:///var/lib/pakfire/local"
- print(repo)
- repo.scan()
-
return BuilderContext(pakfire, self)
def __exit__(self, type, value, traceback):