diff --git a/debian/changelog b/debian/changelog index ddf7c02a..56c47254 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,10 +1,15 @@ livecd-rootfs (2.833) UNRELEASED; urgency=medium + [ Łukasz 'sil2100' Zemczak ] * Add ubuntucinnamon, ubuntu-unity and edubuntu to the workaround for the invalid apt cache issue we encountered during all of our previous releases. * Switch to use the desktop model for the installer for the canary images. + [ Steve Langasek ] + * Try to use udevadm settle after losetup to resolve race in riscv64 image + builds. + -- Łukasz 'sil2100' Zemczak Wed, 26 Apr 2023 13:36:30 +0200 livecd-rootfs (2.832) lunar; urgency=medium diff --git a/live-build/functions b/live-build/functions index dfed45cc..3a25e995 100644 --- a/live-build/functions +++ b/live-build/functions @@ -64,6 +64,8 @@ mount_image() { local rootpart="$2" loop_device=$(losetup --show -f -P -v ${backing_img}) + udevadm settle + if [ ! -b ${loop_device} ]; then echo "unable to find loop device for ${backing_img}" exit 1