mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-23 03:11:12 +00:00
Use the correct path for the loop device.
This commit is contained in:
parent
bdc2037bd1
commit
6b40317404
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
||||
livecd-rootfs (2.831) UNRELEASED; urgency=medium
|
||||
|
||||
* Use the correct path for the loop device.
|
||||
|
||||
-- Steve Langasek <steve.langasek@ubuntu.com> Mon, 17 Apr 2023 16:11:40 -0700
|
||||
|
||||
livecd-rootfs (2.830) lunar; urgency=medium
|
||||
|
||||
* Call losetup -d properly.
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user