I experienced this using a fresh stage3 tarball and try to build a stock kernel image with initramfs using genkernel-3.4.36. It fails with the error: Compression '' is not available. Please install package '' The default compression method is 'best' and it checks for any available in the kernel but there is a bug in the script (I think, really not sure here) to only find one if the command is in the shell history Reproducible: Always Steps to Reproduce: 1. genkernel all 2. 3. Actual Results: Compression '' is not available. Please install package '' This is since a couple of versions, where the '!' got added to evaluate the command path like this in gen_initramfs.sh "${!cmd_variable_name}" workaround: set no compression or gzip (works) It starts working after a live ebuild is emerged, I assume that puts the compression commands into the history file. I just thought to let you know before those might become unmasked or stable
Confirmed and fixed on Git master. Related commits: Catch case with no initramfs compression supported by kernel (bug #423847) http://git.overlays.gentoo.org/gitweb/?p=proj/genkernel.git;a=commitdiff;h=15a33f3d28d9efa512b736853046224d7d2701d3 Use proper ${KERNEL_CONFIG} rather than ${KERNEL_DIR}/.config as input http://git.overlays.gentoo.org/gitweb/?p=proj/genkernel.git;a=commitdiff;h=88892f5df2453f959539c444a4d0ac161ec70d8f
+*genkernel-3.4.37 (08 Jul 2012) + + 08 Jul 2012; Sebastian Pipping <sping@gentoo.org> +genkernel-3.4.37.ebuild: + Bump to 3.4.37 +
*** Bug 414561 has been marked as a duplicate of this bug. ***