From patchwork Sun Apr 6 09:49:39 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ludovic_Court=C3=A8s?= X-Patchwork-Id: 41339 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3C05B27BBEA; Sun, 6 Apr 2025 10:50:14 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 902F527BBE2 for ; Sun, 6 Apr 2025 10:50:13 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1u1Mdh-0005uk-5X; Sun, 06 Apr 2025 05:50:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u1Mdf-0005tr-GB for guix-patches@gnu.org; Sun, 06 Apr 2025 05:50:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1u1Mde-0002vF-F1 for guix-patches@gnu.org; Sun, 06 Apr 2025 05:50:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=M7KYaQoXDrdmRkxC8yPyQpwSMFRD7+VbFv9Qo2k4OpM=; b=L66zkxfX/uf9puwcTEpo4mZj8PTQEJksadAxxV2a8cEjb4StpwXKc9HnrTVTW+rEGDSsUM81BVSOq0mU5MZAeB2Z+25x3l1n5NA+Z+uthK1FkIIF/5FERUcL8C9vQG4rodis0Tqod5fMOJgLLJAJlxNOxI5sdfVUuy78c0uWDatE+jmP5TTpddGEFAz5w7ywkVpuN08ZLdo1cOttb8qsfjYLvvLDKPtF755ybxXXhm+aNLMM8nTn27Rfti0n38I2bq50mPmU69vHqIN9Av36pVOghO255FBoNNs9WO1t9sDapwdek0/Vq3zVOUSwC6ZPKsBgFyL/vrquocJotFlDfw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1u1Mde-0007Hv-8C for guix-patches@gnu.org; Sun, 06 Apr 2025 05:50:02 -0400 Subject: bug#77061: [PATCH] update doc/guix-cookbook.texi Update instructions for building a custom kernel. Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Sun, 06 Apr 2025 09:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 77061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "Adam <>" Cc: 77061-done@debbugs.gnu.org Mail-Followup-To: 77061@debbugs.gnu.org, ludo@gnu.org, adam.quandour@gmail.com Received: via spool by 77061-done@debbugs.gnu.org id=D77061.174393299127985 (code D ref 77061); Sun, 06 Apr 2025 09:50:02 +0000 Received: (at 77061-done) by debbugs.gnu.org; 6 Apr 2025 09:49:51 +0000 Received: from localhost ([127.0.0.1]:46111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u1MdS-0007HI-N1 for submit@debbugs.gnu.org; Sun, 06 Apr 2025 05:49:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44394) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u1MdQ-0007H1-Lg for 77061-done@debbugs.gnu.org; Sun, 06 Apr 2025 05:49:49 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u1MdL-0002tb-54; Sun, 06 Apr 2025 05:49:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=M7KYaQoXDrdmRkxC8yPyQpwSMFRD7+VbFv9Qo2k4OpM=; b=VXplFgwWm+OIcNRY/gS+ oMtUwwcekYiUXLD+jjsCq7iOiE6gUpPQhPw3fMhZMih1zbfpvJCNDRFkEjKODGULPD7SJMcriuvug 9VKKPuPusqASgB0E/z4OVrQIMiJBTGIL3CgrRb9YaG0B8Z3xTc/GtHXpNdKngn9xz2tJApDgHqNID xFbhg8aRBcdYh+aOXK63eCoHTTbQMEeLnGIRFmxUAmUD4Z1zza7I5Q4ORSnZ8ZV5guYGLGGCmlPgV cgEfTbwIx+knyR2aXQ1pZzOQTSbwMdLq0k9epY/1mMfHsp9R7NVaV2tvKXZi0aUKAaG05lbQcljct vfAREzrKE0+VnA==; From: Ludovic =?utf-8?q?Court=C3=A8s?= In-Reply-To: <20250316232123.318-1-user@home> (Adam's message of "Sun, 16 Mar 2025 16:21:23 -0700") References: <20250316232123.318-1-user@home> Date: Sun, 06 Apr 2025 11:49:39 +0200 Message-ID: <87seml1ux8.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Hi, Applied with the changes below, thanks! Ludo’. diff --git a/doc/guix-cookbook.texi b/doc/guix-cookbook.texi index e298eb988a..6296156855 100644 --- a/doc/guix-cookbook.texi +++ b/doc/guix-cookbook.texi @@ -1725,11 +1725,11 @@ Customizing the Kernel definition, but don't worry, there are other ways to work with what we do have. There are two ways to create a kernel with a custom kernel configuration. The -first is to provide a standard @file{defconfig} to @code{customize-linux} -procedure. To produce such file you need to obtain Linux source code, create a -@file{.config} file (using @code{make menuconfig} command, for example) or -provide one you already have. After that you will need to run -@code{make savedefconfig} command within the kernel source tree - this will +first is to provide a standard @file{defconfig} to @code{customize-linux} +procedure. To produce such file you need to obtain Linux source code, create a +@file{.config} file (using @code{make menuconfig} command, for example) or +provide one you already have. After that you will need to run +@code{make savedefconfig} command within the kernel source tree---this will produce the @file{defconfig} file which we can be used to build a custom kernel. Below is a sample kernel package. @@ -1740,7 +1740,8 @@ Customizing the Kernel (inherit (customize-linux #:linux linux-libre #:defconfig - (local-file "defconfig"))))) + (local-file "defconfig"))) + (name "my-linux-libre"))) @end lisp In the same directory as the file defining @code{my-linux-libre} is a file