Anything related to LVM tools takes ages with lvm 2.03.02-1 if /run/udev
isn't available in the target system, causing messages like:
| WARNING: Device /dev/[...] not initialized in udev database even after waiting
10000000 microseconds.
This /run/udev bind-mount is a workaround required for Debian/buster's
lvm2, at least until #918590 is resolved.
mountit "sysfs" "sys"
mountit "/dev" "dev" "--bind"
mountit "devpts" "dev/pts"
+ if [ -d "$DEST_"/run/udev ] && [ -d /run/udev ] ; then
+ mountit "/run/udev" "/run/udev" "--bind"
+ fi
fi
WROTE_DEBIAN_CHROOT=""