sysupdate: Limit update to at most one major version

Lennart Poettering lennart at poettering.net
Tue Jan 2 11:18:21 UTC 2024


On So, 31.12.23 14:43, Nils Kattenbeck (nilskemail at gmail.com) wrote:

> Hello,
>
> we are currently using sd-sysupdate to roll out updates and we're wondering
> if there is any possibility to limit updates to consider at most one next
> major version. This would allow us to write the software to handle only
> data migrations from the previous major version instead of any version
> beforehand.
> The only thing I have been able to find is MinVersion= which seems to do
> exactly the opposite of what we would want to do.

I'd be fine with adding MaxVersion=. Happy to review a patch, merge
something like this (at least file an RFE issue)

Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list