callbacks: add callback to configure overlay package layer
Metadata
Current evaluation
Merged changes adding an Executor callback to configure Apt in the overlay package layer after cache mount but before refresh. Approved by two reviewers, the update modifies five files with 110 additions.
Suggested action: —
No scores available.
Issue body
This new callback is called by the Executor after the overlay's package cache layer is mounted, but before the package list is actually refreshed. The main purpose is to give applications a chance to configure the Apt installation in the overlay (e.g. add/remove package repositories).
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged changes adding an Executor callback to configure Apt in the overlay package layer after cache mount but before refresh. Approved by two reviewers, the update modifies five files with 110 additions. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged introduces a callback allowing applications to configure Apt repositories in the overlay after cache mount but before package list refresh. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #127 overlay: add overlay manager mount operations (CRAFT-80) | craft-parts | merged | Merged implementation of mount operations for the overlay manager, enabling overlay stack mounting during build steps. Approved by two reviewers, passed CI, and added 265 lines across three files. Package installation is deferred to a future commit. | |
| #297 overlay: only refresh overlay packages if necessary | craft-parts | merged | Merged an optimization that skips mounting and refreshing the overlay package cache unless a part uses overlay-packages, avoiding unnecessary expensive operations. Approved, passed CI, and changed three files. | |
| #135 executor: add overlay step handling (CRAFT-86) | craft-parts | merged | Merged. Adds overlay step handling to the executor, mounting the overlay stack during builds so parts with overlay visibility can access the filesystem for package installation and user scripts. Approved and passed CI. | |
| #147 executor: update overlay package list (CRAFT-581) | craft-parts | merged | Merged update to the overlay package list prior to lifecycle execution when overlays are enabled. Approved by reviewer, passed CI checks, and modified 4 files (+10/-1). |