1 From 6ec8937c83b321e4a56f264f9e0f5f0a8dd61c6e Mon Sep 17 00:00:00 2001
2 From: Evgeni Golov <evgeni@debian.org>
3 Date: Mon, 17 Dec 2012 16:54:33 +0100
4 Subject: [PATCH] restore support for persistence media with LABEL=custom-ov
7 scripts/boot/9990-aaa-fixme.sh | 1 +
8 scripts/boot/9990-overlay.sh | 7 ++++++-
9 2 files changed, 7 insertions(+), 1 deletion(-)
11 --- a/scripts/boot/9990-aaa-fixme.sh
12 +++ b/scripts/boot/9990-aaa-fixme.sh
14 old_root_overlay_label="live-rw"
15 old_home_overlay_label="home-rw"
16 custom_overlay_label="persistence"
17 +old_custom_overlay_label="custom-ov"
18 persistence_list="persistence.conf"
19 old_persistence_list="live-persistence.conf"
21 --- a/scripts/boot/9990-overlay.sh
22 +++ b/scripts/boot/9990-overlay.sh
25 if is_in_comma_sep_list overlay ${PERSISTENCE_METHOD}
27 - overlays="${old_root_overlay_label} ${old_home_overlay_label} ${custom_overlay_label}"
28 + overlays="${old_root_overlay_label} ${old_home_overlay_label} ${custom_overlay_label} ${old_custom_overlay_label}"
34 overlay_devices="${overlay_devices} ${device}"
37 + ${old_custom_overlay_label}=*)
38 + device="${media#*=}"
39 + overlay_devices="${overlay_devices} ${device}"