]> code.ossystems Code Review - openembedded-core.git/commit
dropbear/openssh: Lower priority of key generation
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 18 Sep 2020 05:52:57 +0000 (06:52 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 20 Sep 2020 11:48:05 +0000 (12:48 +0100)
commit087700665284c08ba846e52b6b86276629f5f1cd
tree2c2a0a76ca77d75019e0e57adbcaa99a4ec8ad70
parentd0f18376dca5649aa80aff2536378763740ecda9
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>
meta/recipes-connectivity/openssh/openssh/sshdgenkeys.service
meta/recipes-core/dropbear/dropbear/dropbearkey.service