From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CFCECC54E94 for ; Wed, 25 Jan 2023 21:55:32 +0000 (UTC) Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.96) (envelope-from ) id 1pKnji-0000dn-0s; Wed, 25 Jan 2023 16:55:18 -0500 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1pKnjd-0000cD-0k for kernelnewbies@kernelnewbies.org; Wed, 25 Jan 2023 16:55:13 -0500 Received: by mail-wm1-x32d.google.com with SMTP id j17so15665wms.0 for ; Wed, 25 Jan 2023 13:55:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:subject:references:in-reply-to:message-id:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to; bh=RtyjS6r3Xl5DlmeVLnEfcIyFNJ6HjMpgNuoN+novJ4E=; b=GHNB8XvOAkg6umP9YicyuW06IkPxPdmLQDD7FX/CAWfn+/sHVxmrUbKJVJuv87ICRr Y6+7Ge2W+XzwmkspDN3YJEohv7A2D2kWzAAB1utVqZ+j4AGSpSEJGjCEuCkw8pAYpyv3 tPX0aqFuvJbp9wp52FMSqRHfobu6Pjy2pFNebWGStpTZ/diBZjKERf7rJv87EDv8HbFX wi7WgxrLUDwZ+JW8/AVjLe2Z3pGYe3NAj3rqsK79/345kbkVnlQX/sr8U9NdN7EwVDap 9ddbLE+8dZ8tF+FL27JY/Az12rK2QZohN99wBYwAHaDRmA6sgkXrALTuUntga/fTqfxx Sydg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:subject:references:in-reply-to:message-id:cc:to:from :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=RtyjS6r3Xl5DlmeVLnEfcIyFNJ6HjMpgNuoN+novJ4E=; b=26pUhlJbxvUKxx5fL2nZYF/CwPWhs7uD8vSm/nfXaJr4ejDZ+HLDTXIogRNYZ7PUDI XayHS1fCw4wmJudax4qapF1M7x2uKIcALALZ3NIeWO0OKVYIkB/7YChsPgn5AwHVPnOZ 2NJlIa5nhUYQb6rLBbBLt5J6RG9M1wUB9YmvsQvmtsuBJfGg0+ahC896iP6oezitebF/ 5eJdmeJo4mjTuLttmprNS77Xat1GZaRzLq0EuELwBe1kODtNGHgdcZuWQarGpJzKRxwz MF8iqjZa2sSA052NiPFJlbHz7H9uPsZXi7Sg397sUtS70tVFHoJbtr/joVVGcN/hTyWm A9Kg== X-Gm-Message-State: AO0yUKUwvjByLJlgB51SMRoiLOLaEU8BFp36Z7eYP8LrxnuLSFuc0RLa tCpGj3B4ewPJNAWQqjWMwWhaJLpFsQY= X-Google-Smtp-Source: AK7set/b5cw57ynp/S+hZhcI+EcLFe4gitwqTJdNQgg+QHPE8TEFt8um9PTkWTw3/Qa2JB6zaDC4+g== X-Received: by 2002:a05:600c:3595:b0:3dc:1054:3acd with SMTP id p21-20020a05600c359500b003dc10543acdmr7389096wmq.17.1674683710819; Wed, 25 Jan 2023 13:55:10 -0800 (PST) Received: from [127.0.0.1] (87-88-146-26.abo.bbox.fr. [87.88.146.26]) by smtp.gmail.com with ESMTPSA id t19-20020a1c7713000000b003c71358a42dsm3477029wmi.18.2023.01.25.13.55.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 25 Jan 2023 13:55:10 -0800 (PST) Date: Wed, 25 Jan 2023 22:55:08 +0100 (GMT+01:00) From: aurel.pere@gmail.com To: Paulo Miguel Almeida Message-ID: In-Reply-To: References: Subject: Re: custom compil MIME-Version: 1.0 X-Correlation-ID: Cc: kernelnewbies@kernelnewbies.org X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============2076318939088582857==" Errors-To: kernelnewbies-bounces@kernelnewbies.org --===============2076318939088582857== Content-Type: multipart/alternative; boundary="----=_Part_11_189068426.1674683708687" ------=_Part_11_189068426.1674683708687 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi I thought it was a mailing list for newbies ans i coulemd find answers or a= t least links... Let me rephrase the question: is there a distribution with automated tools = to compile a kernel with custom config settings that ils easier and more ac= cessible un particular for automated updates with automatic custom compilin= g config? Thanks 22 janv. 2023 23:52:52 Paulo Miguel Almeida : > On Sun, Jan 22, 2023 at 11:26:40PM +0100, A.P=C3=A9r=C3=A9 wrote: >> Hi, >> I would like to compile a kernel for fedora following this security >> guide ( https://www.ssi.gouv.fr/guide/recommandations-de-securite-relati= ves-a-un-systeme-gnulinux/ >> v2) >=20 > Hi Aurel, Fedora maintains its own kernel and while it tries to follow > the kernel upstream, it has minor differences. They do have a mailing > list for fedora kernels that can be found at https://docs.fedoraproject.o= rg/en-US/quick-docs/kernel/overview/ > should you have specific questions about it. >=20 >> I have some parameters that i have put using an ansible role >> (https://github.com/robertdebock/ansible-role-kernel). >> The compilation works but when i reboot i get a black screen so i >> guess i am not doing it the right way. >> Ideally I would like to be able to compile new kernel on the fly with >> my custom .config file for almalinux server and my fedora workstation >> home pc. >> I have seen this fedora doc >> (https://docs.fedoraproject.org/en-US/quick-docs/kernel/build-custom-ker= nel/) >> but at the paragraph "Building a Kernel from the Fedora dist-git" it >> states 3. Make whatever changes or customizations you need, but no >> information is provided on how to do that. >> Could you help me in doing this? >> Thank you >=20 > I must be honest with you that it's very unlikely that they will > help you if you simply drop ansible playbooks and security best > practices links. So far, the problem that you described is more related > to sysadmin stuff IMO. >=20 > My 2 cents for you to do would be: >=20 > 1) use other mediums such as forums on the internet which a more focused > on that kind of thing. > 2) try stuff locally, read up on docs of tools you are not familiar > with yet. With more details like errors I think you will more likely get > across someone that has faced similar problems and can point you to a > solution. So far your problem statement is a bit vague and it would be > hard for anyone willing to help to actually do so. >=20 > Good luck :-) >=20 > thanks! >=20 > - Paulo A. >=20 >>=20 >> _______________________________________________ >> Kernelnewbies mailing list >> Kernelnewbies@kernelnewbies.org >> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ------=_Part_11_189068426.1674683708687 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi
= I thought it wa= s a mailing list for newbies ans i coulemd find answers or at least links..= .
Le= t me rephrase the question: is there a distribution with automated tools to= compile a kernel with custom config settings that ils easier and more acce= ssible un particular for automated updates with automatic custom compiling = config?
Thanks

