pmbootstrap/pmb/aportgen
Oliver Smith bfbb095895
pmb/aportgen/musl.py: fix distfile collisions (MR 1947)
Add the Alpine mirrordir (e.g. "edge", "v3.12") to the distfile, so
musl-*.apk files of the same version and arch but from different
mirrordirs do not collide.

Let "abuild checksum" download these apks and generate the checksums,
instead of letting apk download them as side-effect of initializing
foreign arch chroots. The latter did not work anymore, because we would
copy the apk file with a glob that may matches the hash of either mirrordir.
Essentially:
    glob.glob(f"{args.work}/cache_apk_{arch}/{subpkgname}-{version}.*.apk")[0]

In the context of the on-device installer, I found that calculating this
hash is not trivial, so let's just avoid it here as well.

While at it, order the imports of musl.py alphabetically.
2020-06-24 04:41:54 +03:00
..
__init__.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
binutils.py pmb/aportgen/binutils.py: pass apkbuild-lint (MR 1942) 2020-06-21 11:50:57 +02:00
busybox_static.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
core.py pmb/aportgen/core.py: no quotes around some keys (MR 1942) 2020-06-21 11:50:57 +02:00
device.py pmb: introduce deviceinfo_chassis (MR 1933) 2020-05-24 08:38:10 +02:00
gcc.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
grub_efi.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
linux.py pmb.aportgen.linux: fix generated apkbuild when using qcdt (MR 1935) 2020-05-10 18:13:04 +02:00
musl.py pmb/aportgen/musl.py: fix distfile collisions (MR 1947) 2020-06-24 04:41:54 +03:00