diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-04 16:32:00 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-05 10:45:13 +0000 |
commit | dc4db0af9aeb5853994c58d94392bb30e08d2f33 (patch) | |
tree | d9c818e2a577068ecf97feb90f58376081294226 /meta/conf/layer.conf | |
parent | b7307ce4d7f2ea6c6edd12795552331d6e9bceec (diff) | |
download | poky-dc4db0af9aeb5853994c58d94392bb30e08d2f33.tar.gz |
layer.conf: Add libarchive-native e2fsprogs-native exclusion from sysroot
Currently, libarchive-native pulls e2fsprogs and all it's dependencies into
the sysroot. Since only headers are needed at buildtime and there is no
runtime dependency, we can avoid this and shrink the native sysroots.
(From OE-Core rev: 66a6b2080e4a65632c5dc02c8ef0cbe01d5b5082)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/layer.conf')
-rw-r--r-- | meta/conf/layer.conf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf index 77a765d7cb..935c4f6b9b 100644 --- a/meta/conf/layer.conf +++ b/meta/conf/layer.conf | |||
@@ -91,6 +91,7 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \ | |||
91 | # (e.g. X -> Y -> binutils-cross -> bison-native) no longer meet the | 91 | # (e.g. X -> Y -> binutils-cross -> bison-native) no longer meet the |
92 | # dependency incidentally. This improves determinism and avoids build | 92 | # dependency incidentally. This improves determinism and avoids build |
93 | # failures when people switch to external toolchains. | 93 | # failures when people switch to external toolchains. |
94 | # libarchive only needs e2fsprogs headers at buildtime | ||
94 | SSTATE_EXCLUDEDEPS_SYSROOT += "\ | 95 | SSTATE_EXCLUDEDEPS_SYSROOT += "\ |
95 | .*->autoconf-native \ | 96 | .*->autoconf-native \ |
96 | .*->automake-native \ | 97 | .*->automake-native \ |
@@ -104,6 +105,7 @@ SSTATE_EXCLUDEDEPS_SYSROOT += "\ | |||
104 | .*->gperf-native \ | 105 | .*->gperf-native \ |
105 | .*->gtk-doc-native \ | 106 | .*->gtk-doc-native \ |
106 | .*->texinfo-native \ | 107 | .*->texinfo-native \ |
108 | libarchive-native->e2fsprogs-native \ | ||
107 | " | 109 | " |
108 | # Nothing needs to depend on libc-initial | 110 | # Nothing needs to depend on libc-initial |
109 | # base-passwd/shadow-sysroot don't need their dependencies | 111 | # base-passwd/shadow-sysroot don't need their dependencies |