Skip to content

Commit

Permalink
Fedora needs-restarting
Browse files Browse the repository at this point in the history
  • Loading branch information
adrelanos committed Nov 10, 2023
1 parent 98e2d21 commit 4153d70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ jobs:
elif command -v dnf; then
dnf upgrade --assumeyes
dnf install --assumeyes ShellCheck sudo tor systemd
dnf whatprovides needs-restarting
else
exit 1
fi
Expand Down
4 changes: 1 addition & 3 deletions usr/bin/dist-installer-cli
Original file line number Diff line number Diff line change
Expand Up @@ -1011,7 +1011,6 @@ need_reboot_check_second() {
return 0
fi

## Fedora 38: Part of yum-utils Not installed by default (on CI).
## Fedora 39: Part of dnf-plugins-core. Not installed by default (on CI).
## Therefore this can only run after install_package_fedora_common.
if ! log_run notice needs-restarting --reboothint ; then
Expand Down Expand Up @@ -1654,8 +1653,7 @@ install_package_fedora_common(){
return 0
fi

## TODO: remove yum-utils when removing CI support for Fedora 38
install_pkg torsocks redhat-lsb-core dnf-plugins-core yum-utils
install_pkg torsocks redhat-lsb-core dnf-plugins-core
install_signify signify
}

Expand Down

0 comments on commit 4153d70

Please sign in to comment.