summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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>