RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1971840 - Please replace genisoimage with xorriso
Summary: Please replace genisoimage with xorriso
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: edk2
Version: 9.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: beta
: ---
Assignee: Laszlo Ersek
QA Contact: Xueqiang Wei
URL:
Whiteboard:
Depends On: 1938254
Blocks: 2002949
TreeView+ depends on / blocked
 
Reported: 2021-06-14 20:16 UTC by Jiri Kucera
Modified: 2021-12-07 21:52 UTC (History)
14 users (show)

Fixed In Version: edk2-20210527gite1999b264f1f-2.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-12-07 21:50:14 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gitlab redhat/centos-stream/src edk2 merge_requests 2 0 None None None 2021-06-30 13:09:11 UTC

Description Jiri Kucera 2021-06-14 20:16:15 UTC
cdrkit is going to be removed from RHEL 9 since it is not actively developed for a long time. xorriso from libisoburn is genisoimage's alternative.

Fedora PR: https://src.fedoraproject.org/rpms/edk2

Comment 1 Klaus Heinrich Kiwi 2021-06-15 13:01:34 UTC
Laszlo,

 this sounds important (and urgent, since it's RHEL9 compose-related?). Should this be assigned to you? Let me know otherwise.

 -Klaus

Comment 2 Laszlo Ersek 2021-06-23 09:22:06 UTC
Hi Klaus,

it's best to update the RHEL9 spec file after the RHEL-9 rebase of edk2 (= rebuild of RHEL-8.5 SRPM).

Thanks
Laszlo

Comment 3 Laszlo Ersek 2021-06-23 09:25:26 UTC
(In reply to Jiri Kucera from comment #0)
> cdrkit is going to be removed from RHEL 9 since it is not actively developed
> for a long time. xorriso from libisoburn is genisoimage's alternative.
> 
> Fedora PR: https://src.fedoraproject.org/rpms/edk2

> - genisoimage -input-charset ASCII -J -rational-rock \
> -     -efi-boot "${vfat##*/}" -no-emul-boot -o "$iso" -- "$vfat"
> + mkisofs -input-charset ASCII -J -rational-rock \
> +     -e "${vfat##*/}" -no-emul-boot -o "$iso" "$vfat"

I prefer using verbose option names (command lines in general) in spec files, so in RHEL9 we should replace "-efi-boot" with "--efi-boot", not "-e". Furthermore, removing the "--" option/operand delimiter seems unwarranted, we should keep it in RHEL9, even if only for readability's sake.

Thanks.

Comment 4 Laszlo Ersek 2021-06-28 16:52:30 UTC
Bug 1938254 is now in MODIFIED state, so work can commence on this downstream-only update.

Comment 5 Laszlo Ersek 2021-06-30 10:19:47 UTC
(In reply to Laszlo Ersek from comment #3)
> (In reply to Jiri Kucera from comment #0)
> > cdrkit is going to be removed from RHEL 9 since it is not actively developed
> > for a long time. xorriso from libisoburn is genisoimage's alternative.
> > 
> > Fedora PR: https://src.fedoraproject.org/rpms/edk2
> 
> > - genisoimage -input-charset ASCII -J -rational-rock \
> > -     -efi-boot "${vfat##*/}" -no-emul-boot -o "$iso" -- "$vfat"
> > + mkisofs -input-charset ASCII -J -rational-rock \
> > +     -e "${vfat##*/}" -no-emul-boot -o "$iso" "$vfat"
> 
> I prefer using verbose option names (command lines in general) in spec
> files, so in RHEL9 we should replace "-efi-boot" with "--efi-boot", not
> "-e". Furthermore, removing the "--" option/operand delimiter seems
> unwarranted, we should keep it in RHEL9, even if only for readability's sake.

My preferences do not work, unfortunately, due to various bugs in the "mkisofs" wrapper of "xorriso". It's not a drop-in replacement. The Fedora changes are justified, but they were not explained.

Comment 6 Laszlo Ersek 2021-06-30 12:49:49 UTC
Regression testing (with any UefiShell.iso-related tasks from the test plan) should suffice here -- in fact the package build process itself only completes if UefiShell.iso is built correctly and behaves correctly.

Comment 10 Yanan Fu 2021-07-05 01:58:03 UTC
QE bot(pre verify): Set 'Verified:Tested,SanityOnly' as gating/tier1 test pass.

Comment 11 Xueqiang Wei 2021-07-13 20:19:23 UTC
Tested edk2 test loop(secure boot, uefi shell commands, https installation, pxe installation and so on), no new bug found. So set status to VERIFIED.


Versions:
kernel-5.13.0-0.rc7.51.el9.x86_64
qemu-kvm-6.0.0-7.el9
edk2-20210527gite1999b264f1f-2.el9


Note You need to log in before you can comment on or make changes to this bug.