Skip to content

Commit

Permalink
[Ubuntu 24.04] Remove needrestart package from image
Browse files Browse the repository at this point in the history
since it triggers a restart of all systemd services, including the `runner-provisioner`, crashing the workflow, whenever packages from the OpenSSL/LibSSL package source are upgraded.

Solves: actions#9937

Signed-off-by: MichaIng <micha@dietpi.com>
  • Loading branch information
MichaIng authored May 29, 2024
1 parent 785629d commit 9c18ce0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions images/ubuntu/scripts/build/configure-apt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ EOF
# Uninstall unattended-upgrades
apt-get purge unattended-upgrades

# Uninstall needrestart: https://github.com/actions/runner-images/issues/9937
is_ubuntu24 && apt-get purge needrestart

echo 'APT sources'
cat /etc/apt/sources.list

Expand Down

0 comments on commit 9c18ce0

Please sign in to comment.