From: "Tomáš Čech" <sleep_walker@gnu.org>
To: guix-devel@gnu.org
Subject: [PATCH 2/2] doc: Document extra-packages argument of base-initrd.
Date: Tue, 2 Aug 2016 09:43:18 +0200 [thread overview]
Message-ID: <20160802074318.2572-3-sleep_walker@gnu.org> (raw)
In-Reply-To: <20160802074318.2572-1-sleep_walker@gnu.org>
* doc/guix.texi(Initial RAM Disk): Describe extra-modules parameter in
definition of base-initrd. Mention it under example of use of
extra-packges.
---
doc/guix.texi | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/doc/guix.texi b/doc/guix.texi
index 786fe55..27a4cea 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -10183,6 +10183,9 @@ system declaration like this:
rest)))
@end example
+In a similar way you can add programs to packed into initrd using
+@code{#:extra-packages}.
+
The @code{base-initrd} procedure also handles common use cases that
involves using the system as a QEMU guest, or as a ``live'' system with
volatile root file system.
@@ -10233,7 +10236,7 @@ further.
@deffn {Monadic Procedure} base-initrd @var{file-systems} @
[#:qemu-networking? #f] [#:virtio? #t] [#:volatile-root? #f] @
- [#:extra-modules '()] [#:mapped-devices '()]
+ [#:extra-packages '()] [#:extra-modules '()] [#:mapped-devices '()]
Return a monadic derivation that builds a generic initrd. @var{file-systems} is
a list of file systems to be mounted by the initrd, possibly in addition to
the root file system specified on the kernel command line via @code{--root}.
@@ -10251,6 +10254,11 @@ The initrd is automatically populated with all the kernel modules necessary
for @var{file-systems} and for the given options. However, additional kernel
modules can be listed in @var{extra-modules}. They will be added to the initrd, and
loaded at boot time in the order in which they appear.
+
+Additional packages can be added through @var{extra-packages}. This is
+useful mostly for development and debugging purposes but it can also be
+used to extend set of commands available in case of interactive
+recovery.
@end deffn
Needless to say, the initrds we produce and use embed a
--
2.9.2
next prev parent reply other threads:[~2016-08-02 7:51 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-25 7:46 extending initrd Tomáš Čech
2016-07-25 20:10 ` [PATCH] linux-initrd: Introduce way to add more packages to initrd Tomáš Čech
2016-08-01 10:39 ` Tomáš Čech
2016-08-01 15:44 ` Andy Wingo
2016-08-02 7:43 ` extra-packages - second wave Tomáš Čech
2016-08-02 7:43 ` [PATCH 1/2] linux-initrd: Introduce way to add more packages to initrd Tomáš Čech
2016-08-02 7:43 ` Tomáš Čech [this message]
2016-08-02 8:19 ` [PATCH 2/2] doc: Document extra-packages argument of base-initrd Vincent Legoll
2016-08-01 16:09 ` [PATCH] linux-initrd: Introduce way to add more packages to initrd Ludovic Courtès
2016-08-01 18:26 ` Tomáš Čech
2016-08-02 12:53 ` Ludovic Courtès
2016-08-02 18:03 ` Tomáš Čech
2016-07-25 21:48 ` extending initrd Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160802074318.2572-3-sleep_walker@gnu.org \
--to=sleep_walker@gnu.org \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.