Skip to content

Commit

Permalink
Fixes #37715 - metadata checksum 256 by default (#11102)
Browse files Browse the repository at this point in the history
  • Loading branch information
ianballou authored Aug 14, 2024
1 parent 447b04b commit 06dacfb
Show file tree
Hide file tree
Showing 229 changed files with 132,663 additions and 128,470 deletions.
8 changes: 7 additions & 1 deletion app/services/katello/pulp3/repository/yum.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,13 @@ def remote_options

def publication_options(repository_version)
options = super(repository_version)
options.merge(checksum_type: root.checksum_type)
# To work around https://projects.theforeman.org/issues/37715
checksum_type = if root.checksum_type.nil?
'sha256'
else
root.checksum_type
end
options.merge(checksum_type: checksum_type)
end

def specific_create_options
Expand Down
Loading

0 comments on commit 06dacfb

Please sign in to comment.