meta-integrity: init.ima: Switch to using keyctl

Rather than parse /proc/keys directly to find out the ID of the keyring
that we're using, let keyctl do this for us.  In order to do that we
need to have /proc available as /proc, so move it around before and
after working with keyctl.

Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini
2018-05-16 10:31:49 -04:00
committed by Jia Zhang
parent f9f181fe5c
commit b7b42cdec7
2 changed files with 5 additions and 3 deletions
@@ -34,7 +34,7 @@ RDEPENDS_${PN} += "\
gawk \
util-linux-mount \
util-linux-umount \
ima-evm-utils \
keyutils \
ima-policy \
"