Bug 456947

Summary: wrapper missing dep on gzip
Product: [Fedora] Fedora Reporter: Jesse Keating <jkeating>
Component: kernelAssignee: Josh Boyer <jwboyer>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: dcantrell, jwboyer
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-07-29 01:30:45 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:

Description Jesse Keating 2008-07-28 20:13:17 UTC
I'm having difficulty getting /usr/sbin/wrapper to do the right thing that
anaconda expects, IE writing out a zImage into an output directory.  Looking at
the --help output I see options for -O and -v, -O being output and -v being
verbose.  However using -v I get a usage statement, where the usage statement
says -o is the output, and sure enough, using -O I get a usage statement as well.

Using -o I still don't get an image in my output directory, only something oddly
named in PWD.

/usr/sbin/wrapper -o /out/ppc64.img -i
/srv/pungi/f10-alpha.4/10-Alpha/ppc/os/ppc/ppc64/ramdisk.image.gz -D
/usr/lib/kernel-wrapper/ /srv/pungi/f10-alpha.4/10-Alpha/ppc/os/ppc/ppc64/vmlinuz

seems to just produce 

zImage.4890.o 
zImage.4890.o: ELF 32-bit MSB relocatable, PowerPC or cisco 4500, version 1
(SYSV), with unknown capability 0x41000000 = 0x11676e75, with unknown capability
0x10000 = 0x90402, not stripped


(and last but not least, wrapper fails completely if gzip isn't installed,
kernel-bootwrapper should Require gzip)

Comment 1 Jesse Keating 2008-07-28 21:27:40 UTC
Changing summary as I've narrowed down the main problem, gzip is a requirement
and if not installed, odd things happen.

The documentation being wrong is because '--help' somehow passes into objdump
and the -O and -v is from objdump.

Comment 2 Josh Boyer 2008-07-29 00:54:22 UTC
I'll fix the requires.