]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Set MakeInitrd=yes in documentation for building custom initrd main
authorGodvin Ouseph <godvvino@gmail.com>
Sun, 17 Aug 2025 09:57:37 +0000 (15:27 +0530)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 21 Aug 2025 14:29:02 +0000 (16:29 +0200)
Otherwise /etc/initrd-release won't exist in the initrd and systemd won't do the usual initrd stuff

docs/initrd.md

index d23ac9d3e47a2bae34e9be04a6b6e399b8319019..6e3bf52e2feec9079b62d2cf70c76122ea3f65e9 100644 (file)
@@ -15,6 +15,7 @@ Building an image with a mkosi-built initrd is a two step process, because you w
 Format=cpio
 
 [Content]
 Format=cpio
 
 [Content]
+MakeInitrd=yes
 Packages=systemd
          udev
          kmod
 Packages=systemd
          udev
          kmod