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 += "\ .*->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 += "\