On 4/5/22 11:11 AM, Neal Gompa wrote:
On Tue, Apr 5, 2022 at 10:47 AM stan via devel
<devel@lists.fedoraproject.org> wrote:

On Mon, 4 Apr 2022 15:58:14 -0500
Gregory Bartholomew <gregory.lee.bartholo...@gmail.com> wrote:

Of topic but related: I wish there was supported option to remove
the current rescue kernel,

Is echo "dracut_rescue_image=no" > /etc/dracut.conf.d/rescue.conf not
sufficient?

That is an interesting option.  It isn't documented in man dracut.conf.
Is it new?  I just manually remove the rescue vmlinuz and initramfs and
then run
/usr/lib/kernel/install.d/51-dracut-rescue.install add $(uname -r) "" 
/lib/modules/$(uname -r)/vmlinuz
in the /boot directory to build a new rescue kernel from the currently
running kernel.  Is there an option to do that also?  i.e. I invoke
dracut from the command line and it automatically does all that if a
rescue_build.conf file is present in /etc/dracut.conf.d/

You could also just remove the "dracut-config-rescue" package from your system.


And this is the magic bit. Thanks.
_______________________________________________
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 on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to