Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 545873

Summary: Review Request: gpxe - A network boot loader
Product: Red Hat Enterprise Linux 5 Reporter: Glauber Costa <gcosta>
Component: Package ReviewAssignee: Eduardo Habkost <ehabkost>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5.5CC: ehabkost, llim, notting, pm-rhel, tburke
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-01-12 21:11:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 188273, 545886    

Description Glauber Costa 2009-12-09 14:58:31 UTC
Spec URL: http://glommer.fedorapeople.org/gpxe-el5/gpxe.spec
SRPM URL: http://glommer.fedorapeople.org/gpxe-el5/gpxe-0.9.7-7.el5rhev.src.rpm
Description: gPXE is an open source network bootloader. It provides a direct
replacement for proprietary PXE ROMs, with many extra features such as
DNS, HTTP, iSCSI, etc.

Comment 1 Eduardo Habkost 2009-12-09 19:33:49 UTC
Considering that the qemu ROMs appear on a different directory (not /usr/share/gpxe) I suggest making those files just symlinks to the /usr/share/gpxe files:


# the roms supported by qemu will be packaged separatedly
# remove from the main rom list and add them to qemu.list
for fmt in rom ;do 
 for rom in %{qemuroms} ; do
  sed -i -e "/\/${rom}.${fmt}/d" ${fmt}.list
  echo %{_datadir}/pxe-roms/${rom}.zrom >> qemu.${fmt}.list
  mv %{buildroot}/%{_datadir}/%{name}/${rom}.${fmt} %{buildroot}/%{_datadir}/pxe-roms/${rom}.zrom
  ^^^^^^ here


 done
done

# qemu expects this name
mv %{buildroot}/%{_datadir}/pxe-roms/e1000-0x100e.zrom %{buildroot}/%{_datadir}/pxe-roms/e1000-82542.zrom
^^^^^^^^ here



If /usr/share/pxe-roms is qemu-specific (existing only to make qemu find the files it needs), maybe we can call it /usr/share/qemu-pxe-roms/

Comment 2 Glauber Costa 2009-12-10 11:16:15 UTC
I gave this some further thoughts, and decided to follow an alternate route here. Instead of using symlinks, I plan on only building the roms we actually need. Remember that by building and shipping the other subpackages, the burden of supporting it would lie on us.

This makes the package deviate a little bit from Fedora version, but I believe it is well justified, specially given the fact that the resulting package is trivially small.

I'll post a follow up soon.

Comment 4 RHEL Program Management 2009-12-10 12:49:18 UTC
This request was evaluated by Red Hat Product Management for
inclusion, but this component is not scheduled to be updated in
the current Red Hat Enterprise Linux release. If you would like
this request to be reviewed for the next minor release, ask your
support representative to set the next rhel-x.y flag to "?".

Comment 5 Eduardo Habkost 2009-12-10 15:04:17 UTC
Non-blocker comments:

1)
    # Just to be in agreement with etherboot. Gpxe roms are called ".rom",
    # but are compressed by default
    mv bin/$i.rom bin/$i.zrom


You don't need to do that, because we can change KVM to look for .rom files. But not a blocker: we can leave it as-is.

2)
      if [ -e $img ]; then
	   cp -a $img %{buildroot}/%{_datadir}/qemu-pxe-roms/
      fi   

We can use install(1) instead of cp to ensure proper file modes. But Fedora uses 'cp', so it's worth keeping our package closer to Fedora.

The rest looks good to me. It's very close to the Fedora package.


That said, I approve the package.

Comment 6 RHEL Program Management 2009-12-14 12:59:49 UTC
This request was evaluated by Red Hat Product Management for
inclusion, but this component is not scheduled to be updated in
the current Red Hat Enterprise Linux release. If you would like
this request to be reviewed for the next minor release, ask your
support representative to set the next rhel-x.y flag to "?".

Comment 8 Eduardo Habkost 2010-01-12 21:11:17 UTC
gpxe was already included. closing.