Fellow Fedora Immutable users, have any of you automated your system updates to occur at shutdown? If so, do you find it makes a practical difference?

I’m thinking of doing the same with Tony Walker’s silverblue-update service.

I shutdown most of my machines daily, and that often means getting an updated image shortly after startup the next day and being forced to reboot or nearly always remain one day behind in updates. By checking for updates again at shutdown, this should help ensure I’ve always got the latest daily image at boot. Thoughts?

  • Pantherina@feddit.de
    link
    fedilink
    arrow-up
    3
    ·
    11 months ago

    You could change the action of the power button I guess, some dconf stuff?

    #!/bin/bash
    sudo waydroid upgrade
    distrobox upgrade --all
    flatpak update -y
    flatpak cleanup --unused -y
    rpm-ostree update
    shutdown -h now
    

    On KDE this will work too. I simply alias that command to “update” and “upfin” (including the shutdown) but yeah that needs an improvement.