summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-09-18 06:52:57 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-09-20 12:48:05 +0100
commit087700665284c08ba846e52b6b86276629f5f1cd (patch)
tree2c2a0a76ca77d75019e0e57adbcaa99a4ec8ad70 /meta/recipes-connectivity
parentd0f18376dca5649aa80aff2536378763740ecda9 (diff)
downloadopenembedded-core-contrib-087700665284c08ba846e52b6b86276629f5f1cd.tar.gz
dropbear/openssh: Lower priority of key generation
Where we have images with PAM+systemd, serial login can be extremely slow. The load generated by key generation does slow down the rest of the boot process. Lower the priority level of these systemd services, since we'd prefer to have the rest of the system boot more effectively. This doesn't "solve" the slow systemd boot issues but does help. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r--meta/recipes-connectivity/openssh/openssh/sshdgenkeys.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/openssh/openssh/sshdgenkeys.service b/meta/recipes-connectivity/openssh/openssh/sshdgenkeys.service
index 603c33787f1..fd81793d511 100644
--- a/meta/recipes-connectivity/openssh/openssh/sshdgenkeys.service
+++ b/meta/recipes-connectivity/openssh/openssh/sshdgenkeys.service
@@ -6,3 +6,4 @@ RequiresMountsFor=/var /run
ExecStart=@LIBEXECDIR@/sshd_check_keys
Type=oneshot
RemainAfterExit=yes
+Nice=10