aportgen: remove binutils

Remove the code for generating binutils-aarch64 etc. packages, as these
live upstream in Alpine now. Having the generator scripts for binutils
cross pkgs is therefore not useful anymore and would just bitrot if we
kept it.

Link: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%3C20231126121617.3855-1-ollieparanoid@postmarketos.org%3E
This commit is contained in:
Oliver Smith 2023-11-26 13:16:12 +01:00
parent 62a05d4fbc
commit d7f9769ee0
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
6 changed files with 9 additions and 190 deletions

View file

@ -42,7 +42,7 @@ def test_aportgen_compare_output(args, tmpdir, monkeypatch):
monkeypatch.setattr(pmb.aportgen.core, "get_upstream_aport", func)
# Run aportgen and compare output
pkgnames = ["binutils-armhf", "gcc-armhf"]
pkgnames = ["gcc-armhf"]
for pkgname in pkgnames:
pmb.aportgen.generate(args, pkgname)
path_new = args.aports + "/cross/" + pkgname + "/APKBUILD"
@ -87,8 +87,10 @@ def test_aportgen(args, tmpdir):
pmb.helpers.run.user(args, ["mkdir", "-p", args.work + "/aportgen"])
# Generate all valid packages (gcc twice -> different code path)
pkgnames = ["binutils-armv7", "musl-armv7", "busybox-static-armv7",
"gcc-armv7", "gcc-armv7"]
pkgnames = ["musl-armv7",
"busybox-static-armv7",
"gcc-armv7",
"gcc-armv7"]
for pkgname in pkgnames:
pmb.aportgen.generate(args, pkgname)