summaryrefslogtreecommitdiff
path: root/backend/modules
diff options
context:
space:
mode:
authorHolger Paradies <retabell@gmx.de>2020-12-22 09:28:56 +0100
committerHolger Paradies <retabell@gmx.de>2020-12-30 13:08:39 +0100
commit7d181f8163ed354d70fb20381620d25d81189914 (patch)
tree8995e8dd2bd368d35ef43021786b60246963d958 /backend/modules
parent3258c634b2f5a6719ccf5ffe6563f7163e974d40 (diff)
downloadacritoxinstaller-7d181f8163ed354d70fb20381620d25d81189914.zip
acritoxinstaller-7d181f8163ed354d70fb20381620d25d81189914.tar.gz
Add new live mount point
The live-boot mount points have been moved from /lib/live/mount to /run/live. Since this is a backward-incompatible change, a compat recursive bind mount point is being provided in /lib/live/mount so that existing scripts will not break in Debian 10 (Buster). Please note that this will be removed in Debian 11 (Bullseye) so plan accordingly and update any required scripts.
Diffstat (limited to 'backend/modules')
-rw-r--r--backend/modules/partitions2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/modules/partitions b/backend/modules/partitions
index 52c8e73..0d397c9 100644
--- a/backend/modules/partitions
+++ b/backend/modules/partitions
@@ -7,7 +7,7 @@
# /dev/sda
function strip_live_media()
{
- grep -ve '^$' $(awk '{if(($2=="/live/image" || $2=="/lib/live/mount/medium") && $3=="iso9660"){gsub(/[0-9]*$/,"",$1); print "-e ^"$1; exit 0;}}' < /proc/mounts)
+ grep -ve '^$' $(awk '{if(($2=="/live/image" || $2=="/lib/live/mount/medium" || $2=="/run/live/medium") && $3=="iso9660"){gsub(/[0-9]*$/,"",$1); print "-e ^"$1; exit 0;}}' < /proc/mounts)
}
# Synopsis: list_all_disks