Add patch 17_fix_usage_of_manual_add_modules.dpatch.
[live-boot-grml.git] / debian / patches / 17_fix_usage_of_manual_add_modules.dpatch
1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 17_fix_usage_of_manual_add_modules.dpatch by Michael Prokop <mika@grml.org>
3 ##
4 ## DP: manual_add_modules does not support multiple options, therefore
5 ## DP: mtdblock isn't part of initramfs.
6
7 @DPATCH@
8
9 --- a/hooks/live
10 +++ b/hooks/live
11 @@ -181,7 +181,8 @@ copy_exec /usr/bin/md5sum /bin
12  if [ -x /usr/bin/memdiskfind ]
13  then
14         copy_exec /usr/bin/memdiskfind
15 -       manual_add_modules phram mtdblock
16 +       manual_add_modules phram
17 +       manual_add_modules mtdblock
18  fi
19  
20  # Program: cpio