ostreedev / ostree-rs-ext

Rust library with higher level APIs on top of the core ostree API
Apache License 2.0
72 stars 22 forks source link

key composefs/transient handling off label #607

Open cgwalters opened 4 months ago

cgwalters commented 4 months ago

Per discussion related to https://github.com/containers/bootc/issues/372 we want to allow configuring non-/usr content in a derived image and hence we need to stop parsing it just from the base commit.

So one strawman here is to parse a label in the metadata.

Another entirely different bigger path is to rework things to always operate on the squashed image like https://github.com/containers/bootc/pull/215 does (or just target that)


Also because users may be relying /usr/local -> /var/usrlocal right now to store data we cannot automatically switch what that does if composefs happens to be enabled...at least for FCOS and existing ostree users.

jlebon commented 4 months ago

Just going to summarize what I remember from a sync @cgwalters and I had related to this and https://github.com/containers/bootc/issues/372.

cgwalters commented 4 months ago

related PR in https://github.com/coreos/rpm-ostree/pull/4850