On Wed, Sep 30, 2020 at 7:34 pm, Colin Walters walters@verbum.org wrote:
I know this is already an epic thread but, just a FYI: This type of thing will completely not work on an rpm-ostree based system because the %post is run server side. It can't compute anything based on per-user data (and that's *also* true even when doing client side layering - the `/etc` that the `%post` script sees is the defaults, not anything a user has customized).
In general, any upgrade logic that needs to take into account user configuration needs to be a systemd unit, not a `%post`.
Hmmm, that probably means that users who upgrade Silverblue from F32 -> F33 will be broken.