sysupdate: Limit update to at most one major version
Nils Kattenbeck
nilskemail at gmail.com
Mon Jan 1 14:57:55 UTC 2024
Forwarding to mailing list for future reference. (Also I want to reference
this mail in an upcoming mail).
On Mon, Jan 1, 2024, 14:31 Nils Kattenbeck <nilskemail at gmail.com> wrote:
> Hi Adrian
>
> You can change the URL you check for updates to include the current
>> version number, then upload each version to a separate directory.
>>
>> I.e. instead of putting all the versions in update.example.com/myos,
>> you'd put v2 in u.e.c/m/v1 and you'd put v3 in u.e.c/m/v2 and so forth
>>
>
> Brilliant, I did not think of that.
> I guess this would fall down when implementing something more complex like
> allowing to updating to the next two versions but this already suffices for
> my purpose. (In that case it would be possible to serve the images under
> multiple directory but that would be a bit ugly, especially when backing it
> with something like S3 which does not support symlinks - and also is
> disadvantageous for caching with CDNs.)
>
> Kind regards, Nils
>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20240101/55d522bd/attachment.htm>
More information about the systemd-devel
mailing list