* [PATCH] layer.conf: Avoid indirect help2man-native dependencies
@ 2022-05-20 1:53 changqing.li
2022-05-23 8:34 ` [OE-core] " richard.purdie
0 siblings, 1 reply; 2+ messages in thread
From: changqing.li @ 2022-05-20 1:53 UTC (permalink / raw)
To: openembedded-core
From: Changqing Li <changqing.li@windriver.com>
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@windriver.com>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [OE-core] [PATCH] layer.conf: Avoid indirect help2man-native dependencies
2022-05-20 1:53 [PATCH] layer.conf: Avoid indirect help2man-native dependencies changqing.li
@ 2022-05-23 8:34 ` richard.purdie
0 siblings, 0 replies; 2+ messages in thread
From: richard.purdie @ 2022-05-23 8:34 UTC (permalink / raw)
To: Changqing Li, openembedded-core
On Fri, 2022-05-20 at 09:53 +0800, Changqing Li wrote:
> From: Changqing Li <changqing.li@windriver.com>
>
> 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@windriver.com>
> ---
> 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
Thanks, our patches have overlapped and mine added this in a slightly
different place so they both "apply" but the effect is the same. Should
be a good fix to reduce the number of files in the sysroots!
Cheers,
Richard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-05-23 8:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-20 1:53 [PATCH] layer.conf: Avoid indirect help2man-native dependencies changqing.li
2022-05-23 8:34 ` [OE-core] " richard.purdie
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.