X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=debian%2Fpatches%2F42_restore_support_for_custom-ov_persistence.patch;fp=debian%2Fpatches%2F42_restore_support_for_custom-ov_persistence.patch;h=e99d40bfa8d51ae8b8bb2e99aade6afdfdf6e5d0;hb=7782d4f2f03fdce733937edb1cf19c45ca112929;hp=0000000000000000000000000000000000000000;hpb=a133107dd91bb77d92387c4b01b9cd4991c51a37;p=live-boot-grml.git diff --git a/debian/patches/42_restore_support_for_custom-ov_persistence.patch b/debian/patches/42_restore_support_for_custom-ov_persistence.patch new file mode 100644 index 0000000..e99d40b --- /dev/null +++ b/debian/patches/42_restore_support_for_custom-ov_persistence.patch @@ -0,0 +1,43 @@ +From 6ec8937c83b321e4a56f264f9e0f5f0a8dd61c6e Mon Sep 17 00:00:00 2001 +From: Evgeni Golov +Date: Mon, 17 Dec 2012 16:54:33 +0100 +Subject: [PATCH] restore support for persistence media with LABEL=custom-ov + +--- + scripts/boot/9990-aaa-fixme.sh | 1 + + scripts/boot/9990-overlay.sh | 7 ++++++- + 2 files changed, 7 insertions(+), 1 deletion(-) + +--- a/scripts/boot/9990-aaa-fixme.sh ++++ b/scripts/boot/9990-aaa-fixme.sh +@@ -43,6 +43,7 @@ + old_root_overlay_label="live-rw" + old_home_overlay_label="home-rw" + custom_overlay_label="persistence" ++old_custom_overlay_label="custom-ov" + persistence_list="persistence.conf" + old_persistence_list="live-persistence.conf" + +--- a/scripts/boot/9990-overlay.sh ++++ b/scripts/boot/9990-overlay.sh +@@ -210,7 +210,7 @@ + + if is_in_comma_sep_list overlay ${PERSISTENCE_METHOD} + then +- overlays="${old_root_overlay_label} ${old_home_overlay_label} ${custom_overlay_label}" ++ overlays="${old_root_overlay_label} ${old_home_overlay_label} ${custom_overlay_label} ${old_custom_overlay_label}" + fi + + local overlay_devices +@@ -238,6 +238,11 @@ + device="${media#*=}" + overlay_devices="${overlay_devices} ${device}" + ;; ++ ++ ${old_custom_overlay_label}=*) ++ device="${media#*=}" ++ overlay_devices="${overlay_devices} ${device}" ++ ;; + esac + done + fi