Please add lvm2 support to genkernel, so i can use gentoo on my root-on-lvm system...
I applied the patch from #44091, i now have statically linked lvm2, i am trying to tweak genkernel to include the binaries and execute them on boot...
Created attachment 31489 [details, diff] Patch for LVM2 When you apply this patch to genkernal and have build lvm2 statically, it will scan and activate your volumes in the initrd -> root on lvm2 is possible (tried with 2.4.25-gentoo)
Created attachment 31879 [details, diff] Patch for genkernel - 2nd Edition This one also works without having "mount devfs at boot" set....
Added into genkernel-3.0.2b; it should reach Portage from CVS in half-an-hour. Thanks!
+ if [ -e "/sbin/vgscan.static" ] Neither lvm2-2.00.08.ebuild nor lvm2-2.00.15.ebuild provide any vgscan.static. Only vgscan which is a symlink to lvm. Which package provides vgscan.static? The lvm2 ebuilds also do not support USE=static.
For Now you have to use the patches form Bug 44091 to get statically linked lvm2