unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Vincent Legoll <vincent.legoll@gmail.com>
To: "Tomáš Čech" <sleep_walker@gnu.org>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: [PATCH 2/2] doc: Document extra-packages argument of base-initrd.
Date: Tue, 2 Aug 2016 10:19:36 +0200	[thread overview]
Message-ID: <CAEwRq=r-1T=5Y-tF=tZtWOyAwvA443ud_N0gP6x7s3h5zqJfog@mail.gmail.com> (raw)
In-Reply-To: <20160802074318.2572-3-sleep_walker@gnu.org>

On Tue, Aug 2, 2016 at 9:43 AM, Tomáš Čech <sleep_walker@gnu.org> wrote:
> * 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}.

"to pack in the" maybe ?

>  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

"to extend the set"

-- 
Vincent Legoll

  reply	other threads:[~2016-08-02  8:19 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         ` [PATCH 2/2] doc: Document extra-packages argument of base-initrd Tomáš Čech
2016-08-02  8:19           ` Vincent Legoll [this message]
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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAEwRq=r-1T=5Y-tF=tZtWOyAwvA443ud_N0gP6x7s3h5zqJfog@mail.gmail.com' \
    --to=vincent.legoll@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=sleep_walker@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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).