feat: allow parts to organize to overlay
Metadata
Current evaluation
PR #1254 was merged, adding the (overlay) organize target to move part build files to the top of the mounted overlay stack (commit 0c806f20).
Resolution: closed resolved
Reason: Merged as commit 0c806f20. The implementation establishes the (overlay) organize target and its tests passed across the reported CI matrix.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Establish the `(overlay)` target to file organization. When a part
organizes to `(overlay)`, files are moved from the part's build directory
to the top of the mounted overlay stack.
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you added an entry to the changelog (`docs/reference/changelog.rst`)?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | PR #1254 was merged, adding the (overlay) organize target to move part build files to the top of the mounted overlay stack (commit 0c806f20). | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #1254 via commit 0c806f20, adding an (overlay) organize target that moves part build files to the mounted overlay stack. Shipped in 2.22.0. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged canonical/craft-parts#1254, adding an (overlay) organize target that moves part build files to the top of the mounted overlay stack (commit 0c806f20). | |
| qwen/qwen3.6-35b-a3b | — | — | Merged. Introduces an overlay target for file organization, moving part build files to the mounted overlay stack. Approved by three reviewers and passed all CI checks. Documentation will be added later when the base creation feature is complete. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Adds an (overlay) target to file organization, moving part build files to the top of the mounted overlay stack. Documentation deferred until the base creation in a part feature completes. |
Update history
No update history recorded yet.
Related work
-
Related To:
canonical/craft-parts#1261
(confidence 95%)
Follow-up PR reordered lifecycle steps when organizing to overlay (commit 55d01a3f).
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1261 feat: reorder steps if organizing to overlay | craft-parts | merged | Merged in commit 55d01a3f, PR #1261 runs BUILD after OVERLAY for parts organizing to overlay so organized content is available to parts installing overlay packages. | |
| #1611 Extra part triggering stage step before overlay step | craft-parts | closed | Fixed in canonical/craft-parts#1618 (18239b07): overlay-organized parts now build and organize before dependency staging, preventing fstab content from being missed. | |
| #1225 Reorder lifecycle steps if organizing to overlay | craft-parts | closed | Fixed overlay-part lifecycle ordering: parts organizing to overlay now run BUILD after OVERLAY via merged PR #1261 (55d01a3f). | |
| #1035 feat: reconcile overlays and partition features | craft-parts | merged | Merged PR #1035 at commit b575539e, enabling overlay and partition features simultaneously and fixing canonical/craft-parts#1028. | |
| #278 docs: add '(overlay)' to the `organize` key description | imagecraft | merged | Merged PR #278 in commit 8b961f1, documenting the `(overlay)` pseudo-partition under `organize` and its role in copying the rootfs to overlay. | |
| #1226 Organize content into the overlay | craft-parts | closed | Parts can organize content into the mounted overlay via merged PR #1254 (commit 0c806f20), shipped in craft-parts 2.22.0. | |
| #1228 Reorder parts to prioritize organize to overlay | craft-parts | closed | Prioritized parts that organize overlays so installing overlay-package parts can use the prepared base; merged in canonical/craft-parts#1261 (55d01a3f). | |
| #1487 Multiple parts cannot organize to the same directory in the overlay | craft-parts | closed | Fixed by merged PR canonical/craft-parts#1586 (commit 0797420f), allowing wildcard-organized overlay directories from multiple parts to merge despite metadata differences. | |
| #1618 fix: handle dependencies when organizing to overlay | craft-parts | merged | Merged PR #1618 (commit 18239b07) fixes dependency scheduling when organizing to overlay, prioritizing BUILD/organize over dependency STAGE steps and closing #1611. |