From: Changqing Li <changqing.li@...>
When DISTRO_FEATURES efi-secure-boot and ima is enabled, all the target
will depend on help2man-native. During build time,some recipes will run
target_binary --help when help2man exist, which may cause run target
binary on build host, which will cause error.
Signed-off-by: Changqing Li <changqing.li@...>
---
meta/conf/layer.conf | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf
index a5d727ef5b..f2989ef81d 100644
--- a/meta/conf/layer.conf
+++ b/meta/conf/layer.conf
@@ -107,6 +107,7 @@ SSTATE_EXCLUDEDEPS_SYSROOT += "\
.*->texinfo-native \
.*->perlcross-native \
libarchive-native->e2fsprogs-native \
+ .*->help2man-native \
"
# Nothing needs to depend on libc-initial
# base-passwd/shadow-sysroot don't need their dependencies
--
2.25.1