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 C81DAC27C76 for ; Thu, 26 Jan 2023 00:14:10 +0000 (UTC) Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.96) (envelope-from ) id 1pKptn-00072L-14; Wed, 25 Jan 2023 19:13:51 -0500 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1pKpti-00071p-1T for kernelnewbies@kernelnewbies.org; Wed, 25 Jan 2023 19:13:46 -0500 Received: by mail-wm1-x329.google.com with SMTP id l41-20020a05600c1d2900b003daf986faaeso128682wms.3 for ; Wed, 25 Jan 2023 16:13:45 -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=ulVwm6K9mYHwwU6t9fbvMb3ljMzGyo+olzMUpv0+t14=; b=T9N1f0xBr8qANKG7tnn5alEHG7JLlunevCNl23hA8uatrRM8Pq9mgG6ZSupJY8vuzp C/s2xWNon5uBhap7pgiE0Bw301ez4BqGB6ix2bdK5Us+9t/3NzCCZ/dGBxgY4ous0M9G oib8cyIS7L1l+zarilEg5L4+W3AIBPb2NIdl9h8UC93Tii6bP0Ml4saCWYs734AoN3rY wYF4QCiQs/ueih+zvbNTMl4JN9u5pT8Ygl7HAJX/CiYOjb68bClrXy5zlJLa/aAXkl4d 8khnzT8EOanltlCvZ3H/8O6uam8QS5bQtAra4vsQLqipDyu82qUiBAvtPW1n5ZqowTRn zVnQ== 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=ulVwm6K9mYHwwU6t9fbvMb3ljMzGyo+olzMUpv0+t14=; b=iBVXcKs8+0mnccpvGyAuUTNxuDhVfUM0rjhtAOlSD0O28xbzn9m1qYym2GAbSRE1eo sEITOGkydvV5H62UVf+ChqNw14ixD3Vd25N7U2DGenT0ztGEw0Z6YxQSmlMmhvNrcUnV Rn0zp0V+jXMiVxXVHcSRe/NgEy8SfEmDvzIgpokZgoOtUNIb0ZcJawTN9m+DXTBpgUTt D3wwZPoMjVmcwov/l/yjOaIw3o5zsi+N6cvVrlMcjtzB/wtHlU+3RrSz/Dzk+Cix461g G56MIM9AWi8tPuSxb0l1JJY8lhyFYTkJYFkeAbeJ4vhjjN5DRfFeXrGxga1bpmwgcCNo JxDg== X-Gm-Message-State: AFqh2kqQRCa1FkMMSb/JeEXkdYoA9i8naXJBIn0bPqV4+hyvusKYqFjL Vv5JpFmnh+SzlgiTroq66HE= X-Google-Smtp-Source: AMrXdXv5t27Bju6FTXk5U9/+80a/07KSdAgrEMN/dmWlIq3ZzZqB5ue/RhauvdNqB0bji/TmtEPWcg== X-Received: by 2002:a05:600c:510b:b0:3db:d3f:a919 with SMTP id o11-20020a05600c510b00b003db0d3fa919mr30892774wms.1.1674692024697; Wed, 25 Jan 2023 16:13:44 -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 g26-20020a7bc4da000000b003d96efd09b7sm3122271wmk.19.2023.01.25.16.13.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 25 Jan 2023 16:13:44 -0800 (PST) Date: Thu, 26 Jan 2023 01:13:42 +0100 (GMT+01:00) From: aurel.pere@gmail.com To: Siddh Raman Pant Message-ID: In-Reply-To: <185eb05138c.7a3744fd121427.2057112906350747697@siddh.me> References: <185eb05138c.7a3744fd121427.2057112906350747697@siddh.me> Subject: Re: custom compil MIME-Version: 1.0 X-Correlation-ID: Cc: paulo miguel almeida , kernelnewbies 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="===============2775265192638188568==" Errors-To: kernelnewbies-bounces@kernelnewbies.org --===============2775265192638188568== Content-Type: multipart/alternative; boundary="----=_Part_15_57381171.1674692023130" ------=_Part_15_57381171.1674692023130 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Ok thanks for these infos i will check it out When saying automatic i was referring to kernel updates in package reposito= ries (with apt or dnf) where auto download and install can be configured fo= r security updates...i was thinking about applying config options but i gue= ss they are already compiled? Isnt there a tool that would download new kernel based on repository securi= ty updates and that would compile it with a provided config file? I can use a bash script or ansible role but i dont see how to keep close to= the official kernel distribution updates automatically... Thanks 25 janv. 2023 23:21:15 Siddh Raman Pant : > On Thu, 26 Jan 2023 at 03:25:08 +0530, A.P=C3=A9r=C3=A9 wrote: >> Is there a distribution with automated tools to compile a kernel >> with custom config settings >=20 > Yes, it is your favourite distro, whichever that may be. You just > need the tools to build, which you may already have, but can be seen > in docs: https://www.kernel.org/doc/html/latest/process/changes.html >=20 >> that ils easier and more accessible >=20 > If you want a GUI, use `make xconfig`. >=20 >> un particular for automated updates with automatic custom compiling conf= ig? >=20 > Have your custom config options in a separate file somewhere, and use > scripts/kconfig/merge_config.sh to merge. Example in a script: >=20 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 make defconfig > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ./scripts/kconfig/merge_config= .sh .config common.config >=20 > The script will take care of requisite stuff, which additional options > to enable, etc. >=20 > Or you can have your entire config saved in .config, and just run > merge_config.sh everytime you pull newer kernel code. >=20 > Thanks, > Siddh ------=_Part_15_57381171.1674692023130 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Ok thanks for = these infos i will check it out
When saying automatic i was referring to kernel= updates in package repositories (with apt or dnf) where auto download and = install can be configured for security updates...i was thinking about apply= ing config options but i guess they are already compiled?
Isnt there a tool tha= t would download new kernel based on repository security updates and that w= ould compile it with a provided config file?
I can use a bash script or ansible= role but i dont see how to keep close to the official kernel distribution = updates automatically...
Thanks

25 janv. 2023 23:21:15 Siddh Raman Pant <code@siddh.me>:

On Thu, 26 Jan 2023 at 03:25:08 +0530, A.P=C3=A9r=C3=A9 wrote:
Is there a distribution with automated tools to compile a kernel
w= ith custom config settings

Yes, it is your favourite distro, whichever that may = be. You just
need the tools to build, which you may already have, but ca= n be seen
in docs: https://www.kernel.org/doc/html/latest/process/change= s.html

that ils easier and more accessible

If you want a GUI, use `make xconfig`.

un particular for automated updates with automatic custom compiling c= onfig?

Have your custom config options in a separate file so= mewhere, and use
scripts/kconfig/merge_config.sh to merge. Example in a = script:

        make defconfig        ./scripts/kconfig/merge_config.= sh .config common.config

The script will take care of requisite stuf= f, which additional options
to enable, etc.

Or you can have your = entire config saved in .config, and just run
merge_config.sh everytime y= ou pull newer kernel code.

Thanks,
Siddh
------=_Part_15_57381171.1674692023130-- --===============2775265192638188568== 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 --===============2775265192638188568==--