Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 411197 - genkernel does not handle gzip compression configured in genkernel.conf
Summary: genkernel does not handle gzip compression configured in genkernel.conf
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2012-04-07 21:07 UTC by Peter Gantner (a.k.a. nephros)
Modified: 2012-04-08 22:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Gantner (a.k.a. nephros) 2012-04-07 21:07:35 UTC
Line 709 from <genkernel>/gen_initramfs.sh reads:

  case ${COMPRESS_INITRD_TYPE} in
    xz|lzma|bzip2|gzip2|lzo) compression=${COMPRESS_INITRD_TYPE} ;;

look here ------------^

While the comment from /etc/genkernel.conf reads:

  # Types of compression: best, xz, lzma, bzip2, gzip, lzop
  # "best" selects the best available compression method
  #COMPRESS_INITRD_TYPE="best"


"gzip2" is likely a typo (should be gzip).

This has the effect of genkernel NOT compressing the initrd at all when told so through the config file.
Does not fail in any meaningful way though.

As a workaround, COMPRESS_INITRD_TYPE="gzip2" can be used in the config file.
Comment 1 Peter Gantner (a.k.a. nephros) 2012-04-07 21:10:45 UTC
disregard that last line about a workaround, using "gzip2" as a config value causes the script to fail a few lines later.
Comment 3 Sebastian Pipping gentoo-dev 2012-04-08 22:20:14 UTC
+*genkernel-3.4.29 (08 Apr 2012)
+
+  08 Apr 2012; Sebastian Pipping <sping@gentoo.org> +genkernel-3.4.29.ebuild:
+  Bump to 3.4.29
+