summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZoltán Böszörményi <zboszor@gmail.com>2025-11-03 13:49:39 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-11-06 15:09:32 +0000
commit22905572d78c8afca7ff9d47e2b9de5c68f0bdc2 (patch)
treeea53f0021eb9f41bb745cba9f7bfbba26adc223d
parentd4067f583581a571a4f58caa97cfdb0d97809508 (diff)
downloadpoky-22905572d78c8afca7ff9d47e2b9de5c68f0bdc2.tar.gz
meta/conf/layer.conf: Omit most build deps of rpm-sequoia-native
Omit most of the build dependencies of rpm-sequoia-native as it needs only OpenSSL, and implicitly, libgcc and the C runtime to run. The list of build dependencies were determined by $ bitbake -e rpm-sequoia-native 2>&1 | grep ^DEPENDS= DEPENDS="pkgconfig-native cargo-native openssl-native python3-native rust-native rust-native" Omitting these (except openssl-native) can save significant amount of disk space and it also speeds up packaging into signed rpms a little. Omitting rust-native (and implicitly, llvm-native) also avoids conflicts with different LLVM/CLANG versions, like those found in meta-clang-revival. (From OE-Core rev: 805227759dbd8303124f25c46f928848cf045cc6) Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/conf/layer.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf
index 54fa04e213..ba25ca3029 100644
--- a/meta/conf/layer.conf
+++ b/meta/conf/layer.conf
@@ -116,6 +116,13 @@ SSTATE_EXCLUDEDEPS_SYSROOT += "\
116 .*->perlcross-native \ 116 .*->perlcross-native \
117 libarchive-native->e2fsprogs-native \ 117 libarchive-native->e2fsprogs-native \
118" 118"
119# rpm-sequoia-native does not need most of its build dependencies to run,
120# so omit them. The necessary ones are openssl-native, and implicitly,
121# libgcc-native and the C runtime. Omitting these build dependencies can save
122# significant disk space and speeds up packaging into signed rpms a little.
123SSTATE_EXCLUDEDEPS_SYSROOT += "\
124 rpm-sequoia-native->(pkgconfig-native|cargo-native|python3-native|rust-native) \
125"
119# Nothing needs to depend on libc-initial 126# Nothing needs to depend on libc-initial
120# base-passwd/shadow-sysroot don't need their dependencies 127# base-passwd/shadow-sysroot don't need their dependencies
121SSTATE_EXCLUDEDEPS_SYSROOT += "\ 128SSTATE_EXCLUDEDEPS_SYSROOT += "\