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.
Created attachment 131915 [details, diff] Clean up Pegasos hacks in genkernel
OK. I added this to SVN now...
This is in 3.4.9_pre7 which is now in the tree.
Sweet. You rock. Now for Bug #179294.... :)