Project

General

Profile

Actions

Feature #10363

closed

Support for hosting Red Had Enterprise Linux 4.x repositories

Added by Matthew Ceroni about 10 years ago. Updated almost 6 years ago.

Status:
Rejected
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

I have a need to host YUM repositories for Red Hat 4.x boxes (I know, they are ancient but I can't get rid of them just yet). Currently the Yum metadata checksum options are SHA1 and SHA2. As RH4 is so old, the yum python scripts are coded to look for SHA (SHA2 didn't exist at that time) in the repomd.xml file. When it sees SHA1 as the checksum it errors and fails checksum. This is corrected (and verified as working) but editing the misc.py and repos.py file to add an OR condition when checking for sumtype

elif sumtype 'sha'

TO

elif sumtype 'sha' OR sumtype = 'sha1'

It would be easier to just have another drop down option that allows you to set it to SHA so that the repo meta data file gets generated with a checksum value of SHA.

Actions

Also available in: Atom PDF