Add patch 17_fix_usage_of_manual_add_modules.dpatch.
authorMichael Prokop <mika@grml.org>
Mon, 20 Dec 2010 15:28:38 +0000 (16:28 +0100)
committerMichael Prokop <mika@grml.org>
Mon, 20 Dec 2010 15:29:29 +0000 (16:29 +0100)
debian/patches/00list
debian/patches/17_fix_usage_of_manual_add_modules.dpatch [new file with mode: 0755]

index a77d98f..5ecabf2 100644 (file)
@@ -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 (executable)
index 0000000..7a379ca
--- /dev/null
@@ -0,0 +1,20 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 17_fix_usage_of_manual_add_modules.dpatch by Michael Prokop <mika@grml.org>
+##
+## 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