Bug 690690 - Remove rhev-hypervisor-pxe subpackage which is no longer used
Summary: Remove rhev-hypervisor-pxe subpackage which is no longer used
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: rhev-hypervisor6
Version: 6.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: rc
: ---
Assignee: Mike Burns
QA Contact: Virtualization Bugs
URL:
Whiteboard:
: 695695 (view as bug list)
Depends On:
Blocks: 690691 691832 692889
TreeView+ depends on / blocked
 
Reported: 2011-03-25 03:49 UTC by Perry Myers
Modified: 2016-04-26 15:29 UTC (History)
11 users (show)

Fixed In Version: rhev-hypervisor-6.1-12
Doc Type: Bug Fix
Doc Text:
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.
Clone Of:
: 690691 691832 (view as bug list)
Environment:
Last Closed: 2011-08-19 15:15:07 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Perry Myers 2011-03-25 03:49:35 UTC
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-*

Comment 2 Mike Burns 2011-03-29 15:15:14 UTC
The inclusion of livecd-iso-to* scripts in the iso will be handled in bug 691832.

Comment 3 Mike Burns 2011-03-29 15:21:00 UTC
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

Comment 4 Alan Pevec 2011-03-29 16:29:14 UTC
(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

Comment 7 Mohua Li 2011-04-14 07:00:48 UTC
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)

Comment 8 Misha H. Ali 2011-05-06 01:21:16 UTC
    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.

Comment 9 Alan Pevec 2011-05-06 11:05:28 UTC
    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.

Comment 10 Mike Burns 2011-07-25 14:17:11 UTC
*** Bug 695695 has been marked as a duplicate of this bug. ***


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