unpack_dvd does not recognise AlmaLinux or Rocky media, and needs isoinfo, which EL9/EL10 do not ship

Aperta
#103 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
shell

Direzione di ricerca

Start in scripts/bin/unpack_dvd, lines 105-111, where the OS family is detected from the .treeinfo file, and add the AlmaLinux, Rocky Linux and Oracle Linux family names there. Then find where the script calls isoinfo and check whether xorriso -osirrox can extract the same files, falling back to a loop mount. Done means the script gets past family detection on AlmaLinux 9 and Rocky 9 media and no longer needs isoinfo on EL9 or EL10.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Problem

  • scripts/bin/unpack_dvd:105-111 sets the OS family only when the ISO's .treeinfo family contains CentOS or matches Red Hat|RHEL|RedHat. AlmaLinux 9 media has family = AlmaLinux and Rocky 9 has family = Rocky Linux, so the family stays unset and the script cannot continue. (Oracle Linux media was not checked.)
  • The script extracts files with isoinfo. On EL8 that comes from genisoimage in AppStream. On EL9 nothing in BaseOS or AppStream provides /usr/bin/isoinfo (genisoimage resolves to xorriso, which has no isoinfo), and on EL10 neither exists. It is only available from EPEL.

Impact

The tool that populates the local yum repositories and the PXE tree cannot unpack AlmaLinux or Rocky media, and cannot run at all on an EL9 or EL10 server without EPEL.

Proposed change

  • Map the AlmaLinux, Rocky and Oracle Linux families to their directory names.
  • Extract with xorriso -osirrox or a loop mount where isoinfo is not available.

🤖 Drafted by Claude.

Lingua principale
Ruby
Stelle
0
Fork
8
Merge medio
1g 10h
PR unite (30g)
3

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

  • Nessun Dockerfile né file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di simp/simp-utils

Tutte le issue di simp/simp-utils

Issue simili

Altre issue su Ruby

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.