pmbootstrap/pmb/chroot
Oliver Smith 3587812539
replace_aports_packages_with_path: better error (!1837)
Because of an APKINDEX subpkg parsing bug, pmbootstrap currently assumes
that "ktp-common-internals" provides "make". It fails with a cryptic
error when trying to build a package without an existing postmarketOS
binary packages mirror (like done in the build.postmarketos.org
testsuite):

  File "/home/user/code/pmbootstrap/pmb/chroot/apk.py", line 174, in replace_aports_packages_with_path
    package + "-" + data_repo["version"] + ".apk")
TypeError: 'NoneType' object is not subscriptable

Replace this error with a more meaningful message, that points to the
issue analyzing this bug.

Related: https://gitlab.com/postmarketOS/build.postmarketos.org/issues/61
2019-11-30 12:43:10 +01:00
..
__init__.py Add "crossdirect": faster cross compiling (!1758) 2019-03-23 01:13:36 +01:00
apk.py replace_aports_packages_with_path: better error (!1837) 2019-11-30 12:43:10 +01:00
apk_static.py Update copyright to 2019 2019-01-02 09:31:20 +01:00
binfmt.py Update copyright to 2019 2019-01-02 09:31:20 +01:00
distccd.py Update copyright to 2019 2019-01-02 09:31:20 +01:00
init.py Update copyright to 2019 2019-01-02 09:31:20 +01:00
initfs.py Update copyright to 2019 2019-01-02 09:31:20 +01:00
initfs_hooks.py Update copyright to 2019 2019-01-02 09:31:20 +01:00
mount.py Mount /dev/shm in chroots 2019-05-05 17:47:25 +02:00
other.py Update copyright to 2019 2019-01-02 09:31:20 +01:00
root.py Update copyright to 2019 2019-01-02 09:31:20 +01:00
shutdown.py Update copyright to 2019 2019-01-02 09:31:20 +01:00
user.py Update copyright to 2019 2019-01-02 09:31:20 +01:00
zap.py Update copyright to 2019 2019-01-02 09:31:20 +01:00