From 345a4fcbb6ed16ab19d0d5b0c7344e5cdfe29efd Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Wed, 2 Oct 2024 11:27:09 +0200 Subject: [PATCH] mkosi: Pass ASAN_OPTIONS to subimages systemd built with sanitizers is installed in subimages and tools might get invoked in postinstall scripts so we have to disable ASAN in the subimages as well during the image build. --- mkosi.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/mkosi.conf b/mkosi.conf index d98c97f86d..1566074ce5 100644 --- a/mkosi.conf +++ b/mkosi.conf @@ -21,6 +21,7 @@ PassEnvironment= MESON_OPTIONS SYSEXT WITH_DEBUG + ASAN_OPTIONS [Output] RepartDirectories=mkosi.repart -- 2.25.1