coreos / rpm-ostree

⚛📦 Hybrid image/package system with atomic upgrades and package layering
https://coreos.github.io/rpm-ostree
Other
875 stars 196 forks source link

`opt-usrlocal` treefile option is too specific #4893

Open jmpolom opened 7 months ago

jmpolom commented 7 months ago

Both /opt and /usr/local should be separately configurable as symlinks into respective directories in /var. A user may want one but not both to be persisted via /var or may wish to mount other filesystems into a normal directory for one of them.

cgwalters commented 7 months ago

Yes, I completely agree. The direction I want to take things is to move towards supporting arbitrary front ends (dnf —installroot etc) and just doing a commit here. There, one can set up the filesystem however you like without us trying to have a declarative front end to all permutations of things.

jmpolom commented 7 months ago

Yes, I completely agree. The direction I want to take things is to move towards supporting arbitrary front ends (dnf —installroot etc) and just doing a commit here. There, one can set up the filesystem however you like without us trying to have a declarative front end to all permutations of things.

Would something like this not ultimately be more of an ostree activity/feature, outside of rpm-ostree? rpm-ostree seems fairly tied to the rpm/dnf ecosystem.