]> 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, 2 Jul 2018 09:40:35 +0000 (10:40 +0100)
commitb1f3fac327da43ccc079a03d3554f1365b298608
tree6bdf572540c54d0a5876c18a8100463267168c7d
parent5e1a402e8cf5e87ea200a04c4218cbd7b8d608d7
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).

(From OE-Core rev: 4990f87b2f6a8b30c8d1c767636e7f5527f595ba)

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