Skip to content

Commit

Permalink
Expand on the actor docstring for the el8->el9 rubygem-irb symlink fix.
Browse files Browse the repository at this point in the history
In RHEL 10, the directory is a regular directory again.

The 2 actors are separate over creating a common solution for both.
Expand in the docstring on the reason for the el8->el9 actor to
differentiate them apart.
  • Loading branch information
jackorp authored and pirat89 committed Nov 13, 2024
1 parent 866a4b9 commit 81a3297
Showing 1 changed file with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,16 @@

class RegisterRubyIRBAdjustment(Actor):
"""
Registers a workaround which will adjust the Ruby IRB directories during the upgrade.
Register a workaround to allow rubygem-irb's directory -> symlink conversion.
The /usr/share/ruby/irb has been moved from a directory to a symlink
in RHEL 9 and this conversion was not handled on RPM level.
This leads to DNF reporting package file conflicts when a major upgrade
is attempted and rubygem-irb (or ruby-irb) is installed.
Register "handlerubyirbsymlink" script that removes the directory prior
to DNF upgrade and allows it to create the expected symlink in place of
the removed directory.
"""

name = 'register_ruby_irb_adjustment'
Expand Down

0 comments on commit 81a3297

Please sign in to comment.