Re: Better handle systemd-boot and installkernel changes in HB

Immolo <[email protected]> Thu, 4 Dec 2025 13:35:53 +0000
Newsgroups gmane.linux.gentoo.documentation
Message-ID <CAHfWF5=mTcEZZ1--E1wZ-j3A5HW42_wooTJ6LbkNhndwPv46=A@mail.gmail.com>
--0000000000001ce8ed064520692d
Content-Type: text/plain; charset="UTF-8"

On Thu, 4 Dec 2025 at 13:00, Nowa Ammerlaan <[email protected]> wrote:

> On 04/12/2025 13:10, Immolo wrote:
> > Hi,
> >
> > Systemd-boot is now complete.
> >
> > I'm in the middle of checking GRUB on both openrc and systemd but I
> > wonder if we should just
> > disable the check from running if +grub is set? Currently on OpenRC at
> > least it looking for the
> > /etc/cmdline file and then promptly ignoring it as grub uses its own
> > system.
>
> Whether or not it is ignored depends on whether or not dracut is used
> (with hostonly_cmdline). My understanding is that grub sets the first
> part of the cmdline, and whatever dracut does is appended (or
> prepended?) to that.
>
> Best regards,
> Nowa
>

--0000000000001ce8ed064520692d
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote g=
mail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Thu, 4 Dec 2=
025 at 13:00, Nowa Ammerlaan &lt;<a href=3D"mailto:[email protected]">nowa@ge=
ntoo.org</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D=
"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-le=
ft:1ex">On 04/12/2025 13:10, Immolo wrote:<br>
&gt; Hi,<br>
&gt; <br>
&gt; Systemd-boot is now complete.<br>
&gt; <br>
&gt; I&#39;m in the middle of checking GRUB on both openrc and systemd but =
I <br>
&gt; wonder if we should just<br>
&gt; disable the check from running if=C2=A0+grub is set? Currently on Open=
RC at <br>
&gt; least it looking for the<br>
&gt; /etc/cmdline file and then promptly ignoring it as grub uses its own <=
br>
&gt; system.<br>
<br>
Whether or not it is ignored depends on whether or not dracut is used <br>
(with hostonly_cmdline). My understanding is that grub sets the first <br>
part of the cmdline, and whatever dracut does is appended (or <br>
prepended?) to that.<br>
<br>
Best regards,<br>
Nowa<br>
</blockquote></div></div>

--0000000000001ce8ed064520692d--