Hi Jered,

> On 30. Apr 2025, at 16:52, Jered Floyd <je...@redhat.com> wrote:
> 
> 
> Once installed, the rescue kernel will be regenerated as long as dracut is 
> the initrd generator. See /usr/lib/kernel/install.d/51-dracut-rescue.install 
> for details.
> 
> This seems to be incomplete or incorrect, because that package is installed 
> but I've never had rescue kernels generated.  The referenced file 
> (/usr/lib/kernel/install.d/51-dracut-rescue.install) isn't particularly 
> useful to be referenced for details because it's a shell script with no user 
> documentation.
> 
> Before I dig in and become a dracut expert... is this an easy doc fix for 
> someone familiar?

Installing dracut-config-rescue only enables re-generation of the rescue kernel 
when the next kernel update happens, it does not trigger re-generation of the 
rescue kernel on its own.

If you want to do that, the simplest way is probably to just `dnf reinstall` 
the kernel. Alternatively, invoking /usr/bin/kernel-install with the right 
parameters will run this scriptlet, and also re-generate the rescue kernel.


HTH,
Clemens
-- 
Clemens Lang
RHEL Crypto Team
Red Hat

-- 
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to