0f36164e4d1da0826b77c5d34f2027016892eb6f
[live-boot-grml.git] / debian / patches / 37_fix_legacy_persistence_handling.patch
1 commit 7eaab98d69d8bdbc46cceaeac64007b214593174
2 Author: lukas227 <lukas-gh@schwaighofer.name>
3 Date:   Mon Aug 13 22:35:27 2012 +0200
4
5     fixed legacy persistence handling
6     
7     * the mount_persistence_media () function must return the mount point of
8       the partition to the caller, even if it was already mounted
9       (${backing} = ${old_backing})
10
11 diff --git a/scripts/live-helpers b/scripts/live-helpers
12 index b90637a..7d5c675 100644
13 --- a/scripts/boot/9990-misc-helpers.sh
14 +++ b/scripts/boot/9990-misc-helpers.sh
15 @@ -778,6 +778,7 @@ mount_persistence_media ()
16                         return 1
17                 fi
18         fi
19 +       echo ${backing}
20         return 0
21  }
22