summaryrefslogtreecommitdiff
path: root/backend/modules/hdmap
diff options
context:
space:
mode:
Diffstat (limited to 'backend/modules/hdmap')
-rw-r--r--backend/modules/hdmap9
1 files changed, 7 insertions, 2 deletions
diff --git a/backend/modules/hdmap b/backend/modules/hdmap
index 3056b93..ef669a3 100644
--- a/backend/modules/hdmap
+++ b/backend/modules/hdmap
@@ -339,8 +339,9 @@ function prepare_partitions_for_install()
done <<<"$cfg_hdmap"
}
-function get_full_hd_map()
+function fill_hdmap()
{
+ cfg_set hdmap "$(
(
echo "$cfg_hdmap"
root_disk="$(get_disk "$(hdmap_get device of mountpoint /)")"
@@ -360,6 +361,10 @@ function get_full_hd_map()
echo "$part:/media/$(basename "$part")::auto"
fi
done
- ) | sort -u -t: -k1,1
+ for part in $(list_dm_partitions)
+ do
+ echo "$part:::"
+ done
+ ) | sort -u -t: -k1,1)"
}