diff --git a/setup/system.sh b/setup/system.sh index f50a353f..ef0f4870 100755 --- a/setup/system.sh +++ b/setup/system.sh @@ -249,6 +249,25 @@ APT::Periodic::Unattended-Upgrade "1"; APT::Periodic::Verbose "0"; EOF +# Adjust apt update and upgrade timers such that they're always before daily status +# checks and thus never report upgrades unless user intervention is necessary. +if [ ! -d /etc/systemd/system/apt-daily.timer.d ]; then + mkdir /etc/systemd/system/apt-daily.timer.d +fi +cat > /etc/systemd/system/apt-daily.timer.d/override.conf <