aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-02-08 19:00:01 +0100
committerLudovic Courtès <ludo@gnu.org>2015-02-08 19:00:39 +0100
commit027981d6d710ca1bb0f645820cf46d4b7bb4dbe1 (patch)
tree13bbe6c844e81ba92805003b980552b926fd236a /doc
parent46b23e1a436d209d6b96daee4bc398f102267502 (diff)
downloadpatches-027981d6d710ca1bb0f645820cf46d4b7bb4dbe1.tar
patches-027981d6d710ca1bb0f645820cf46d4b7bb4dbe1.tar.gz
doc: Remove ".ko" extension in 'base-initrd' example.
Reported by Marek Benc. * doc/guix.texi (Initial RAM Disk): Remove ".ko" from the 'base-initrd' example. Add a comment.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 510acddb46..4e99254b19 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -4822,8 +4822,11 @@ system declaration like this:
@example
(initrd (lambda (file-systems . rest)
+ ;; Create a standard initrd that has modules "foo.ko"
+ ;; and "bar.ko", as well as their dependencies, in
+ ;; addition to the modules available by default.
(apply base-initrd file-systems
- #:extra-modules '("my.ko" "modules.ko")
+ #:extra-modules '("foo" "bar")
rest)))
@end example