]> code.ossystems Code Review - openembedded-core.git/commit
dropbear: drop run time detection of read-only rootfs
authorAndre McCurdy <armccurdy@gmail.com>
Thu, 31 May 2018 00:16:47 +0000 (17:16 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 4 Jun 2018 14:14:43 +0000 (15:14 +0100)
commit4990f87b2f6a8b30c8d1c767636e7f5527f595ba
tree4fe2ac5c75b40eca61bd0a662630793ed675a92e
parent7feed9ccfc4e656c6264f07e13d7e9ef69bdfb06
dropbear: drop run time detection of read-only rootfs

Previously, when dropbear was started via its init script, relocation
of DROPBEAR_RSAKEY_DIR to support read-only rootfs was handled at
run time from within the init script.

Update the init script to take advantage of the read-only rootfs
config setup by read_only_rootfs_hook() and therefore be consistent
with startup under systemd (where relocation of DROPBEAR_RSAKEY_DIR
is handled by the read_only_rootfs_hook() at build time).

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/rootfs-postcommands.bbclass
meta/recipes-core/dropbear/dropbear/init