meta-signing-key user-key-store.bbclass: don't req tools from efi-secure-boot

If efi-secure-boot distro flag has not been set, then do not require the
sbsigntool, libsign and efitools.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
This commit is contained in:
Mark Hatle
2017-09-04 21:47:28 -05:00
committed by Jia Zhang
parent 596c6c76ae
commit b8040ed6cc

View File

@@ -1,6 +1,6 @@
DEPENDS_append_class-target += "\
sbsigntool-native \
libsign-native \
${@bb.utils.contains("DISTRO_FEATURES", "efi-secure-boot", "sbsigntool-native", "", d)} \
${@bb.utils.contains("DISTRO_FEATURES", "efi-secure-boot", "libsign-native", "", d)} \
openssl-native \
${@bb.utils.contains("DISTRO_FEATURES", "efi-secure-boot", "efitools-native gnupg-native", "", d)} \
"