WIP: make packages.py work moar

This commit is contained in:
InsanePrawn 2021-10-22 17:22:41 +02:00
parent 3a9deb2340
commit bc8904c1f1
3 changed files with 21 additions and 17 deletions

View file

@ -494,9 +494,10 @@ def build_package(
setup_sources(package, build_root)
for chroot in chroots:
chroot.activate()
chroot.mount_pacman_cache()
chroot.mount_pkgbuilds()
chroot.mount_packages()
chroot.activate()
makepkg_conf_absolute = os.path.join('/', makepkg_conf_path)
build_cmd = f'cd {package.path} && makepkg --config {makepkg_conf_absolute} --needed --noconfirm --ignorearch {" ".join(makepkg_compile_opts)}'