]> git.ipfire.org Git - thirdparty/strongswan.git/commit
testing: Add delay after qemu-nbd -c
authorTobias Brunner <tobias@strongswan.org>
Mon, 18 Aug 2025 16:05:01 +0000 (18:05 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 18 Sep 2025 09:13:32 +0000 (11:13 +0200)
commit1043fa32de7040e573976c12ac74ad49c1abd552
treebbd3ce966bb55928862000b06f8c10afb5c58565
parente9ebe49d44ea342cf645503ab04054364257e75d
testing: Add delay after qemu-nbd -c

Seems that there is a delay before the disk can be used when using newer
QEMU versions (e.g. on Debian trixie). We get errors like these:

  sfdisk: cannot open /dev/nbd0: Inappropriate ioctl for device

or

  mount: /srv/strongswan-testing/build/loop: special device /dev/nbd0p1 does not exist.

A sleep before the next command seems to help.

Also see [1].

[1] https://gitlab.com/qemu-project/qemu/-/issues/1413
testing/scripts/build-baseimage
testing/scripts/build-certs
testing/scripts/build-guestimages
testing/scripts/build-strongswan
testing/scripts/chroot