← Back to issue list

overlay: add overlay manager mount operations (CRAFT-80)

View original Github issue

Metadata

Project
craft-parts
Number
#127
Type
pull request
State
merged
Author
cmatsuoka
Labels
Created
Updated
Closed

Current evaluation

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.

Suggested action:

No scores available.

Issue body

The overlay manager is used to mount the overlay stack during the execution of the overlay step (or the build step for parts with overlay visibility) and perform overlay package installation. This commit implements mount operations, package installation will be added in a separate changeset. Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com> - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? -----

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b 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.
qwen3.6-35b-a3b-mtp-q6 Merged implementation of mount operations for the overlay manager (CRAFT-80). The changes enable mounting the overlay stack during build steps, with package installation deferred to a subsequent commit.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#111 overlay: add overlayfs helpers (CRAFT-462) craft-parts merged Merged. Added overlayfs mount and unmount helpers, plus utilities to identify special files and directories for filesystem layering. Approved by two reviewers, passed CI, and introduced 420 lines across six files.
84%
#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.
78%
#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.
77%
#119 overlay: add overlay hash to build and stage states (CRAFT-489) craft-parts merged Merged pull request implementing overlay verification hashes in build and stage states to ensure proper step invalidation. Approved by two reviewers, passed CI checks, and successfully integrated.
75%
#113 overlay: add overlay support to parts (CRAFT-470) craft-parts merged Merged after three approvals. Adds overlay support to parts by defining the work directory and properties for overlay subdirectories and visibility. 149 additions, 37 deletions across six files. Removed Final typing hint for Python 3.7.
74%
#134 overlay: add overlay package install (CRAFT-81) craft-parts merged Merged. Adds overlay package installation by executing maintainer scripts in a chrooted environment to correctly update the package database. Approved by two reviewers, with clarifications added on pychroot usage and empty file safety.
74%
#1190 fix(overlay): detect conflicts between overlay and install craft-parts merged Merged fix enhancing Stage step collision detection to account for overlay contents, preventing conflicts with install directories. Includes integration tests, passed all CI checks, and received approval from three reviewers.
74%
#121 overlay: migrate overlay data to stage and prime (CRAFT-468, CRAFT-82) craft-parts merged Merged after two approvals and CI. Migrates overlay data to stage and prime, translates overlayfs whiteouts and opaque directories to OCI, and cleans shared areas. Collision detection is deferred.
74%
#137 many: add overlay step (CRAFT-84) craft-parts merged Merged. Adds an overlay step to process filesystem mutations like package installation and file modifications across parts. Updates multiple subsystems and tests, approved by a reviewer, passed CI, and maintains fast execution.
74%
#143 lifecycle_manager: check if overlay is supported (CRAFT-562) craft-parts merged Merged implementation adds overlay support verification to the lifecycle manager. The update validates Linux OS and superuser privileges before overlay execution. Approved by one reviewer, passed CI, and modified seven files.
73%