Re: Using Gentoo as server and desktop

Fat-Zer <[email protected]> Sun, 8 Dec 2024 20:56:13 +0300
Newsgroups gmane.linux.gentoo.desktop
Message-ID <CANi=-vLioLsqRgeCWKfZvJ9vQ1xUDSPj+t-jARLFSvbBQjESRg@mail.gmail.com>
--0000000000007652e40628c5f7e3
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

=D1=81=D0=B1, 7 =D0=B4=D0=B5=D0=BA. 2024=E2=80=AF=D0=B3. =D0=B2 05:24, egoi=
[email protected] <[email protected]>:

> Hi,
>
> It would be perhaps fine to have the config of that generic kernel.
>

> Perhaps could be the default one genkernel places?. Or perhaps I would
> need to install first that binary kernel, then copy the .config from /pro=
c
> (where it=E2=80=99s localed) and then from genkernel menuconfig load that=
 config
> file?.
>
> This sounds safer=E2=80=A6 perhaps?
>
> Cheers!
>

The configs are available in this repository[1] (which are basically stock
Fedora configs) with some "patches" from here[2]. You may have a gist of
how those come together from the sys-kernel/gentoo-kernel ebuilds.

Both those and kernel's defconfig are good-enough starting points for your
kernel config. Which one to use depends on your end goal. If you are
building a minimalistic kernel with no extra hardware support or doing this
mostly for learning experience, I believe defconfig would be a better
option. If you want a stock-like kernel with some configurations, use stock
configs.

PS: I forgot to mention before, there are also sys-kernel/gentoo-kernel and
sys-kernel/vanilla-kernel packages, which automate build of kernel with
your config/config "patches", but I'd recommend to use those with your own
config only if you know what you are doing.

[1]: https://github.com/projg2/fedora-kernel-config-for-gentoo/
[2]: https://github.com/projg2/gentoo-kernel-config/

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

<div dir=3D"ltr"><div class=3D"gmail_quote gmail_quote_container"><div dir=
=3D"ltr" class=3D"gmail_attr">=D1=81=D0=B1, 7 =D0=B4=D0=B5=D0=BA. 2024=E2=
=80=AF=D0=B3. =D0=B2 05:24, <a href=3D"mailto:[email protected]">egoitz@sar=
enet.es</a> &lt;<a href=3D"mailto:[email protected]">[email protected]</a>&=
gt;:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px=
 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D=
"auto">Hi,<div><br></div><div>It would be perhaps fine to have the config o=
f that generic kernel.</div></div></blockquote><blockquote class=3D"gmail_q=
uote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,2=
04);padding-left:1ex"><div dir=3D"auto"><div><br></div><div>Perhaps could b=
e the default one genkernel places?. Or perhaps I would need to install fir=
st that binary kernel, then copy the .config from /proc (where it=E2=80=99s=
 localed) and then from genkernel menuconfig load that config file?.</div><=
div><br></div><div>This sounds safer=E2=80=A6 perhaps?</div><div><br></div>=
<div>Cheers!<br id=3D"m_7614236612321156509lineBreakAtBeginningOfSignature"=
></div></div></blockquote><div><br></div><div><div>The configs are availabl=
e in this repository[1] (which are basically stock Fedora configs) with som=
e &quot;patches&quot;
 from here[2]. You may have a gist of how those come together from the=20
sys-kernel/gentoo-kernel ebuilds. <br></div><div><br></div><div>Both those =
and kernel&#39;s defconfig are good-enough starting points for your kernel =
config. Which one to use depends on your end goal. If you are building a mi=
nimalistic kernel with no extra hardware support or doing this mostly for l=
earning experience, I believe defconfig would be a better option. If you wa=
nt a stock-like kernel with some configurations, use stock configs.</div><d=
iv><br></div><div>PS: I forgot to mention before, there are also sys-kernel=
/gentoo-kernel and sys-kernel/vanilla-kernel packages, which automate build=
 of kernel with your config/config &quot;patches&quot;, but I&#39;d recomme=
nd to use those=C2=A0with your own config  only if you know what you are do=
ing.</div><div></div></div><div><br></div><div>[1]: <a href=3D"https://gith=
ub.com/projg2/fedora-kernel-config-for-gentoo/">https://github.com/projg2/f=
edora-kernel-config-for-gentoo/</a></div><div>[2]: <a href=3D"https://githu=
b.com/projg2/gentoo-kernel-config/">https://github.com/projg2/gentoo-kernel=
-config/</a></div></div></div>

--0000000000007652e40628c5f7e3--