58a79056a8
RPM-OSTree has been pretty good so far at consuming the exact same RPMs used for traditional OSes without modifications. This is important, because shielding RPMs from the OSTree abstraction means we remain compatible with a large portion of the ecosystem. However, there are some apps that definitely require rethinking their approach. The example right now is akmods, which has a patch proposed to build kmods at `%post` time on OSTree systems instead of from the daemon.[1] In such situations, scriptlets need something to key off of for the OSTree-specific approach. The `/run/ostree-booted` file is the de facto API to determine if we're running on an OSTree system or not. This patch simply extends this API so that scriptlets can naturally make use of them. [1] https://bugzilla.redhat.com/show_bug.cgi?id=1667014 Closes: #1750 Approved by: cgwalters |
||
---|---|---|
.. | ||
app | ||
daemon | ||
lib | ||
libpriv |