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.
Changed in 3.0.2f; please reopen this bug if you have any problems with it. Thanks!