Skip to content

Commit

Permalink
fix(dmsquash-live): mount live device with the correct type
Browse files Browse the repository at this point in the history
fstype is not the correct type for the live device.
  • Loading branch information
LaszloGombos authored and johannbg committed Apr 29, 2022
1 parent 080f3e2 commit 08ed7b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules.d/90dmsquash-live/dmsquash-live-root.sh
Expand Up @@ -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
Expand Down

0 comments on commit 08ed7b2

Please sign in to comment.