new-base-core #1
10
files/scripts/enableautoupdates.sh
Normal file
10
files/scripts/enableautoupdates.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Tell build process to exit if there are any errors.
|
||||
set -oue pipefail
|
||||
|
||||
systemctl enable rpm-ostreed-automatic.timer
|
||||
systemctl enable podman-auto-update.timer
|
||||
systemctl --global enable podman-auto-update.timer
|
||||
systemctl --global enable flatpak-user-update.timer
|
||||
systemctl enable flatpak-system-update.timer
|
@@ -13,13 +13,6 @@ modules:
|
||||
- RUN rpm -ivh /ublue-os-luks.noarch.rpm
|
||||
- RUN rpm -ivh /ublue-os-just.noarch.rpm
|
||||
|
||||
- type: systemd
|
||||
system:
|
||||
enabled:
|
||||
- rpm-ostreed.automatic.timer
|
||||
- podman-auto-update.timer
|
||||
- flatpak-system-update.timer
|
||||
user:
|
||||
enabled:
|
||||
- podman-auto-update.timer
|
||||
- flatpak-system-update.timer
|
||||
- type: script
|
||||
scripts:
|
||||
- enableautoupdates.sh # using systemd did not work, so using this script instead
|
Reference in New Issue
Block a user