Comment 2 for bug 696435

Revision history for this message
Alkis Georgopoulos (alkisg) wrote :

Nuno: your problem seems unrelated, please file another bug report if you didn't solve it yet.

I found a much better workaround for the problem. In an initramfs hook, I put the following code:

# Work around LP bug #696435
mkdir -p ${DESTDIR}/lib/udev/rules.d
cat > ${DESTDIR}/lib/udev/rules.d/60-squashfs.rules <<EOF
KERNEL=="nbd0", ENV{ID_FS_TYPE}="squashfs"
EOF

This makes wait-for-root happy because it finds the ID_FS_TYPE of our root /dev/nbd0 device.
No delays and no try_failure_hooks() anymore! :)