i've set up an encrypted loop-AES device as the root partition (boot
paramter dev=/dev/loopX) and update-initramfs fails with :
mkinitramfs: missing loop root /dev/loop2 /sys entry
mkinitramfs: workaround is MODULES=most
mkinitramfs: Error please report the bug
The attached patch resolves this issue.