summaryrefslogtreecommitdiff
path: root/src/apk_context.h
AgeCommit message (Collapse)AuthorFilesLines
2021-11-09database: implement uvol supportTimo Teräs1-3/+8
by adding an abstraction layer to the file system
2021-08-23trust: always use have valid struct apk_trust *Timo Teräs1-1/+0
Make sure we always have valid struct apk_trust * for code using it. Load the signing keys directly when being specified to produce sane error message if loading them fails.
2021-06-11extract: add experimental support for uvol volumesTimo Teräs1-0/+2
2021-03-19database: do not chroot(".") unless actually necessaryAriadne Conill1-0/+1
If we use default root (/), then we do not have to chroot to run scripts. Use APK_NO_CHROOT flag for this scenario to avoid the chroot. This helps with using apk with bwrap and OSTree. Closes #10736.
2020-10-09rename adb_trust to apk_trust, and use it as package signature keystore tooTimo Teräs1-4/+4
2020-10-09make apk_database optional for applets that don't need itTimo Teräs1-0/+36
The new v3 applets don't use it, and eventually all applets will use the new formats only. This prepares the code for this, and moves trust, id_cache, and root_fd to apk_ctx which is enough for v3 applets at this time. The generic code is made to not initialize apk_database if it's not needed.
2020-10-09rename apk_db_options to apk_ctx, rework loggingTimo Teräs1-0/+51
makes apk_verbosity non-global fixes #10682