summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2024-02-20 20:55:04 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-02-21 22:20:10 +0000
commit82ef31b2550f2f7398dd7d1161e16aaf8acc9371 (patch)
tree4d92ea482ad80bc285ac1ecdf6cfc4b61ef67eed
parent6ed6db154ef191426016b445ef66c2a3213dd817 (diff)
downloadpoky-82ef31b2550f2f7398dd7d1161e16aaf8acc9371.tar.gz
dbus: disable assertions and enable only modular tests
There was a report that enabling assertions and all tests results in notices in log.do_configure: NOTE: building with unit tests increases the size of the installed library and renders it insecure. NOTE: building with assertions increases library size and decreases performance. This was overlooked when dbus and dbus-tests recipes were merged; enabling all tests and assertions still requires a special, separate build of dbus. If those tests are useful this could be revisited. Until then, we should use productions settings for the main recipe. Buildhistory-diff: packages/core2-64-poky-linux/dbus/dbus-dbg: PKGSIZE changed from 9958176 to 8627824 (-13%) packages/core2-64-poky-linux/dbus/dbus-lib: PKGSIZE changed from 544347 to 346339 (-36%) packages/core2-64-poky-linux/dbus/dbus-ptest: PKGSIZE changed from 3524983 to 3116951 (-12%) packages/core2-64-poky-linux/dbus/dbus-ptest: FILELIST: removed "/usr/share/installed-tests/dbus/test-dbus-launch-eval.sh_with_config.test /usr/share/installed-tests/dbus/test-counter_with_config.test /usr/libexec/installed-tests/dbus/test-dbus-launch-eval.sh /usr/libexec/installed-tests/dbus/test-dbus-launch-x11.sh /usr/share/installed-tests/dbus/test-counter.test /usr/libexec/installed-tests/dbus/test-counter /usr/share/installed-tests/dbus/test-dbus-launch-x11.sh.test /usr/share/installed-tests/dbus/test-dbus-launch-x11.sh_with_config.test /usr/share/installed-tests/dbus/test-dbus-launch-eval.sh.test" packages/core2-64-poky-linux/dbus/dbus: PKGSIZE changed from 510939 to 350331 (-31%) (From OE-Core rev: 054ce01ae84eb10e055a41ec8dd85ebce9ea23c8) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/dbus/dbus_1.14.10.bb3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/recipes-core/dbus/dbus_1.14.10.bb b/meta/recipes-core/dbus/dbus_1.14.10.bb
index 2a256beabf..4fe7af7512 100644
--- a/meta/recipes-core/dbus/dbus_1.14.10.bb
+++ b/meta/recipes-core/dbus/dbus_1.14.10.bb
@@ -22,9 +22,8 @@ EXTRA_OECONF = "--disable-xml-docs \
22 --disable-doxygen-docs \ 22 --disable-doxygen-docs \
23 --enable-largefile \ 23 --enable-largefile \
24 --with-system-socket=/run/dbus/system_bus_socket \ 24 --with-system-socket=/run/dbus/system_bus_socket \
25 --enable-tests \ 25 --enable-modular-tests \
26 --enable-checks \ 26 --enable-checks \
27 --enable-asserts \
28 --runstatedir=/run \ 27 --runstatedir=/run \
29 " 28 "
30EXTRA_OECONF:append:class-target = " SYSTEMCTL=${base_bindir}/systemctl" 29EXTRA_OECONF:append:class-target = " SYSTEMCTL=${base_bindir}/systemctl"