Skip to content
Snippets Groups Projects

pmb.helpers.apk: support PMB_APK_NO_CACHE

Merged Oliver Smith requested to merge pmb-apk-no-cache into master

Add a new environment variable that disables apk's caching feature for space constrained environments such as the bpo image build jobs.

Currently we have a workaround in place in bpo: the apk cache is moved to a tmpfs. But this is fragile and just disabling the apk cache is a more elegant solution.

I've decided to make this an env var instead of a full pmbootstrap option since this option is not relevant for normal users, only for CI jobs in space constrained environments. Also we already have another PMB_APK_ env var.

Related: build.postmarketos.org#136 (closed)

Merge request reports

Merge request pipeline #217363 passed

Merge request pipeline passed for 4bf3f11b

Approved by

Merged by Oliver SmithOliver Smith 1 month ago (Mar 17, 2025 11:37pm UTC)

Merge details

Pipeline #217402 passed

Pipeline passed for 4bf3f11b on master

Deployed to dep‎loy‎ 1 month ago

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading