Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 193826 - Clean up Pegasos hacks
Summary: Clean up Pegasos hacks
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 179294
  Show dependency tree
 
Reported: 2007-09-26 01:20 UTC by Joshua Kinard
Modified: 2007-11-08 01:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Clean up Pegasos hacks in genkernel (genkernel-clean-up-pegasos-hacks.patch,9.47 KB, patch)
2007-09-26 01:23 UTC, Joshua Kinard
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.... :)