pmbootstrap-meow/pmb
Caleb Connolly 7d85bb31d5
build: ignore invalid checksums unless --strict (MR 2252)
We can fairly easily patch abuild by appending anything we want to the
APKBUILD file after copying it to the chroot.

Leverage this to override the verify() function so that it doesn't die
when checksums don't match.

Instead let's build the package anyway, but set a flag and print a
warning with instructions on how to generate the checksums.

We should continue to require APKBUILDs in pmaports to have valid
checksums.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-06-23 12:38:41 +02:00
..
aportgen make mypy happy (MR 2252) 2024-06-23 12:38:41 +02:00
build build: ignore invalid checksums unless --strict (MR 2252) 2024-06-23 12:38:41 +02:00
chroot tests: add a test for packages_get_locally_built_apks() (MR 2252) 2024-06-23 12:38:41 +02:00
ci meta: introduce a Cache decorator (MR 2252) 2024-06-23 12:38:39 +02:00
commands tests: basic pkgrepo tests, clone pmaports (MR 2252) 2024-06-23 12:38:41 +02:00
config config: add auto_zap_misconfigured_chroots (MR 2252) 2024-06-23 12:38:41 +02:00
core config: add auto_zap_misconfigured_chroots (MR 2252) 2024-06-23 12:38:41 +02:00
data build: ignore invalid checksums unless --strict (MR 2252) 2024-06-23 12:38:41 +02:00
export parse: deviceinfo: make Deviceinfo a class (MR 2252) 2024-06-23 12:38:38 +02:00
flasher make mypy happy (MR 2252) 2024-06-23 12:38:41 +02:00
helpers chroot: apk: fix local repos with apk.static (MR 2252) 2024-06-23 12:38:41 +02:00
install install: losetup: add detach_all() (MR 2252) 2024-06-23 12:38:41 +02:00
meta meta: cache: fix caching and add tests (MR 2252) 2024-06-23 12:38:41 +02:00
netboot WIP: 2024-06-05: args hacking and more (MR 2252) 2024-06-23 12:38:38 +02:00
parse ruff: run check --fix (MR 2252) 2024-06-23 12:38:41 +02:00
qemu qemu: init chroot (MR 2252) 2024-06-23 12:38:41 +02:00
sideload core: don't re-export get_context (MR 2252) 2024-06-23 12:38:40 +02:00
__init__.py core: don't re-export get_context (MR 2252) 2024-06-23 12:38:40 +02:00
conftest.py tests: add a test for packages_get_locally_built_apks() (MR 2252) 2024-06-23 12:38:41 +02:00
types.py make mypy happy (MR 2252) 2024-06-23 12:38:41 +02:00