refresh 29_support_dns_in_initramfs.patch against current upstream
[live-boot-grml.git] / debian / patches / 43_do_not_fix_mountpoints_with_live-persistence.patch
1 From 135a17956c50102b978d34d0779c354bb08e9cf9 Mon Sep 17 00:00:00 2001
2 From: Evgeni Golov <evgeni@debian.org>
3 Date: Mon, 17 Dec 2012 16:52:25 +0100
4 Subject: [PATCH] do not fix mountpoints with live-persistence.conf as home-rw/live-rw
5
6 --- a/scripts/boot/9990-misc-helpers.sh
7 +++ b/scripts/boot/9990-misc-helpers.sh
8 @@ -1610,7 +1610,7 @@
9         fi
10  
11         include_list="${backing}/${persistence_list}"
12 -       if [ ! -r "${include_list}" ]
13 +       if [ ! -r "${include_list}" ] && [ ! -r "${backing}/${old_persistence_list}" ]
14         then
15                 echo "# persistence backwards compatibility:
16  ${dir} ${opt},source=." > "${include_list}"