From 24d4a4f7821bf93525d9847defa3aa5a0592d0f9 Mon Sep 17 00:00:00 2001
From: Andrei Gherzan <andrei.gherzan@huawei.com>
Date: Mon, 2 Aug 2021 17:26:49 +0100
Subject: [PATCH] dropbear: Store the hostkey persistently

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
---
 meta-ohos-core/recipes-core/dropbear/dropbear_%.bbappend | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 meta-ohos-core/recipes-core/dropbear/dropbear_%.bbappend

diff --git a/meta-ohos-core/recipes-core/dropbear/dropbear_%.bbappend b/meta-ohos-core/recipes-core/dropbear/dropbear_%.bbappend
new file mode 100644
index 00000000..01d15be6
--- /dev/null
+++ b/meta-ohos-core/recipes-core/dropbear/dropbear_%.bbappend
@@ -0,0 +1,8 @@
+# SPDX-FileCopyrightText: Huawei Inc.
+#
+# SPDX-License-Identifier: Apache-2.0
+
+inherit writables
+
+WRITABLES = "hostkeys"
+WRITABLE_PATH[hostkeys] = "/etc/dropbear"
-- 
GitLab