summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* dist-kernel-utils.eclass: fix user script overridesChris Pritchard2023-07-051-4/+4
| | | | | | | Closes: https://bugs.gentoo.org/909538 Signed-off-by: Chris Pritchard <chris@christopherpritchard.co.uk> Closes: https://github.com/gentoo/gentoo/pull/31745 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* dist-kernel-utils.eclass: skip initrd installation when using ukiAndrew Ammerlaan2023-06-201-4/+14
| | | | | | | | | | Gets rid of a hack that prevents 50-dracut.install from regenerating the initrd when calling kernel-install. Instead instruct kernel-install to simply not run this plugin. Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/31358 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
* dist-kernel-utils.eclass: fix extension of generated efi fileAndrew Ammerlaan2023-06-201-2/+2
| | | | | | | If kernel-install is configured to use the uki layout the extension of the efi file that we install has to be .efi otherwise kernel-install returns an error. Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
* dist-kernel-utils.eclass: Add a PV → KV conversion functionMichał Górny2022-10-191-0/+16
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* dist-kernel-utils.eclass: support EAPI 8Mike Gilbert2022-09-091-10/+4
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* dist-kernel-utils.eclass: add riscv kernel image pathSam James2022-05-081-0/+3
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* dist-kernel-utils.eclass: add hppa to dist-kernel_get_image_path()Sam James2022-01-201-2/+2
| | | | | | Uses same logic as ppc/ppc64. Just adding to the case statement. Signed-off-by: Sam James <sam@gentoo.org>
* dist-kernel-utils.eclass: add ppc(32) supportGeorgy Yakovlev2021-12-161-1/+2
| | | | | Bug: https://bugs.gentoo.org/794799 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* dist-kernel-utils.eclass: Support dracut's uefi=yes optionMichał Górny2021-01-161-1/+30
| | | | | | | | | Support dracut's uefi=yes configuration option that creates a combined UEFI stub, kernel and initramfs in a single UEFI executable. If such an output is detected, install it in place of the actual kernel image and stub out the duplicate initrd to save space. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-install.eclass: Improve failed install error messagesMichał Górny2021-01-161-2/+2
| | | | | | | Support and use nonfatal to provide a detailed error message when kernel postinst fails, in particular the correct 'emerge --config' command. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* dist-kernel-utils.eclass: Add a function to rebuild initramfsMichał Górny2021-01-131-0/+36
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* dist-kernel-utils.eclass: Introduce eclass for helper functionsMichał Górny2021-01-131-0/+96
Move some of the utility functions from kernel-install.eclass into dist-kernel-utils.eclass, in order to permit using them without having all kernel-install phases exported. This will be used in order to support rebuilding initramfs in sys-fs/zfs-kmod. Since the eclasses are used only by dist-kernel project eclasses and ebuilds, update the function prefix while moving them. Signed-off-by: Michał Górny <mgorny@gentoo.org>