pmbootstrap/pmb
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
..
aportgen pmb/aportgen/musl.py: fix distfile collisions (MR 1947) 2020-06-24 04:41:54 +03:00
build pmb.parse.kconfig: implement anbox kconfig check (MR 1916) 2020-05-24 04:42:01 +02:00
chroot pmbootstrap install --ondev: new option (MR 1946) 2020-06-19 09:36:51 +02:00
config Add "flasher flash_vbmeta" support for heimdall devices (MR 1936) 2020-06-02 11:14:59 +02:00
data pmb/data/keys/pmos-5a03a13a.rsa.pub: remove (!1835) 2019-11-21 23:52:25 +01:00
export Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
flasher Add "flasher flash_vbmeta" support for heimdall devices (MR 1936) 2020-06-02 11:14:59 +02:00
helpers pmbootstrap install --ondev: new option (MR 1946) 2020-06-19 09:36:51 +02:00
install pmbootstrap install --ondev: new option (MR 1946) 2020-06-19 09:36:51 +02:00
parse pmbootstrap install --ondev: new option (MR 1946) 2020-06-19 09:36:51 +02:00
qemu pmb.qemu: set output="tui" to avoid logging the stdout (!1886) 2020-03-14 08:05:57 +01:00
__init__.py pmb: Fail on device ports directly in device/* (!1879) 2020-03-14 08:44:53 +01:00