GNU bug report logs -
#77061
[PATCH] update doc/guix-cookbook.texi Update instructions for building a custom kernel.
Previous Next
Reported by: "Adam <>" <adam.quandour <at> gmail.com>
Date: Sun, 16 Mar 2025 23:22:03 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #10 received at 77061-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
Applied with the changes below, thanks!
Ludo’.
[Message part 2 (text/x-patch, inline)]
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
This bug report was last modified 46 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.