Hide Forgot
Description of problem: rhev-hypervisor-pxe subpackage used to be a wrapper around using livecd-iso-to-pxe script so that in %post install of this package the ISO would automatically be converted to vmlinuz and initrd files suitable for PXE boot. However this relies on livecd-iso-to-pxe script being installed on system, which is only present if livecd-tools package is installed which is not presently shipped in RHEL. So we need to remove this subpackage. The to-pxe and to-disk (for USB installs) scripts are already bundled inside the RHEVH ISO image itself, so users can grab the scripts there. But this is a little inconvenient since it involves users needing to loopback mount the ISO, grab the scripts and then run the commands. So we should consider providing the livecd-iso-* scripts directly in the rhev-hypervisor RPM. So that these do not conflict with livecd-tools filenames, we should rename these scripts to rhevh-iso-*
The inclusion of livecd-iso-to* scripts in the iso will be handled in bug 691832.
diff -u -r1.26 rhev-hypervisor.spec --- rhev-hypervisor.spec 25 Mar 2011 19:26:23 -0000 1.26 +++ rhev-hypervisor.spec 29 Mar 2011 15:20:17 -0000 @@ -4,7 +4,7 @@ %define product Red Hat Enterprise Virtualization Hypervisor %define product_short RHEV Hypervisor %define product_code rhevh -%define rhevh_build 11 +%define rhevh_build 12 Summary: %{product} ISO image Name: rhev-hypervisor @@ -37,16 +37,6 @@ The ISO boot image for %{product} booting from CDROM device. At the moment, this RPM just packages prebuilt ISO. -%package pxe -Summary: %{product} PXE image -Group: Applications/System -Requires: %{name} = %{version}-%{release} -Requires: livecd-tools - -%description pxe -PXE boot image installer for %{product} -network boot from a PXE Server. - %prep %build @@ -67,20 +57,15 @@ %clean %{__rm} -rf %{buildroot} -%post pxe -cd %{app_root} -rm -rf tftpboot -livecd-iso-to-pxeboot %{name}.iso > /dev/null -cobbler sync > /dev/null 2>&1 || : - %files %defattr(0644,root,root,0755) %{app_root}/%{name}.iso -%files pxe -%defattr(0644,root,root,0755) - %changelog +* Wed Mar 30 2011 Mike Burns <mburns> 6.1-12 +- RHEL6.1 Snapshot 2 +- Drop -pxe subpackage rhbz#690690 + * Fri Mar 25 2011 Mike Burns <mburns> 6.1-11 - RHEL6.1 beta
(In reply to comment #2) > The inclusion of livecd-iso-to* scripts in the iso will be handled in bug > 691832. you mean in the rpm, scripts are already on the iso
from 6.1-12, in brew, there is no pxe subpackage, fixed, RPMs src rhev-hypervisor-6.1-12.el6.src.rpm (info) (download) noarch (build logs) rhev-hypervisor-6.1-12.el6.noarch.rpm (info) (download) RPMs src rhev-hypervisor-6.1-11.el6.src.rpm (info) (download) noarch (build logs) rhev-hypervisor-6.1-11.el6.noarch.rpm (info) (download) rhev-hypervisor-pxe-6.1-11.el6.noarch.rpm (info) (download)
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Previously, the rhev-hypervisor-pxe subpackage operated as a wrapper for the livecd-iso-to-pxe script, which is no longer shipped with Red Hat Enterprise Linux. This is now fixed to remove the unnecessary rhev-hypervisor-pxe subpackage.
Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1 +1 @@ -Previously, the rhev-hypervisor-pxe subpackage operated as a wrapper for the livecd-iso-to-pxe script, which is no longer shipped with Red Hat Enterprise Linux. This is now fixed to remove the unnecessary rhev-hypervisor-pxe subpackage.+Previously, the rhev-hypervisor-pxe subpackage operated as a wrapper for the livecd-iso-to-pxe script, which is not shipped with Red Hat Enterprise Linux. This is now fixed to remove the rhev-hypervisor-pxe subpackage and livecd-iso-to-pxeboot script is included directly on the RHEV-H ISO, under LiveOS folder.
*** Bug 695695 has been marked as a duplicate of this bug. ***