]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - docs/HACKING.md
mkosi: Drop building custom kernel logic
[thirdparty/systemd.git] / docs / HACKING.md
index c0892169a95a06b175d65a09ecbbbd12ac1a4d0f..feec6b4537ee045b910aad26283fdefd8c8ef331 100644 (file)
@@ -337,23 +337,3 @@ To debug systemd-boot in an IDE such as VSCode we can use a launch configuration
     ]
 }
 ```
-
-## Hacking on the kernel + systemd
-
-If you're hacking on the kernel in tandem with systemd, you can clone a kernel repository in mkosi.kernel/ in
-the systemd repository, and mkosi will automatically build that kernel and install it into the final image.
-To prevent the distribution's kernel from being installed (which isn't necessary since we're building our
-own kernel), you can add the following snippets to `mkosi.local.conf`:
-
-(This snippet is for Fedora, the list of packages will need to be changed for other distributions)
-
-```
-[Distribution]
-CacheInitrd=no
-
-[Content]
-BasePackages=conditional
-Packages=systemd
-         util-linux
-         dracut
-```