layer.conf: Don't use indirect help2man-native dependencies

Message ID 20220517121346.489277-1-richard.purdie@linuxfoundation.org
State Accepted, archived
Commit df4e37ef888ad11f98c2f17ab4bc48dbd5417790
Headers show
Series layer.conf: Don't use indirect help2man-native dependencies | expand

Commit Message

Richard Purdie May 17, 2022, 12:13 p.m. UTC
Similarly to other tools such as pkgconfig and quilt, don't pull in
help2man-native unless there is a direct DEPENDS. This is generally good
for keeping the recipe sysroots leaner and cleaner and should fix some
issues with squashf-tools in particular.

This will mean any recipe with an indirect dependency will break so
missing recipe dependencies will need to be fixed.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/conf/layer.conf | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf
index a5d727ef5b52..076cba58d12d 100644
--- a/meta/conf/layer.conf
+++ b/meta/conf/layer.conf
@@ -103,6 +103,7 @@  SSTATE_EXCLUDEDEPS_SYSROOT += "\
     .*->quilt-native \
     ^(?!gtk-doc-native).*->xmlto-native \
     .*->gperf-native \
+    .*->help2man-native \
     .*->gtk-doc-native \
     .*->texinfo-native \
     .*->perlcross-native \