pmbootstrap/pmb
Oliver Smith 1c10dbee50
repo_missing: fix "could not find aport" error
In pmb.helpers.package.get(), we are differentiating between packages
that do not exist at all, and packages that do not exist for the
specified architecture. Make sure to actuallyy download the foreign arch
APKINDEX files, before trying to find the packages in there. Otherwise
the "could not find aport, and could not find this package in any
APKINDEX" package would appear.

We ran into this when testing on sr.ht, because pmbootstrap runs on a
fresh install every time, where no old APKINDEX files are present
(which would work around the bug).

This was meant to be part of the previous commit already, and was
tested, but it was not submitted correctly. So here it is as separate
commit straight to master. It is trivial anyway.
2018-12-03 21:02:18 +01:00
..
aportgen aportgen gcc*: set arch to x86_64 only 2018-11-08 07:08:04 +01:00
build new action: 'pmbootstrap repo_missing' 2018-12-01 21:30:59 +00:00
chroot build.find_aport() -> helpers.pmaports.find() 2018-12-01 21:30:59 +00:00
config bump version to 1.0.4 2018-12-01 02:37:44 +01:00
data install apk keys and binfmt data with setup.py 2018-09-17 10:06:57 +00:00
export Export initramfs-extra (pmbootstrap export) 2018-11-19 06:06:35 +00:00
flasher s/system partition/rootfs: fix remaining mentions 2018-07-15 23:41:31 +02:00
helpers repo_missing: fix "could not find aport" error 2018-12-03 21:02:18 +01:00
install recovery zip install: link to wiki page 2018-10-24 08:53:55 +02:00
parse new action: 'pmbootstrap repo_missing' 2018-12-01 21:30:59 +00:00
qemu don't install qemu when using --host-qemu 2018-09-01 13:14:52 +02:00
__init__.py Move aports into own repository (pmaports) 2018-09-05 05:57:38 +00:00