All of lore.kernel.org
 help / color / mirror / Atom feed
From: maximilian attems <max-U9r9yeDMy7A@public.gmane.org>
To: Michael Prokop <mika-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>,
	533903-61a8vm9lEZVf4u+23C9RwQ@public.gmane.org
Cc: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Bug#533903: initramfs-tools: support different compression tools in mkinitramfs
Date: Mon, 22 Jun 2009 23:40:41 +0200	[thread overview]
Message-ID: <20090622214041.GE6173@stro.at> (raw)
In-Reply-To: <20090621133116.32436.69638.reportbug@grmlvrs>

On Sun, 21 Jun 2009, Michael Prokop wrote:

> Package: initramfs-tools
> Version: 0.93.3
> Severity: wishlist
> 
> 
> Current kernel versions support different decompression options for
> kernel and initrd:
> 
>   CONFIG_DECOMPRESS_GZIP
>   CONFIG_DECOMPRESS_BZIP2
>   CONFIG_DECOMPRESS_LZMA

i haven't played with those, but yes why not.


do you know what happens if initramfs is in lzma but kernel not?
 
> initramfs-tools currently supports gzip only. I'd like to see
> support for bzip2 and lzma as well, as both of them provide better
> compression (which is especially interesting for live systems).
> 
> IMHO the user should get gzip by default (if unset) but be able to
> choose between gzip, bzip2 and lzma. Something like
> COMPRESSION=[gzip|bzip2|lzma] in /etc/initramfs-tools/initramfs.conf
> should provide that.
> 
> I plan to provide the according code for integration (though I'm
> running out of time right now, so it might need a few days/weeks).
> Please ACK my idea if that's in your interest. If have any special
> configuration variable / implementation wishes please let me know.

adding the dracut guys on cc, afais they haven't implement it
yet too, so maybe we can easily agree:
~/src/dracut$ egrep gzip dracut
( cd "$initdir"; find . |cpio -H newc -o |gzip -9 > "$outfile"; )



--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

       reply	other threads:[~2009-06-22 21:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20090621133116.32436.69638.reportbug@grmlvrs>
2009-06-22 21:40 ` maximilian attems [this message]
2009-06-22 23:45   ` Bug#533903: initramfs-tools: support different compression tools in mkinitramfs Michael Prokop

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090622214041.GE6173@stro.at \
    --to=max-u9r9yedmy7a@public.gmane.org \
    --cc=533903-61a8vm9lEZVf4u+23C9RwQ@public.gmane.org \
    --cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=mika-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.