Skip to content

Commit

Permalink
Turn d4619b7 into a quilt patch
Browse files Browse the repository at this point in the history
Otherwise dpkg-source (rightfully) complains that there are
untracked local changes.
  • Loading branch information
Christian Hofstaedtler committed Dec 6, 2011
1 parent 447c0d1 commit 1e61d64
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions debian/patches/33_retry_phram.patch
@@ -0,0 +1,21 @@
commit d4619b77a669c70ae68d5da34de7655ffef80e04
Author: Michael Prokop <mika@grml.org>
Date: Mon Jul 11 12:42:24 2011 +0200

Try loading phram module twice to fix loading issue.

phram doesn't work on first modprobe, when loading once again it seems
to work. So let's try it this way.

diff --git a/scripts/live b/scripts/live
index 23d0bbc..e5d3186 100755
--- a/scripts/live
+++ b/scripts/live
@@ -1840,6 +1840,7 @@ mountroot ()
then
# We found a memdisk, set up phram
modprobe phram phram=memdisk,${MEMDISK}
+ modprobe phram phram=memdisk,${MEMDISK}

# Load mtdblock, the memdisk will be /dev/mtdblock0
modprobe mtdblock
1 change: 1 addition & 0 deletions debian/patches/series
Expand Up @@ -16,3 +16,4 @@
30_support_multiarch_dns.patch
31_package_rename.patch
32_add_kms.patch
33_retry_phram.patch
1 change: 0 additions & 1 deletion scripts/live
Expand Up @@ -1952,7 +1952,6 @@ mountroot ()
then
# We found a memdisk, set up phram
modprobe phram phram=memdisk,${MEMDISK}
modprobe phram phram=memdisk,${MEMDISK}

# Load mtdblock, the memdisk will be /dev/mtdblock0
modprobe mtdblock
Expand Down

0 comments on commit 1e61d64

Please sign in to comment.