From: Ben Hutchings Date: Fri, 15 Nov 2013 03:03:25 +0000 (+0000) Subject: deb-pkg: Inhibit initramfs builders if CONFIG_BLK_DEV_INITRD is not set X-Git-Tag: v3.14-rc1~8^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c8ddae09f4c102b97c9086cc70347e89468a547;p=pandora-kernel.git deb-pkg: Inhibit initramfs builders if CONFIG_BLK_DEV_INITRD is not set The kernel postinst hook for initramfs-tools will build an initramfs on installation unless $INITRD is set to 'No'. make-kpkg generates a postinst script that sets this variable appropriately, but we don't. Set it based on CONFIG_BLK_DEV_INITRD. This should also work with dracut when is fixed. Signed-off-by: Ben Hutchings Signed-off-by: Michal Marek --- Reading git-diff-tree failed