]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
meta/conf/layer.conf: Omit most build deps of rpm-sequoia-native
authorZoltán Böszörményi <zboszor@gmail.com>
Mon, 3 Nov 2025 12:49:39 +0000 (13:49 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 6 Nov 2025 15:09:29 +0000 (15:09 +0000)
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.

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>
meta/conf/layer.conf

index 54fa04e213edd918d36713fa28229da90fc425fc..ba25ca30296e13c996df107bd1aba33fbf86ee61 100644 (file)
@@ -116,6 +116,13 @@ SSTATE_EXCLUDEDEPS_SYSROOT += "\
     .*->perlcross-native \
     libarchive-native->e2fsprogs-native \
 "
+# rpm-sequoia-native does not need most of its build dependencies to run,
+# so omit them. The necessary ones are openssl-native, and implicitly,
+# libgcc-native and the C runtime. Omitting these build dependencies can save
+# significant disk space and speeds up packaging into signed rpms a little.
+SSTATE_EXCLUDEDEPS_SYSROOT += "\
+    rpm-sequoia-native->(pkgconfig-native|cargo-native|python3-native|rust-native) \
+"
 # Nothing needs to depend on libc-initial
 # base-passwd/shadow-sysroot don't need their dependencies
 SSTATE_EXCLUDEDEPS_SYSROOT += "\