#393 Kinoite: Enable auto updates in Discover
Merged a year ago by siosm. Opened 2 years ago by siosm.
siosm/workstation-ostree-config main-kinoite-autoupdate  into  main

file modified
+9
@@ -41,6 +41,15 @@ 

    - tracker

    - tracker-miners

  

+ # Kinoite specific workarounds and configuration

+ postprocess:

+   - |

+     #!/bin/bash

+     set -xeuo pipefail

+ 

+     # Enable auto updates in Discover

+     echo -e "[Global]\nUseUnattendedUpdates=true\n" > /etc/xdg/PlasmaDiscoverUpdates

+ 

  repos:

    - fedora-rawhide

    # - fedora-40

Hold until the change has been submitted and accepted.

rebased onto f8f4295fcda7d1475d4046613e91d5f1a65ae8d6

2 years ago

Hold until the change has been accepted.

rebased onto 5c6eb5a72a0d4f560f5fabe03f1c93c9df515784

2 years ago

rebased onto d8c7dbc8ec735e468bdabd4cf329968bcdda9938

2 years ago

Shouldn't this skip the script if the output file already exists?

rebased onto 57210db91cf04ee687ec5f07d7c78f40597a26ee

a year ago

The post process scripts in those manifests are run as part of the rpm-ostree compose, so this only impacts the content of the ostree commit, not the content of /etc as configured by users on their systems.

ostree will do a three-way diff on update on actual systems with the content of /etc: https://ostreedev.github.io/ostree/atomic-upgrades/#assembling-a-new-deployment-directory

As we don't ship such a file for now in any package, we don't really need to check if it exists.

rebased onto a17aa8e

a year ago

Merging now that the change has been accepted by FESCo.

Pull-Request has been merged by siosm

a year ago

Does this mechanism
- detect low battery state
- pause on metered connection
- limit update priority so it doesnt run under high load

? If yes or no, are these things specific to the software stores used?

So if a change would help, would this be done upstream?

With a systemd service these things can be done in a single service file, and work desktop independent.

You should file bugs upstream to Plasma Discover in KDE's bugzilla.

Metadata