From ebe30c37fbe5fbc08966c2689fab5db897343b52 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Mon, 20 Dec 2010 16:28:38 +0100 Subject: [PATCH] Add patch 17_fix_usage_of_manual_add_modules.dpatch. --- debian/patches/00list | 1 + .../17_fix_usage_of_manual_add_modules.dpatch | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100755 debian/patches/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 -- 2.1.4