mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-23 03:11:12 +00:00
live-build/functions: add additional debugging to mount_image() on failure since we again have loop partitions failing to be block devices.
This commit is contained in:
parent
a2e35e06d8
commit
220e563de3
4
debian/changelog
vendored
4
debian/changelog
vendored
@ -12,6 +12,10 @@ livecd-rootfs (24.04.7) UNRELEASED; urgency=medium
|
||||
[ Simon Poirier ]
|
||||
* add systemd-resolved back to buildd images. LP: #2007419.
|
||||
|
||||
[ Steve Langasek ]
|
||||
* live-build/functions: add additional debugging to mount_image() on
|
||||
failure since we again have loop partitions failing to be block devices.
|
||||
|
||||
-- Dave Jones <dave.jones@canonical.com> Mon, 02 Oct 2023 15:46:06 +0100
|
||||
|
||||
livecd-rootfs (24.04.6) noble; urgency=medium
|
||||
|
@ -73,6 +73,7 @@ mount_image() {
|
||||
rootfs_dev_mapper="${loop_device}p${rootpart}"
|
||||
if [ ! -b "${rootfs_dev_mapper}" ]; then
|
||||
echo "${rootfs_dev_mapper} is not a block device";
|
||||
ls -l ${loop_device}p*
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user