]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mkosi: Use shared extra tree between initrd and main image
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 24 Nov 2024 18:19:52 +0000 (19:19 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 25 Nov 2024 06:09:58 +0000 (15:09 +0900)
Let's share more between initrd and main system and use a shared
extra tree to achieve that.

mkosi.conf
mkosi.extra.common/etc/issue [moved from mkosi.extra/etc/issue with 100% similarity]
mkosi.extra.common/usr/lib/systemd/coredump.conf.d/10-coredump-journal-storage.conf [moved from mkosi.coredump-journal-storage.conf with 100% similarity]
mkosi.extra.common/usr/lib/systemd/journald.conf.d/ratelimit.conf [moved from mkosi.extra/usr/lib/systemd/journald.conf.d/ratelimit.conf with 100% similarity]
mkosi.extra.common/usr/lib/systemd/leak-sanitizer-suppressions [moved from mkosi.leak-sanitizer-suppressions with 100% similarity]
mkosi.extra.common/usr/lib/systemd/system-preset/00-mkosi.preset [moved from mkosi.extra/usr/lib/systemd/system-preset/00-mkosi.preset with 100% similarity]
mkosi.extra.common/usr/lib/systemd/system-preset/99-mkosi.preset [moved from mkosi.extra/usr/lib/systemd/system-preset/99-mkosi.preset with 100% similarity]
mkosi.images/initrd/mkosi.conf

index f2389b7f012e553d6531d8701b8095e7f6bc8ceb..94c8697ded3aa2c9b5d3ce036f499521e4ffc60e 100644 (file)
@@ -38,9 +38,8 @@ SignExpectedPcr=yes
 
 [Content]
 ExtraTrees=
+        mkosi.extra.common
         mkosi.crt:/usr/lib/verity.d/mkosi.crt # sysext verification key
-        mkosi.leak-sanitizer-suppressions:/usr/lib/systemd/leak-sanitizer-suppressions
-        mkosi.coredump-journal-storage.conf:/usr/lib/systemd/coredump.conf.d/10-coredump-journal-storage.conf
         %O/minimal-0.root-%a.raw:/usr/share/minimal_0.raw
         %O/minimal-0.root-%a-verity.raw:/usr/share/minimal_0.verity
         %O/minimal-0.root-%a-verity-sig.raw:/usr/share/minimal_0.verity.sig
index ca28c123afd0429536e2d5b52a7fda889eab86a5..b76b47ecdaa3289df004b0ec30d27924b87e04ec 100644 (file)
@@ -6,9 +6,7 @@ Include=
         %D/mkosi.sanitizers
 
 [Content]
-ExtraTrees=
-        %D/mkosi.leak-sanitizer-suppressions:/usr/lib/systemd/leak-sanitizer-suppressions
-        %D/mkosi.coredump-journal-storage.conf:/usr/lib/systemd/coredump.conf.d/10-coredump-journal-storage.conf
+ExtraTrees=%D/mkosi.extra.common
 
 Packages=
         findutils