[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’.
- Re: [PATCH 08/15] gnu: build: Add Linux container module., (continued)
[PATCH 12/15] gnu: system: Add Linux container file systems., David Thompson, 2015/07/06
[PATCH 14/15] scripts: environment: Add --container option., David Thompson, 2015/07/06
[PATCH 11/15] gnu: system: Add Linux container module., David Thompson, 2015/07/06
- Re: [PATCH 11/15] gnu: system: Add Linux container module.,
Ludovic Courtès <=
[PATCH 15/15] scripts: Add 'container' subcommand., David Thompson, 2015/07/06
Re: [PATCH 01/15] build: syscalls: Add additional mount flags., Ludovic Courtès, 2015/07/07