aportgen/binutils: set pmOS bugurl Alpine recently set the bugurl to the Alpine Linux issue tracker. When rewriting the APKBUILD for cross compiling in postmarketOS, change it to https://postmarketos.org/issues. Related: https://gitlab.alpinelinux.org/alpine/aports/-/commit/fe73f3a28c101cfbe0a41e55c8497520a6cfbdca Reviewed-by: Luca Weiss <luca@z3ntu.xyz> Link: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%3C20230522065220.2841-4-ollieparanoid@postmarketos.org%3E
1 files changed, 6 insertions(+), 1 deletions(-) M pmb/aportgen/binutils.py
M pmb/aportgen/binutils.py => pmb/aportgen/binutils.py +6 -1
@@ 19,10 19,15 @@ def generate(args, pkgname): "pkgname": pkgname, } replace_simple = { "*--with-bugurl=*": "\t\t--with-bugurl=\"https://postmarketos.org/issues\" \\" } below_header = """ CTARGET_ARCH=""" + arch + """ CTARGET="$(arch_to_hostspec $CTARGET_ARCH)" """ pmb.aportgen.core.rewrite(args, pkgname, "main/binutils", fields, "binutils", below_header=below_header) "binutils", replace_simple=replace_simple, below_header=below_header)