From 34e850d4a504f9ceefb044c9d2156e14efde30ac Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Tue, 5 Sep 2023 12:30:15 -0700 Subject: [PATCH] blkid is unreliable in mount_image(), but this blkid call is only here for debugging, so ignore any failures (even if we don't understand them). LP: #2034299. --- debian/changelog | 8 ++++++++ live-build/functions | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index af16d5bf..54f47ab5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +livecd-rootfs (23.10.31) UNRELEASED; urgency=medium + + * blkid is unreliable in mount_image(), but this blkid call is only here + for debugging, so ignore any failures (even if we don't understand + them). LP: #2034299. + + -- Steve Langasek Tue, 05 Sep 2023 12:29:24 -0700 + livecd-rootfs (23.10.30) mantic; urgency=medium * Fix unminimize to correctly list packages. (LP: #1996489) diff --git a/live-build/functions b/live-build/functions index 4a97e9c2..84e062c9 100644 --- a/live-build/functions +++ b/live-build/functions @@ -78,7 +78,8 @@ mount_image() { # Add some information to the debug logs echo "Mounted disk image ${backing_img} to ${rootfs_dev_mapper}" - blkid ${rootfs_dev_mapper} + blkid ${rootfs_dev_mapper} \ + || echo "blkid failed; continuing" return 0 }