[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.03.1309250016290.5312@erqung.pbz>
Date: Wed, 25 Sep 2013 00:31:51 +0530 (IST)
From: P J P <ppandit@...hat.com>
To: Rob Landley <rob@...dley.net>
cc: Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] Fix NULL pointer dereference while loading
initramfs
Hello Rob,
+-- On Mon, 23 Sep 2013, Rob Landley wrote --+
| I've been building kernels, including with initramfs, and I don't have
| dracut(8) installed? In today's git:
dracut(8) is a separate tool installed from package dracut.
-> dracut-029-2.fc19.x86_64
-> https://dracut.wiki.kernel.org/
| I've been messing with this area and maight be interested if I had any idea
| what this guy was talking about?
Kernel menuconfig selects gzip(1) as a default compression format for the
initial ramdisk image.
$ make menuconfig
-> General setup
-> Support initial ramdisk compressed using ...
If instead of gzip(1), you select bzip2(1) or xz(1) format and build a new
kernel, the initramfs image would still be compressed with gzip(1), because
currently there is no way to pass the selected compression format to dracut(8)
via $ make install.
# file /boot/initramfs-3.11.0.img
/boot/initramfs-3.11.0.img: LZMA compressed data, streamed
It shows LZMA because I've patched /sbin/new-kernel-pkg to use
$INITRD_COMPRESS variable.
Thank you.
--
Prasad J Pandit / Red Hat Security Response Team
DB7A 84C5 D3F9 7CD1 B5EB C939 D048 7860 3655 602B
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists