feat: allow copying apt sources from host to overlay
Metadata
Current evaluation
Merged as bedb4c0f in #1483, adding opt-in copying of host APT sources and keys into overlays via LifecycleManager.use_host_sources for Ubuntu Pro support.
Resolution: closed resolved
Reason: PR #1483 was approved and merged into main as commit bedb4c0f. The feature is documented for craft-parts 2.30.0.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [ ] Have you followed the guidelines for contributing?
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `make lint && make test`?
- [ ] Have you added an entry to the changelog (`docs/reference/changelog.rst`)?
---
This PR is the merge of the `feature/pro-sources` branch into mainline. The new feature is the ability to copy Apt configuration (sources, keys, etc) from the running host into the overlay system. This enables the use of pro sources in overlays.
This new feature is disabled by default and controlled by the `use_host_sources` parameter on the LifecycleManager.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged as bedb4c0f in #1483, adding opt-in copying of host APT sources and keys into overlays via LifecycleManager.use_host_sources for Ubuntu Pro support. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged as commit bedb4c0f (#1483), adding opt-in host APT sources/keys copying to overlays via LifecycleManager.use_host_sources for Ubuntu Pro support. | |
| qwen/qwen3.6-35b-a3b | — | — | Squash merged feature/pro-sources into mainline. Enables copying Apt sources and keys from host to overlay for Ubuntu Pro. Disabled by default, toggled via LifecycleManager.use_host_sources. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Squash merged feature/pro-sources into mainline, enabling Apt source and key copying from host to overlay. The feature is disabled by default and controlled by the use_host_sources parameter on LifecycleManager. |
Update history
No update history recorded yet.
Related work
-
Related To:
craft-parts#1524
(confidence 95%)
Follow-up fix ensuring OverlayManager.run() propagates use_host_sources; merged as dd05222e.
Related issues
No related issues found above the similarity threshold.