From c5a12132d39d5b7e16a27dc31e201ef6d4bf2a0a Mon Sep 17 00:00:00 2001 From: InsanePrawn Date: Sun, 10 Oct 2021 18:26:28 +0200 Subject: [PATCH] chroot: always overwrite makepkg.conf (fixes .zst vs .xz confusion) --- chroot.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/chroot.py b/chroot.py index 5276846..dd1b342 100644 --- a/chroot.py +++ b/chroot.py @@ -57,8 +57,7 @@ def create_chroot(chroot_name: str, file.write(data) # configure makepkg - with open(f'{chroot_path}/etc/makepkg.conf', 'r') as file: - data = file.read() + data = generate_makepkg_conf(arch, cross=False) data = data.replace('xz -c', 'xz -T0 -c') data = data.replace(' check ', ' !check ') with open(f'{chroot_path}/etc/makepkg.conf', 'w') as file: