Bug#627677: alternative initramfs compressor
On Tue, May 24, 2011 at 05:41:44PM +0200, intrigeri wrote:
> Colin Watson wrote (23 May 2011 14:47:18 GMT) :
> > + # We probably ought to use COMPRESS= in a temporary file in
> > + # /etc/initramfs-tools/conf.d/ instead, but it's hard to
> > + # pass options that way.
>
> If this is your only reason to decompress / recompress the ramdisks
> (implicitly depending on those being compressed using gzip in the
> first place), wouldn't it be better to make initramfs-tools support a
> COMPRESS_OPTIONS option + indeed use its conf.d/ to set COMPRESS=,
> rather than adding the same options to live-build?
It probably would, which is why I added a comment; but live-build will
need it at least for a while anyway, to support older distributions.
(And there isn't much difference in code size.)
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=592519 has been filed
for a while requesting the change you suggest. I've CCed that bug to
indicate the link.
--
Colin Watson [cjwatson@ubuntu.com]
Reply to: