Skip to content

pluggable backends for systemd-sysupdate #33351

Description

@abderrahim

Component

No response

Is your feature request related to a problem? Please describe

Currently systemd-sysupdate downloads a whole file (or tarball) and installs it. This is however wasteful to download a whole image on every update.

Describe the solution you'd like

A few options exist that can more efficiently download files and images. Some options include:

Instead of having a blessed backend for systemd-sysupdate (and having to argue which one of the above is objectively better), we want to support pluggable backends instead.

These backend could implement the same interface as systemd-pull so that they can be used as a drop-in replacement from sysupdate's view. Another possibility is to define a simpler interface and let systemd-pull call the backend and provide additional features.

The idea is to have a simple enough interface that can be implemented by external tools (such as casync) directly, or by writing a small wrapper around the external tool.

Describe alternatives you've considered

No response

The systemd version you checked that didn't have the feature you are asking for

256

Metadata

Metadata

Assignees

No one assigned

    Labels

    RFE 🎁Request for Enhancement, i.e. a feature requestsysupdate

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions