← Back to issue list

lifecycle_manager: check if overlay is supported (CRAFT-562)

View original Github issue

Metadata

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

Current evaluation

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.

Suggested action:

No scores available.

Issue body

The overlay step is only supported on Linux and must be executed as the superuser. Add a verification to lifecycle manager creation to make sure these prerequisites are satisfied if the project uses overlay. 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 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.
qwen3.6-35b-a3b-mtp-q6 Merged. Adds lifecycle manager verification to ensure overlay step prerequisites, specifically Linux OS and superuser privileges, are met. Resolves CRAFT-562.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#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).
77%
#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.
73%
#365 docs: include overlays in the lifecycle documentation. craft-parts merged Merged documentation update adding overlay information to the lifecycle guide. Approved by two reviewers. A lint issue was addressed separately in PR #366. Changes modified 4 files with 85 additions and 1 deletion.
72%
#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.
71%