dissect-image: wait for udev for single filesystem images too
authorLuca Boccassi <luca.boccassi@microsoft.com>
Wed, 3 Jun 2020 18:47:39 +0000 (19:47 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 27 Jul 2020 08:26:32 +0000 (10:26 +0200)
commitdc831488964985214ecef69d62ce9cec6f4ef1c3
tree1fc2bada086fe095276f194d3a668525c8262ec9
parent0bcc80137f5fc78b28f695c74b17f4ac79c3aa8b
dissect-image: wait for udev for single filesystem images too

Single filesystem images are mounted from the /dev/block/X:Y symlink
rather than /dev/loopZ, so we need to wait for udev to create it or
mounting will be racy and occasionally fail.

(cherry picked from commit b1806441bbf72fb227f41767ceaf2d6330701f51)
src/shared/dissect-image.c