Bug 193826 - Clean up Pegasos hacks
Bug#: 193826 Product:  Gentoo Hosted Projects Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: genkernel@gentoo.org Reported By: kumba@gentoo.org
Component: genkernel
URL: 
Summary: Clean up Pegasos hacks
Keywords:  InSVN
Status Whiteboard: 
Opened: 2007-09-26 01:20 0000
Description:   Opened: 2007-09-26 01:20 0000
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 From Joshua Kinard 2007-09-26 01:23:40 0000 -------
Created an attachment (id=131915) [details]
Clean up Pegasos hacks in genkernel

------- Comment #2 From Chris Gianelloni (RETIRED) 2007-11-07 20:43:57 0000 -------
OK.  I added this to SVN now...

------- Comment #3 From Chris Gianelloni (RETIRED) 2007-11-07 21:01:55 0000 -------
This is in 3.4.9_pre7 which is now in the tree.

------- Comment #4 From Joshua Kinard 2007-11-08 01:04:19 0000 -------
Sweet.  You rock.  Now for Bug #179294.... :)