Created attachment 658418 [details] What I need to use to work around this bug Control over the "--callback" passed to genkernel needs to be much more fine-grained in the .spec files than just emerge ― including the option to add something like Dracut to the callback via a .spec option. This is especially true for enabling Plymouth on custom live media thanks to both bug 719968 and the fact that genkernel's native initramfs generator doesn't support Plymouth at all.
Created attachment 658420 [details] .spec file containing workaround Added some attachments describing all the hoops I have to jump through to try to get Plymouth enabled ― and even then, the result *still* doesn't work as properly as it should.
Created attachment 658422 [details] What I need to use to work around this bug Need a much cleaner solution than the need to drop a shell script into the portage-confdir as a means to take more fine-grained control over the genkernel callback. The option to use a .spec parameter to add something like Dracut to the callback would be much more helpful.
And for the record, livecd/fsscript is of no use here because that isn’t executed until after the initramfs and kernel have already been copied out of the chroot.
Basically, this option, if configured, would tell genkernel to make the callback something like: --callback=“bash -c \”dracut --kver=<kernel version being built> && emerge -qN -kb <boot/gentoo/kernel/packages>\”” In short: there needs to be more choice here.
Also, this parameter should change the genkernel target from “all” to “kernel” while also adding the external initramfs generator to the callback.
Has anyone seen this yet? Been a few months since it was filed.
Yes, but it's a volunteer project.
Obsoleting in favor of bug 784218 which has a patch that introduces a workaround
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f05ae38cd0cc77762dc05728b3c347abfd921ac commit 7f05ae38cd0cc77762dc05728b3c347abfd921ac Author: William Hubbs <williamh@gentoo.org> AuthorDate: 2022-07-23 22:10:53 +0000 Commit: William Hubbs <williamh@gentoo.org> CommitDate: 2022-07-23 22:11:34 +0000 app-misc/spire: enable tests Closes: https://bugs.gentoo.org/740412 Signed-off-by: William Hubbs <williamh@gentoo.org> app-misc/spire/spire-1.3.3.ebuild | 2 -- 1 file changed, 2 deletions(-)