Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 193826

Summary: Clean up Pegasos hacks
Product: Gentoo Hosted Projects Reporter: Joshua Kinard <kumba>
Component: genkernelAssignee: Gentoo Genkernel Maintainers <genkernel>
Status: RESOLVED FIXED    
Severity: enhancement Keywords: InVCS
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 179294    
Attachments: Clean up Pegasos hacks in genkernel

Description Joshua Kinard gentoo-dev 2007-09-26 01:20:27 UTC
For the longest time, pegasos support apparently needed a special set of hooks in genkernel to build the kernel for it in a certain way.  This is done by forcing the kernel image name to zInitrd.image, and setting the variable GENERATE_Z_IMAGE to a positive value.  After looking over the code, these double conditional checks seem uneccessary, and so are replaced by a single variable, ENABLE_PEGASOS_HACKS.  The hacks are activated by passing to genkernel the --genzimage command line parameter.

This cleans up the conditional code in preparation for the --ktarget patch, filed under Bug #179294.
Comment 1 Joshua Kinard gentoo-dev 2007-09-26 01:23:40 UTC
Created attachment 131915 [details, diff]
Clean up Pegasos hacks in genkernel
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2007-11-07 20:43:57 UTC
OK.  I added this to SVN now...
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2007-11-07 21:01:55 UTC
This is in 3.4.9_pre7 which is now in the tree.
Comment 4 Joshua Kinard gentoo-dev 2007-11-08 01:04:19 UTC
Sweet.  You rock.  Now for Bug #179294.... :)