]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
testimage.bbclass: remove QEMU_USE_SLIRP variable
authorMikko Rapeli <mikko.rapeli@linaro.org>
Thu, 14 Sep 2023 10:36:44 +0000 (13:36 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 14 Sep 2023 20:56:52 +0000 (21:56 +0100)
QEMU_USE_SLIRP is replaced by TEST_RUNQEMUPARAMS with "slirp" and
possibly other arguments to runqemu script.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/testimage.bbclass

index 8a944f58098edd9d147655de34d0ddc9879c103d..7c56fe9674c88cc425a7d71bc160e110afae0ca4 100644 (file)
@@ -322,7 +322,7 @@ def testimage_main(d):
     ovmf = d.getVar("QEMU_USE_OVMF")
 
     slirp = False
-    if d.getVar("QEMU_USE_SLIRP") or bb.utils.contains('TEST_RUNQEMUPARAMS', 'slirp', True, False, d):
+    if bb.utils.contains('TEST_RUNQEMUPARAMS', 'slirp', True, False, d):
         slirp = True
 
     # TODO: We use the current implementation of qemu runner because of