Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58816 - /usr/bin/genkernel: line 79: [: : integer expression expected
Summary: /usr/bin/genkernel: line 79: [: : integer expression expected
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2004-07-29 12:48 UTC by Mario Schmidt
Modified: 2004-08-23 04:54 UTC (History)
0 users

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 Mario Schmidt 2004-07-29 12:48:44 UTC
After installing /sbin/vgchange.static i wanted to do

gernkernel initrd

but i got an error an no static lvm binaries within of my initrd image

Reproducible: Always
Steps to Reproduce:
1. build manualy vgchange.static and vgscan.static
2. genkernel initrd

Actual Results:  
bash-2.05b# genkernel initrd 
* Gentoo Linux Genkernel; Version 3.0.2c 
* Compiling Linux Kernel 2.6.7-gentoo-r11 for x86... 
 
* initrd: >> Initializing... 
/usr/bin/genkernel: line 79: [: : integer expression expected 
*         >> Copying modules... 
*         >> Copying auxilary files... 
*         :: Size is at 3712K 
*         >> Creating loopback filesystem... 
*         >> Moving initrd files to the loopback... 
*         >> Cleaning up and compressing the initrd... 
*       >> No bootsplash detected; skipping! 
* 
* initrd compiled successfully! 
* 
* Do NOT report kernel bugs as genkernel bugs unless your bug 
* is about the default genkernel configuration... 
* 
* Make sure you have the latest genkernel before reporting bugs. 
 

Expected Results:  
Build initrd with lvm2 Support 

i changed Line 79 of gen_initrd.sh to 
 
                if [ "${CMD_NOLVM2}" != '1' ] 
 
this solved my problem.
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2004-08-23 04:54:24 UTC
Changed in 3.0.2f; please reopen this bug if you have any problems with it. Thanks!