guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 11/15] gnu: system: Add Linux container module.


From: Ludovic Courtès
Subject: Re: [PATCH 11/15] gnu: system: Add Linux container module.
Date: Tue, 07 Jul 2015 15:55:41 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

David Thompson <address@hidden> skribis:

> * gnu/system/linux-container.scm: New file.
> * gnu-system.am (GNU_SYSTEM_MODULES): Add it.
> * gnu/system.scm: Export 'operating-system-etc-directory',
>   'operating-system-boot-script', 'operating-system-locale-directory', and
>   'file-union'.
>   (operating-system-boot-script): Add #:container? keyword argument.
>   (operating-system-activation-script): Add #:container?  keyword argument.
>   Don't call 'activate-firmware' or 'activate-ptrace-attach' when activating a
>   container.

[...]

> +(define* (operating-system-boot-script os #:key container?)
>    "Return the boot script for OS---i.e., the code started by the initrd once
>  we're running in the final root."

Augment the docstring with something like:

  When CONTAINER? is true, skip all hardware-related operations as
  necessary when booting a Linux container.

> +(define (system-container os)

docstring

> +(define* (container-script os #:key (mappings '()))

docstring

OK with these changes!

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]