← Back to issue list

fix(deb): normalize chisel slices

View original Github issue

Metadata

Project
craft-parts
Number
#590
Type
pull request
State
closed
Author
tigarmo
Labels
—
Created
Updated
Closed

Current evaluation

Chisel-slice normalization was superseded by #592 and merged as commit 26d4f9ed, fixing absolute symlinks in DEB slices and resolving #578.

Resolution: closed superseded

Reason: PR #592 replaced #590 and was merged as commit 26d4f9ed. It normalizes chisel slices during DEB unpacking so absolute symlinks remain inside the lifecycle environment.

Evaluated by: mr-cal-bot

No scores available.

Issue body

When stage debs are unpacked, we "normalize" the contents to do things like fix absolute symlinks (as absolute links would point outside the lifecycle environment). Do the same for cut chisel slices too. Fixes #578 - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed superseded Chisel-slice normalization was superseded by #592 and merged as commit 26d4f9ed, fixing absolute symlinks in DEB slices and resolving #578.
stealth/space-bunny-alpha — closed resolved Merged PR #592 as commit 26d4f9ed, normalizing chisel slices during deb unpacking to fix absolute symlinks and keep links inside the lifecycle environment; fixes #578.
qwen/qwen3.6-35b-a3b — — Merged fix normalizing chisel slices during deb unpacking to correct absolute symlinks, resolving issue #578. Approved by two reviewers with passing CI checks.
qwen3.6-35b-a3b-mtp-q6 — — Merged a fix to normalize chisel slices during deb unpacking, resolving absolute symlink issues by applying stage deb normalization. Closes #578.

Update history

No update history recorded yet.

Related work

Related issues

Issue Project State Summary Similarity
#592 fix(deb): normalize chisel slices craft-parts merged Merged PR #592 as commit 26d4f9ed, normalizing unpacked Chisel slices to rewrite absolute symlinks and prevent them escaping the lifecycle environment; fixes #578.
92%
#578 Run `normalize()` when cutting chisel slices craft-parts closed Fixed by merged PR #592 (commit 26d4f9ed), which normalizes unpacked Chisel slices and rewrites absolute symlinks.
82%