lvmcreate_initrd always fails creating a ramdisk,because the created ramdisk is too small. this is caused by using `tail -1' which is obsolete and exits with an error. (/sbin/lvmcreate_initrd line 262) when `tail -1' is replaced by `tail -n 1' the script works as expected. pls correct using a patch or some sed script in the ebuild.
bash-2.05b$ diff -u lvm-user-1.0.7-r1.ebuild lvm-user-1.0.7-r2.ebuild --- lvm-user-1.0.7-r1.ebuild 2004-06-30 18:35:54.000000000 +0100 +++ lvm-user-1.0.7-r2.ebuild 2004-07-08 09:51:22.359606800 +0100 @@ -43,6 +43,9 @@ # Fix flags sed -i -e "54,56d" -e "73d" make.tmpl + # Fix tail + sed -i -e 's/tail -1/tail -n 1/' tools/lvmcreate_initrd + make || die "Make failed" } Easily fixed :)
This is in the -r4 version of lvm-user. Closing as fixed.