Skip to contentSkip to conversation

config.json: Use pregen-hostkeys on all qemu targets

PATCH New Richard Purdie 1 participant 1 message Jul 13, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 config.json: Use pregen-hostkeys on all qemu targets

Rather than just ppc/mips, use the pregen-hostkeys on all the qemu targets since this is using a lot of time on the autobuilders when we don't really need to. This should avoid some of the testing failures seen on qemuarm recently.

---
 config.json | 18 ++++++------------
 1 file changed, 6 insertions(+), 12 deletions(-)
config.json +6 -12
index 4f6044e..1c52d60 100644
@@ -71,6 +71,9 @@
         "arch-qemu" : {
             "BUILDINFO" : true,
             "BUILDHISTORY" : true,
+            "extravars" : [
+                "IMAGE_INSTALL_append = ' ssh-pregen-hostkeys'"
+            ],
             "step1" : {
                 "BBTARGETS" : "core-image-sato core-image-sato-sdk core-image-minimal core-image-minimal-dev core-image-sato:do_populate_sdk",
                 "SANITYTARGETS" : "core-image-minimal:do_testimage core-image-sato:do_testimage core-image-sato-sdk:do_testimage core-image-sato:do_testsdk"
@@ -91,6 +94,9 @@
             "DISTRO" : "poky-altcfg",
             "BUILDINFO" : true,
             "BUILDHISTORY" : true,
+            "extravars" : [
+                "IMAGE_INSTALL_append = ' ssh-pregen-hostkeys'"
+            ],
             "step1" : {
                 "BBTARGETS" : "core-image-full-cmdline core-image-sato core-image-sato-sdk",
                 "SANITYTARGETS" : "core-image-full-cmdline:do_testimage core-image-sato:do_testimage core-image-sato-sdk:do_testimage"
@@ -383,16 +389,10 @@
         },
         "qemumips" : {
             "MACHINE" : "qemumips",
-            "extravars" : [
-                "IMAGE_INSTALL_append = ' ssh-pregen-hostkeys'"
-            ],
             "TEMPLATE" : "arch-qemu"
         },
         "qemumips-alt" : {
             "MACHINE" : "qemumips",
-            "extravars" : [
-                "IMAGE_INSTALL_append = ' ssh-pregen-hostkeys'"
-            ],
             "TEMPLATE" : "altcfg-qemu"
         },
         "edgerouter" : {
@@ -409,16 +409,10 @@
         },
         "qemuppc" : {
             "MACHINE" : "qemuppc",
-            "extravars" : [
-                "IMAGE_INSTALL_append = ' ssh-pregen-hostkeys'"
-            ],
             "TEMPLATE" : "arch-qemu"
         },
         "qemuppc-alt" : {
             "MACHINE" : "qemuppc",
-            "extravars" : [
-                "IMAGE_INSTALL_append = ' ssh-pregen-hostkeys'"
-            ],
             "TEMPLATE" : "altcfg-qemu"
         },
         "qemux86" : {
Signature · 1 line
2.30.2