restore support for old persistence media
[live-boot-grml.git] / debian / patches / 33_retry_phram.patch
1 commit d4619b77a669c70ae68d5da34de7655ffef80e04
2 Author: Michael Prokop <mika@grml.org>
3 Date:   Mon Jul 11 12:42:24 2011 +0200
4
5     Try loading phram module twice to fix loading issue.
6     
7     phram doesn't work on first modprobe, when loading once again it seems
8     to work. So let's try it this way.
9
10 Index: live-boot-grml/components/9990-main.sh
11 ===================================================================
12 --- live-boot-grml.orig/components/9990-main.sh 2014-03-08 13:38:03.673128454 +0100
13 +++ live-boot-grml/components/9990-main.sh      2014-03-08 13:38:03.669128922 +0100
14 @@ -58,6 +58,7 @@
15                                 then
16                                         # We found a memdisk, set up phram
17                                         modprobe phram phram=memdisk,${MEMDISK}
18 +                                       modprobe phram phram=memdisk,${MEMDISK}
19  
20                                         # Load mtdblock, the memdisk will be /dev/mtdblock0
21                                         modprobe mtdblock