pmbootstrap/pmb
Oliver Smith b18ec9a693
pmb.helpers.package.get: no crash if dep missing (!1909)
Fix the function, so it does not crash anymore when the
replace_subpkgnames argument is set and a dependency cannot be resolved.
Instead, print a useful warning that shows which pmaport caused the
error (that has always been a pain to figure out), and simply don't
replace the potential subpkgname with the real pkgname, just use the
dependency name as-is.

Resolve annoying crashes in bpo dependency resolving, like this one
(caused by a few linux-* pmaports for bad downstream kernels that depend
on python, not apparent at all from the message):

[09:08:15] Calculate packages that need to be built (all packages, aarch64)
[09:08:26] ERROR: Package 'python': Could not find aport, and could not find this package in any APKINDEX!

Related: https://builds.sr.ht/~postmarketos/job/184022
2020-04-10 19:34:09 +02:00
..
aportgen pmb.aportgen.linux: fix generated apkbuild 2020-04-06 10:39:45 +00:00
build build.menuconfig: add support for out-of-tree builds using _outdir (!1893) 2020-04-05 12:51:24 +02:00
chroot pmb.config.workdir: save/check chroot init date (!1878) 2020-02-24 18:18:38 +01:00
config Prepare 1.18.1 release 2020-04-06 16:49:45 +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 Fix "local variable '_partition_vbmeta' referenced before assignment" (!1895) 2020-03-23 04:37:13 +03:00
helpers pmb.helpers.package.get: no crash if dep missing (!1909) 2020-04-10 19:34:09 +02:00
install pmb.install._install: check sdcard exist (extra sanity check) (!1894) 2020-04-05 13:33:51 +02:00
parse pmb.helpers.frontend.config: add option to reset config to default (!1907) 2020-04-07 01:02:19 +03: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