]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mkosi/sanitizers: also wrap mkfs.erofs
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 26 Jul 2026 10:56:22 +0000 (19:56 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 26 Jul 2026 11:46:12 +0000 (20:46 +0900)
Fixes the following failure on Fedora 44:
```
TEST-58-REPART.sh[932]: Executing mkfs command: /usr/bin/mkfs.erofs -U 45745a56-aa2f-4619-8ca7-9cb63667c2ae -zlz4hc,level=3 /dev/loop0 /var/tmp/.#reparteb739e8b8cae7b70
TEST-58-REPART.sh[932]: Successfully forked off '(mkfs)' as PID 933.
TEST-58-REPART.sh[933]: ==933==ASan runtime does not come first in initial library list; you should either link runtime to your application or manually preload it with LD_PRELOAD.
TEST-58-REPART.sh[932]: '(mkfs)' failed with exit status 1.
```

mkosi/mkosi.sanitizers/mkosi.postinst

index f420a31b633e7968265ccdd22a72ed6ab187d226..4738316c2dbc363ff9908b74d92d47425cace5a0 100755 (executable)
@@ -90,6 +90,7 @@ wrap=(
     lvm
     mdadm
     mkfs.btrfs
+    mkfs.erofs
     mkfs.ext4
     mksquashfs
     mount