← Back to issue list

investigate: why do we need a separate layer for the .rock metadata?

View original Github issue

Metadata

Project
rockcraft
Number
#1171
Type
issue
State
open
Author
cjdcordeiro
Labels
Created
2026-04-02 15:42:55+00:00
Updated
2026-04-02 20:22:32+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

### Check existing issues - [x] I've verified that this request isn't described by any existing issues. ### Request This is a request for further investigation, related to the fact that the .rock metadata file seems to be packed into the rock as a separate layer. This must have been a conscious decision? (especially assuming that all parts are squashed). But why? atm, I don't see much value in having it that way, since that layer is always going to be very specific to each rock and thus not that reusable. It would be good to revisit this decision and potentially consider squashing it with the rest of the other parts, if it makes sense. ### The problem it solves Makes the layer creation more consistent with the rest of the parts and removes the additional tiny layer from the OCI config.

Evaluation history

No evaluation history available.