diff --git a/debian/changelog b/debian/changelog index 98e02610..205673c1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +livecd-rootfs (2.831) UNRELEASED; urgency=medium + + * Use the correct path for the loop device. + + -- Steve Langasek Mon, 17 Apr 2023 16:11:40 -0700 + livecd-rootfs (2.830) lunar; urgency=medium * Call losetup -d properly. diff --git a/live-build/functions b/live-build/functions index 25093e16..d7b8eabe 100644 --- a/live-build/functions +++ b/live-build/functions @@ -70,7 +70,7 @@ mount_image() { fi # Find the rootfs location - rootfs_dev_mapper="/dev/mapper/${loop_device}p${rootpart}" + rootfs_dev_mapper="${loop_device}p${rootpart}" if [ ! -b "${rootfs_dev_mapper}" ]; then echo "${rootfs_dev_mapper} is not a block device"; exit 1