document mmdebstrap hanging forever instead of ENOSPC in qemu as a comment

This commit is contained in:
Johannes Schauer Marin Rodrigues 2022-07-26 18:43:44 +02:00
parent 521e3b9ca6
commit c80c920b73
Signed by: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -5785,6 +5785,8 @@ sub main() {
error("failed to run " . (join " ", @argv)); error("failed to run " . (join " ", @argv));
} }
} else { } else {
# somehow, when running under qemu, writing to a virtio
# device will not result in a ENOSPC but just stall forever
if (!copy($rfh, $options->{target})) { if (!copy($rfh, $options->{target})) {
error "cannot copy to $options->{target}: $!"; error "cannot copy to $options->{target}: $!";
} }