From: Tobias Brunner Date: Fri, 8 Jan 2021 10:08:49 +0000 (+0100) Subject: testing: Explicitly encode backing image format in metadata X-Git-Tag: 5.9.2dr1^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fde5374a866074a407a462078671b3d82fba321b;p=thirdparty%2Fstrongswan.git testing: Explicitly encode backing image format in metadata Apparently, there is no probing anymore in newer versions of qemu due to security considerations. --- diff --git a/testing/scripts/build-guestimages b/testing/scripts/build-guestimages index 8e3a9c62eb..4ef881836d 100755 --- a/testing/scripts/build-guestimages +++ b/testing/scripts/build-guestimages @@ -41,7 +41,7 @@ do_on_exit umount $LOOPDIR for host in $STRONGSWANHOSTS do log_action "Creating guest image for $host" - execute "qemu-img create -b $ROOTIMG -f $IMGEXT $IMGDIR/$host.$IMGEXT" 0 + execute "qemu-img create -b $ROOTIMG -f $IMGEXT -F $IMGEXT $IMGDIR/$host.$IMGEXT" 0 execute "qemu-nbd -c $NBDEV $IMGDIR/$host.$IMGEXT" 0 partprobe $NBDEV execute "mount $NBDPARTITION $LOOPDIR" 0 diff --git a/testing/scripts/build-strongswan b/testing/scripts/build-strongswan index 779ec8bb37..af1a53ee89 100755 --- a/testing/scripts/build-strongswan +++ b/testing/scripts/build-strongswan @@ -96,7 +96,7 @@ case "$GUEST" in "") if [ ! -f "$ROOTIMG" -o "$REPLACE" ]; then log_action "Creating root image $ROOTIMG" - execute "qemu-img create -b $BASEIMG -f $IMGEXT $ROOTIMG" + execute "qemu-img create -b $BASEIMG -f $IMGEXT -F $IMGEXT $ROOTIMG" ALL_RECIPES=1 fi log_action "Connecting root image to NBD device $NBDEV"