From 08ed7b2d0035eaa699c139bc9719f90190f6ffc1 Mon Sep 17 00:00:00 2001 From: Laszlo Gombos Date: Sat, 12 Mar 2022 18:01:49 +0000 Subject: [PATCH] fix(dmsquash-live): mount live device with the correct type fstype is not the correct type for the live device. --- modules.d/90dmsquash-live/dmsquash-live-root.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules.d/90dmsquash-live/dmsquash-live-root.sh b/modules.d/90dmsquash-live/dmsquash-live-root.sh index 950be2d3cd..abc68407f4 100755 --- a/modules.d/90dmsquash-live/dmsquash-live-root.sh +++ b/modules.d/90dmsquash-live/dmsquash-live-root.sh @@ -88,7 +88,7 @@ else # no mount needed - we've already got the LiveOS image in $livedev SQUASHED=$livedev elif [ "$livedev_fstype" != "ntfs" ]; then - if ! mount -n -t "$fstype" -o "${liverw:-ro}" "$livedev" /run/initramfs/live; then + if ! mount -n -t "$livedev_fstype" -o "${liverw:-ro}" "$livedev" /run/initramfs/live; then die "Failed to mount block device of live image" exit 1 fi