Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35022 - genkernel ignores INITRD_SIZE parameter
Summary: genkernel ignores INITRD_SIZE parameter
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Brad House
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-03 18:00 UTC by Neil Katin
Modified: 2004-01-18 07:58 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Neil Katin 2003-12-03 18:00:19 UTC
There is an INITRD_SIZE parameter defined in the default
/etc/kernels/settings file.  This parameter is ignored in
the 1.8 version of genkernel.  The size is currently hard
coded in the mke2fs command (look for -N5000).

Reproducible: Always
Steps to Reproduce:
1.
2.
3.





Replace this line:

        mke2fs -F -q -N5000 ${TEMP}/initrd

with this:

        mke2fs -F -q -N${INITRD_SIZE:-5000} ${TEMP}/initrd
Comment 1 Neil Katin 2003-12-03 18:11:11 UTC
Oops -- the suggested fix missed a needed change to the
line before (the dd command).  Here's the updated suggested
fix:

       dd if=/dev/zero of=${TEMP}/initrd bs=1k count=${INITRD_SIZE:-5000}
       mke2fs -F -q -N${INITRD_SIZE:-5000} ${TEMP}/initrd
Comment 2 Brad House 2004-01-18 07:58:30 UTC
I did not write genkernel 1.x
do not report bugs on genkernel 1.x
it is obsolete

use genkernel 3.0.1