]> git.ipfire.org Git - thirdparty/strongswan.git/commit
testing: Add delay after qemu-nbd -c testing-trixie
authorTobias Brunner <tobias@strongswan.org>
Mon, 18 Aug 2025 16:05:01 +0000 (18:05 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 19 Aug 2025 07:15:52 +0000 (09:15 +0200)
commit3da9fd4649f76f0f278e6526fd8571c6d5bd822c
tree88327db11a664583b8492d54ca5769f690f35605
parent7a8df37d4d6a98320fc0e8a0cdc4485268ae520a
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