]> git.ipfire.org Git - thirdparty/mkosi.git/commit
Replace dracut unified kernel image kernel-install script with objcopy 923/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sat, 5 Mar 2022 15:51:21 +0000 (15:51 +0000)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 25 Mar 2022 09:22:42 +0000 (10:22 +0100)
commit4fb53aea9e04b931cccedf1545831e426d6ec2f7
tree31d8996f8d6554c780439b346e29e26e784ba89c
parent212987c4e192d615d850512ce9603928abe22b2d
Replace dracut unified kernel image kernel-install script with objcopy

When using objcopy, we can generate the initrd in the install phase
which is cached which speeds up builds of incremental images. We use
objcopy from the host system to avoid having to install binutils in
all generated images.

We also call kernel-install manually in opensuse, debian and ubuntu
builds to make sure we can find an initrd image to pass to objcopy.
By calling kernel-install, we also make sure that
--without-unified-kernel-images now works for these distros as well.
NEWS.md
mkosi/__init__.py
mkosi/resources/dracut_unified_kernel_install.sh [deleted file]