~postmarketos/pmbootstrap

5def0329f9840fcd2f38da2181da708ec44239ca — Caleb Connolly 1 year, 4 months ago 4243d2d abuild-fix
build: support new abuild.conf path

abuild.conf got moved to /usr/share/abuild/default.conf and
/etc/abuild.conf is now just for user-changes. Adjust
configure_abuild() to append to /etc/abuild.conf if there is no line
defining JOBS

This should be backward compatible
1 files changed, 1 insertions(+), 1 deletions(-)

M pmb/build/other.py
M pmb/build/other.py => pmb/build/other.py +1 -1
@@ 152,7 152,7 @@ def configure_abuild(args, suffix, verify=False):
                                suffix)
                configure_abuild(args, suffix, True)
            return
    raise RuntimeError("Could not find " + prefix + " line in " + path)
    pmb.chroot.root(args, ["sed", "-i", f"$ a\\{prefix}{args.jobs}", "/etc/abuild.conf"], suffix)


def configure_ccache(args, suffix="native", verify=False):