Re: [PATCH 1/2] Fix NULL pointer dereference while loadinginitramfs

From: Rob Landley
Date: Mon Sep 23 2013 - 21:38:19 EST


On 09/23/2013 02:41:10 PM, Andrew Morton wrote:
On Sun, 15 Sep 2013 14:33:53 +0530 (IST) P J P <ppandit@xxxxxxxxxx> wrote:

> Make menuconfig allows one to choose compression format of an
> initial ramdisk image. But this choice does not result in duly
> compressed initial ramdisk image. Because - $ make install - does
> not pass on the selected compression choice to the dracut(8) tool,
> which creates the initramfs file. dracut(8) generates the image
> with the default compression, ie. gzip(1).

I've been building kernels, including with initramfs, and I don't have dracut(8) installed? In today's git:

$ find . -type f | xargs grep -i dracut
./tools/testing/ktest/sample.conf:#POST_INSTALL = ssh user@target /sbin/dracut -f /boot/initramfs-test.img $KERNEL_VERSION
./tools/testing/ktest/examples/kvm.conf:# that uses dracut for its initfs. The POST_INSTALL will be executed
./tools/testing/ktest/examples/kvm.conf:POST_INSTALL = ${SSH} /sbin/dracut -f /boot/initramfs-test.img $KERNEL_VERSION
./Documentation/ABI/testing/evm: Documentation/keys-trusted-encrypted.txt. (A sample dracut

- Is anyone working on fixing up Kconfig/dracut(8) so the correct
decompression method is used?

I've been messing with this area and maight be interested if I had any idea what this guy was talking about?

Rob--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/