Skip to content

Commit

Permalink
Do not install systemd-sysv for Fedora 41
Browse files Browse the repository at this point in the history
Differential Revision: D65640740

fbshipit-source-id: 176498cb178222dd81a9b651bb18466d02a0cb94
  • Loading branch information
Andrei Iakubov authored and facebook-github-bot committed Nov 12, 2024
1 parent 72593e8 commit 08ffacf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cookbooks/fb_systemd/recipes/default_packages.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
case node['platform_family']
when 'rhel', 'fedora'
systemd_packages << 'systemd-libs'
# Starting with Fedora 41, systemd-sysv is no longer supported and does not exist in the repo
if node.fedora? && node.os_at_least?('41')
systemd_packages.delete('systemd-sysv')
end
when 'debian'
systemd_packages += %w{
libpam-systemd
Expand Down

0 comments on commit 08ffacf

Please sign in to comment.