mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-02-23 05:35:44 -05:00
chroot: always overwrite makepkg.conf (fixes .zst vs .xz confusion)
This commit is contained in:
parent
fb14a360bd
commit
c5a12132d3
1 changed files with 1 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue