diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-05-16 17:18:38 +0200 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-05-31 17:26:13 +0200 |
commit | 8919f86f573f5256283298415027b0a9052507e5 (patch) | |
tree | ce65de176546874ca4f3e20d7fa2bee1b449f085 /mkosi.images/minimal-base | |
parent | mkosi: Add note about kernel command line limit (diff) | |
download | systemd-8919f86f573f5256283298415027b0a9052507e5.tar.xz systemd-8919f86f573f5256283298415027b0a9052507e5.zip |
mkosi: Sanitizer improvements
- Let's set the environment on the kernel command line so it applies
to initrd and main system.
- Let's add the necessary wrappers that are also added in test-functions.
Unlike test-functions we don't use gcc/clang to get the library path as
that requires installing gcc/clang in the initrd.
- Let's drop the hack to get journald writing to the console and have
it write to kmsg instead. We'll get the output either way.
- Stop removing libstdc++ and sanitizer libraries from Arch Linux
initrds and other images as it's required by the sanitizer libraries.
- Add a workaround for specifying extra meson options for opensuse
- Add a leak sanitizer suppression file as a workaround for a false
positive leak in verify_selinuxmnt() in libselinux. We do a soname match
because the stacktrace can't be properly symbolized on Debian.
Diffstat (limited to 'mkosi.images/minimal-base')
-rw-r--r-- | mkosi.images/minimal-base/mkosi.conf.d/10-arch.conf | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/mkosi.images/minimal-base/mkosi.conf.d/10-arch.conf b/mkosi.images/minimal-base/mkosi.conf.d/10-arch.conf index 30e8fda59e..9b033975d6 100644 --- a/mkosi.images/minimal-base/mkosi.conf.d/10-arch.conf +++ b/mkosi.images/minimal-base/mkosi.conf.d/10-arch.conf @@ -17,11 +17,6 @@ RemoveFiles= /usr/lib/libgomp.so* /usr/lib/libgphobos.so* /usr/lib/libobjc.so* - /usr/lib/libasan.so* - /usr/lib/libtsan.so* - /usr/lib/liblsan.so* - /usr/lib/libubsan.so* - /usr/lib/libstdc++.so* /usr/lib/libgdruntime.so* # Remove all files that are only required for development. |