]> git.ipfire.org Git - thirdparty/systemd.git/commit
mkosi: Optionally build a kernel image from mkosi.kernel/ 24629/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 9 Sep 2022 06:53:37 +0000 (08:53 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 29 Sep 2022 18:15:57 +0000 (20:15 +0200)
commitd12e9bdc768532d76c680879271e495e4fd93743
tree1cb101f85323544ffb054fdc6693f3561fa1ef8b
parent3e139a8e64820bf59552073524b21620d344fae7
mkosi: Optionally build a kernel image from mkosi.kernel/

If mkosi.kernel/ exists, the mkosi script will try to build a kernel
image from it. We use the architecture defconfig as a base and add
our own extra configuration on top.

We also add some extra tooling to the build image required to build
the kernel and include some documentation in HACKING.md on how to
use this new feature.

To avoid the kernel sources from being copied into the build or
final image (which we don't want because it takes a while), we put
the mkosi.kernel/ directory in .gitignore and use
"SourceFileTransfer=mount" so that the sources are still accessible
in the build image.
docs/HACKING.md
mkosi.build
mkosi.default.d/10-systemd.conf
mkosi.default.d/arch/10-mkosi.arch
mkosi.default.d/centos_epel/10-mkosi.centos_epel
mkosi.default.d/debian/10-mkosi.debian
mkosi.default.d/fedora/10-mkosi.fedora
mkosi.default.d/opensuse/10-mkosi.opensuse
mkosi.default.d/ubuntu/10-mkosi.ubuntu