gen_initrd.sh trys to copy a file into a temporary directory that does not exist yet when the --evms2 option is selected. The file is: /lib/libgcc_s* is attempting to copy to ${TEMP}/initramfs-evms2-temp/lib but should probably copy it to ${TEMP}/initrd-temp/lib Reproducible: Always Steps to Reproduce: 1. genkernel --evms2 all Actual Results: ERROR: Could not copy files for EVMS2! Expected Results: No error should appear. Diff between gen_initrd.sh and correct gen_initrd.sh .sh 208c208 < cp -a /lib/libgcc_s* "${TEMP}/initramfs-evms2-temp/lib" \ --- > cp -a /lib/libgcc_s* "${TEMP}/initrd-temp/lib" \
There was also an issue with lvm2 (same problem) which has been fixed now. Thanks for pointing this out. I've fixed it in SVN and it'll show up in the next genkernel release.
Please test genkernel 3.4.9_prer1 or better. This should be fixed now.