summaryrefslogtreecommitdiff
path: root/scripts/boot
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/boot')
-rwxr-xr-xscripts/boot/9990-aaa-fixme.sh1
-rwxr-xr-xscripts/boot/9990-misc-helpers.sh9
2 files changed, 8 insertions, 2 deletions
diff --git a/scripts/boot/9990-aaa-fixme.sh b/scripts/boot/9990-aaa-fixme.sh
index b213bba..a1eb14a 100755
--- a/scripts/boot/9990-aaa-fixme.sh
+++ b/scripts/boot/9990-aaa-fixme.sh
@@ -44,6 +44,7 @@ old_root_overlay_label="live-rw"
old_home_overlay_label="home-rw"
custom_overlay_label="persistence"
persistence_list="persistence.conf"
+old_persistence_list="live-persistence.conf"
if [ ! -f /live.vars ]
then
diff --git a/scripts/boot/9990-misc-helpers.sh b/scripts/boot/9990-misc-helpers.sh
index 06fef87..ace130b 100755
--- a/scripts/boot/9990-misc-helpers.sh
+++ b/scripts/boot/9990-misc-helpers.sh
@@ -1258,9 +1258,14 @@ get_custom_mounts ()
continue
fi
- local include_list="${backing}/${persistence_list}"
- if [ ! -r "${include_list}" ]
+ local include_list
+ if [ -r "${backing}/${persistence_list}" ]
then
+ include_list="${backing}/${persistence_list}"
+ elif [ -r "${backing}/${old_persistence_list}" ]
+ then
+ include_list="${backing}/${old_persistence_list}"
+ else
continue
fi