pmbootstrap/pmb
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
..
aportgen Detect if DTB is placed in second area of Android boot image (!1828) 2019-10-25 17:36:22 +02:00
build pmb/build/_package.py: create .git symlink (!1831) 2019-11-10 12:29:55 +01:00
chroot replace_aports_packages_with_path: better error (!1837) 2019-11-30 12:43:10 +01:00
config pmb.config.build_packages: add git (!1832) 2019-11-24 20:39:36 +01:00
data pmb/data/keys/pmos-5a03a13a.rsa.pub: remove (!1835) 2019-11-21 23:52:25 +01:00
export Update copyright to 2019 2019-01-02 09:31:20 +01:00
flasher Revert "Add "flash_fastboot_vendor_id" deviceinfo variable for fastboot flash method (#857)" (!1818) 2019-09-26 22:32:53 +02:00
helpers pmb.config.init: 2-step device selection (!1825) 2019-10-30 22:51:33 +01:00
install install: setup xorg keymap (!1833) 2019-11-20 21:57:58 +01:00
parse pmb.deviceinfo: fix sanity check when "device-" is present in codename (!1834) 2019-11-22 00:01:38 +01:00
qemu qemu/spice: use virt-viewer client directly from chroot (!1793) 2019-07-05 20:51:01 +02:00
__init__.py init: fix missing errors if logs didn't initialize (!1755) 2019-02-15 16:01:11 +01:00