From: Daan De Meyer Date: Thu, 5 Dec 2024 19:16:58 +0000 (+0100) Subject: mkosi: Make sure the /coverage directory exists X-Git-Tag: v257~24 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=272efe34d4f445c176dfe96223da4541cc2d3f7b;p=thirdparty%2Fsystemd.git mkosi: Make sure the /coverage directory exists --- diff --git a/mkosi.coverage/mkosi.postinst b/mkosi.coverage/mkosi.postinst index ccb153f76d8..5b1002212ee 100755 --- a/mkosi.coverage/mkosi.postinst +++ b/mkosi.coverage/mkosi.postinst @@ -7,6 +7,8 @@ set -e rm -f "$BUILDROOT"/coverage/*.gcda ) +mkdir -p "$BUILDROOT/coverage" + # When using -fprofile-dir=, GCC creates all gcda files under the given directory at the same location as the # gcno file in the build directory, but with each '/' replaced with '#'. LLVM creates each gcda file under # the given directory without replacing each '/' with '#'. Because we want all processes to be able to write