cros_generate_update_payload: Delete -d options from umount

The -d option to umount is unnecessary in cases where the original
mount was created with '-o loop' (it says so in the man page).
Moreover, there's a demonstrable bug when using 'umount -d' in this
case:  umount complains that it's unable to delete the loop device
in this case.  This change silences those messages.

The demonstrated bug in umount is a plausible explanation for build
failures characterized by unexpected failures of 'mount -o loop';
see the BUG, below.


Change-Id: I8f3b3274ccea3dd5a5b35e880bbe220846061d3a
Reviewed-by: David James <>
Tested-by: Richard Barnette <>
1 file changed