From: Michael Prokop Date: Mon, 20 Dec 2010 15:28:38 +0000 (+0100) Subject: Add patch 17_fix_usage_of_manual_add_modules.dpatch. X-Git-Tag: v2.0.12-1+grml.03~3 X-Git-Url: http://git.grml.org/?p=live-boot-grml.git;a=commitdiff_plain;h=ebe30c37fbe5fbc08966c2689fab5db897343b52 Add patch 17_fix_usage_of_manual_add_modules.dpatch. --- diff --git a/debian/patches/00list b/debian/patches/00list index a77d98f..5ecabf2 100644 --- a/debian/patches/00list +++ b/debian/patches/00list @@ -9,3 +9,4 @@ 14_no_blkid_on_lenny.dpatch 15_networking_grml.dpatch 16_nodhcp.dpatch +17_fix_usage_of_manual_add_modules.dpatch diff --git a/debian/patches/17_fix_usage_of_manual_add_modules.dpatch b/debian/patches/17_fix_usage_of_manual_add_modules.dpatch new file mode 100755 index 0000000..7a379ca --- /dev/null +++ b/debian/patches/17_fix_usage_of_manual_add_modules.dpatch @@ -0,0 +1,20 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 17_fix_usage_of_manual_add_modules.dpatch by Michael Prokop +## +## DP: manual_add_modules does not support multiple options, therefore +## DP: mtdblock isn't part of initramfs. + +@DPATCH@ + +--- a/hooks/live ++++ b/hooks/live +@@ -181,7 +181,8 @@ copy_exec /usr/bin/md5sum /bin + if [ -x /usr/bin/memdiskfind ] + then + copy_exec /usr/bin/memdiskfind +- manual_add_modules phram mtdblock ++ manual_add_modules phram ++ manual_add_modules mtdblock + fi + + # Program: cpio