diff mbox series

arm-bsp/ssh-pregen-hostkeys: enable on virtual machines

Message ID 20240514104951.2496686-1-ross.burton@arm.com
State New
Headers show
Series arm-bsp/ssh-pregen-hostkeys: enable on virtual machines | expand

Commit Message

Ross Burton May 14, 2024, 10:49 a.m. UTC
As of oe-core b040597, the ssh-pregen-hostkeys recipe is limited to the
qemu* machines only, so that it can only be used in development or
emulation and not in production.

We have some virtual machines in meta-arm-bsp which don't match the
COMPATIBLE_MACHINE in the recipe but still benefit from this recipe, so
add a bbappend to enable it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 .../ssh-pregen-hostkeys/ssh-pregen-hostkeys_%.bbappend      | 6 ++++++
 1 file changed, 6 insertions(+)
 create mode 100644 meta-arm-bsp/recipes-connectivity/ssh-pregen-hostkeys/ssh-pregen-hostkeys_%.bbappend

Comments

Jon Mason May 17, 2024, 3:09 a.m. UTC | #1
On Tue, 14 May 2024 10:49:51 +0000, Ross Burton wrote:
> As of oe-core b040597, the ssh-pregen-hostkeys recipe is limited to the
> qemu* machines only, so that it can only be used in development or
> emulation and not in production.
> 
> We have some virtual machines in meta-arm-bsp which don't match the
> COMPATIBLE_MACHINE in the recipe but still benefit from this recipe, so
> add a bbappend to enable it.
> 
> [...]

Applied, thanks!

[1/1] arm-bsp/ssh-pregen-hostkeys: enable on virtual machines
      commit: f37a6b32ec1a1c61d1cd20d6ef48f426e371ea4e

Best regards,
diff mbox series

Patch

diff --git a/meta-arm-bsp/recipes-connectivity/ssh-pregen-hostkeys/ssh-pregen-hostkeys_%.bbappend b/meta-arm-bsp/recipes-connectivity/ssh-pregen-hostkeys/ssh-pregen-hostkeys_%.bbappend
new file mode 100644
index 00000000..77c5bd3a
--- /dev/null
+++ b/meta-arm-bsp/recipes-connectivity/ssh-pregen-hostkeys/ssh-pregen-hostkeys_%.bbappend
@@ -0,0 +1,6 @@ 
+# These machines cannot run in product as they are virtual
+# platforms, so allow ssh-pregen-hostkeys to be used.
+
+COMPATIBLE_MACHINE:corestone1000-fvp = "corestone1000-fvp"
+COMPATIBLE_MACHINE:fvp-base = "fvp-base"
+COMPATIBLE_MACHINE:sbsa-ref = "sbsa-ref"