Bug 690691 - Remove rhev-hypervisor-pxe subpackage which is no longer used
Summary: Remove rhev-hypervisor-pxe subpackage which is no longer used
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: rhev-hypervisor
Version: 5.6
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Mike Burns
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 690690 691832
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-25 03:50 UTC by Perry Myers
Modified: 2011-07-27 14:42 UTC (History)
9 users (show)

Fixed In Version: rhev-hypervisor-5.7-1
Doc Type: Bug Fix
Doc Text:
Clone Of: 690690
Environment:
Last Closed: 2011-07-27 14:42:18 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:1090 0 normal SHIPPED_LIVE Moderate: rhev-hypervisor security and bug fix update 2011-07-27 14:40:56 UTC

Description Perry Myers 2011-03-25 03:50:52 UTC
+++ This bug was initially created as a clone of Bug #690690 +++

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 1 Mike Burns 2011-04-12 12:55:51 UTC
3 things to be done here: 

1.  drop -pxe package
2.  include livecd scripts (renamed to rhevh-iso-to-*)
3.  add obsoletes entry in rhev-h specfile

Comment 4 Guohua Ouyang 2011-04-22 07:37:32 UTC
Verified on 5.7-1,

1: no rhev-hypervisor-pxe subpackage on brew:
src	
	rhev-hypervisor-5.7-1.el5.src.rpm (info) (download)
noarch 	(build logs)
	rhev-hypervisor-5.7-1.el5.noarch.rpm (info) (download)

2. rhevh-iso-to-* are include:
# rpm -ql rhev-hypervisor-5.7-1.el5.noarch
/usr/bin/edit-rhevh
/usr/bin/rhevh-iso-to-disk
/usr/bin/rhevh-iso-to-pxeboot
/usr/share/rhev-hypervisor/rhev-hypervisor.iso

3. file permission are set correctly.
# ll /usr/bin/rhevh*
-rwxr-xr-x. 1 root root 20350 Apr 14 20:47 /usr/bin/rhevh-iso-to-disk
-rwxr-xr-x. 1 root root  3774 Apr 14 20:47 /usr/bin/rhevh-iso-to-pxeboot
# ll /usr/bin/edit-rhevh 
-rwxr-xr-x. 1 root root 12053 Apr 14 20:47 /usr/bin/edit-rhevh

Comment 5 errata-xmlrpc 2011-07-27 14:42:18 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-1090.html


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