22 janv. 2023 23:52:52 Paulo Miguel Almeida <paulo.miguel.almeida= .rodenas@gmail.com>:

On Sun, Jan 22, 2023 at 11:26:40PM +0100, A.P=C3=A9r=C3=A9 wrote:
Hi,
I would like to compile a kernel for fedora following this sec= urity
guide ( https://www.ssi.gouv.fr/guide/recommandations-de-securite-= relatives-a-un-systeme-gnulinux/
v2)

Hi Aurel, Fedora maintains its own kernel and while i= t tries to follow
the kernel upstream, it has minor differences. They do= have a mailing
list for fedora kernels that can be found at https://doc= s.fedoraproject.org/en-US/quick-docs/kernel/overview/
should you have sp= ecific questions about it.

I have some parameters that i have put using an ansible role
(http= s://github.com/robertdebock/ansible-role-kernel).
The compilation works = but when i reboot i get a black screen so i
guess i am not doing it the = right way.
Ideally I would like to be able to compile new kernel on the = fly with
my custom .config file for almalinux server and my fedora works= tation
home pc.
I have seen this fedora doc
(https://docs.fedorapr= oject.org/en-US/quick-docs/kernel/build-custom-kernel/)
but at the parag= raph "Building a Kernel from the Fedora dist-git" it
states 3. Make what= ever changes or customizations you need, but no
information is provided = on how to do that.
Could you help me in doing this?
Thank you

I must be honest with you that it's very unlikely tha= t they will
help you if you simply drop ansible playbooks and security b= est
practices links. So far, the problem that you described is more rela= ted
to sysadmin stuff IMO.

My 2 cents for you to do would be:
=
1) use other mediums such as forums on the internet which a more focuse= d
on that kind of thing.
2) try stuff locally, read up on docs of too= ls you are not familiar
with yet. With more details like errors I think = you will more likely get
across someone that has faced similar problems = and can point you to a
solution. So far your problem statement is a bit = vague and it would be
hard for anyone willing to help to actually do so.=

Good luck :-)

thanks!

- Paulo A.


_______________________________________________
Kernelnewbies= mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnew= bies.org/mailman/listinfo/kernelnewbies
------=_Part_11_189068426.1674683708687-- --===============2076318939088582857== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies --===============2076318939088582857==--