<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/guix/scripts/system.scm, branch master</title>
<subtitle>Personal branch of https://git.savannah.gnu.org/cgit/guix.git/ for implementing 'guix deploy'.
</subtitle>
<id>https://git.jakob.space/guix.git/atom?h=master</id>
<link rel='self' href='https://git.jakob.space/guix.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/'/>
<updated>2019-05-16T11:24:06Z</updated>
<entry>
<title>guix system: Type-check the file or expression.</title>
<updated>2019-05-16T11:24:06Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-05-15T20:36:46Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=ce10e6053bb02e936b3a0862f3a3f86010b948d0'/>
<id>urn:sha1:ce10e6053bb02e936b3a0862f3a3f86010b948d0</id>
<content type='text'>
Previously, users would get a wrong-type-arg exception down the road
with an intimidating backtrace.

* guix/scripts/system.scm (process-action)[ensure-operating-system]: New
procedure.
Use it.
</content>
</entry>
<entry>
<title>vm: Auto-detect if inputs should be registered.</title>
<updated>2019-05-14T02:59:09Z</updated>
<author>
<name>Maxim Cournoyer</name>
<email>maxim.cournoyer@gmail.com</email>
</author>
<published>2019-04-16T21:15:02Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=d03de6be0aa2e2889314b5ed9a8867375363d79f'/>
<id>urn:sha1:d03de6be0aa2e2889314b5ed9a8867375363d79f</id>
<content type='text'>
The default value of the argument REGISTER-CLOSURE? of the ISO9660-IMAGE,
QEMU-IMAGE and SYSTEM-DOCKER-IMAGE procedures can be computed automatically,
since the operating-system definition is available in its context.  When the
operating-system definition does not contain the GUIX-SERVICE-TYPE, do not
register the closure in the database of Guix, as it takes time and doesn't
serve a purpose.

* gnu/system/vm.scm (has-guix-service-type): Add predicate.
(iso9660-image)[register-closures?]: Use it to compute the argument's default
value.
(qemu-image)[register-closures?]: Likewise, and update docstring.
(system-docker-image)[register-closures?]: Likewise.
(system-disk-image): Do not explicit a value for the REGISTER-CLOSURES?
argument of the ISO9660-IMAGE and QEMU-IMAGE procedure calls, so that its
default value is used instead.
* guix/scripts/system.scm (system-derivation-for-action): Do not explicit a
value for the REGISTER-CLOSURES? argument of the SYSTEM-DOCKER-IMAGE
procedure call, so that its default value is used instead.
</content>
</entry>
<entry>
<title>linux-container: Support container network sharing.</title>
<updated>2019-05-13T21:24:58Z</updated>
<author>
<name>Arun Isaac</name>
<email>arunisaac@systemreboot.net</email>
</author>
<published>2019-05-10T11:26:16Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=b33454ae0b488e79faafef75a06090be6b2ac6a2'/>
<id>urn:sha1:b33454ae0b488e79faafef75a06090be6b2ac6a2</id>
<content type='text'>
* gnu/system/linux-container.scm (container-essential-services): If network is
to be shared with the host, remove network configuration files from etc
service.
(containerized-operating-system): If network is to be shared with the host,
remove nscd service and map host's /var/run/nscd if it exists.
(container-script): If network is to be shared with the host, do not create
network namespace.
* guix/scripts/system.scm (system-derivation-for-action): Add
#:container-shared-network? argument.
(perform-action): Add #:container-shared-network? argument.
(show-help): Add "-N, --network" help information.
(%options): Add network option.
(process-action): Call perform-action with #container-shared-network? argument.
* doc/guix.texi (Invoking guix system): Document the "-N, --network" option.

Co-authored-by: Christopher Baines &lt;mail@cbaines.net&gt;
</content>
</entry>
<entry>
<title>guix system: Compute 'bootcfg' only for 'init' and 'reconfigure'.</title>
<updated>2019-04-23T21:44:35Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-04-23T21:39:07Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=af41e504cf0e4039615015cc49baa947e1715c47'/>
<id>urn:sha1:af41e504cf0e4039615015cc49baa947e1715c47</id>
<content type='text'>
Previously, 'guix system vm' would start by computing the bootcfg
derivation, which itself depended on an incorrect OS derivation (for the
original OS instead of the one passed through
'virtualized-operating-system'.)  That added overhead and would force
the user's config file to define a root file system, for example, even
though it makes no sense in the case of a VM.

* guix/scripts/system.scm (perform-action)[bootcfg]: Limit to the 'init'
and 'reconfigure' actions.
</content>
</entry>
<entry>
<title>scripts: More commands default to verbosity level 1.</title>
<updated>2019-04-04T15:47:02Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-04-04T15:32:37Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=985730c1afac6b5077df9ca8a871db9750ac3a9d'/>
<id>urn:sha1:985730c1afac6b5077df9ca8a871db9750ac3a9d</id>
<content type='text'>
* guix/scripts/environment.scm (%default-options): Change 'verbosity' to 1.
* guix/scripts/pack.scm (%default-options): Likewise.
* guix/scripts/system.scm (guix-system): Likewise, except for the
'build' command.
</content>
</entry>
<entry>
<title>guix system: Fix success report of the bootloader installation.</title>
<updated>2019-03-17T15:30:00Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-03-17T15:22:43Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=8ffab257ddb6c5df1ac43b9baeb5f0373bffb482'/>
<id>urn:sha1:8ffab257ddb6c5df1ac43b9baeb5f0373bffb482</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/34890&gt;.
Reported by Jack Hill &lt;jackhill@jackhill.us&gt;.

Regression introduced in 21fcfe1ee969cc477dc41486ae4074e655d44274.

* guix/scripts/system.scm (bootloader-installer-script): Ungexp DEVICE.
</content>
</entry>
<entry>
<title>bootloader: Use 'invoke/quiet' when running 'grub-install' and co.</title>
<updated>2019-03-16T17:15:13Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-03-16T16:09:19Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=21fcfe1ee969cc477dc41486ae4074e655d44274'/>
<id>urn:sha1:21fcfe1ee969cc477dc41486ae4074e655d44274</id>
<content type='text'>
This hides potentially confusing GRUB messages from the user, such as
"Installing for i386-pc platform."

* gnu/bootloader/extlinux.scm (install-extlinux): Use 'invoke/quiet'
instead of 'system*' and 'error'.
* gnu/bootloader/grub.scm (install-grub, install-grub-efi): Likewise.
* guix/scripts/system.scm (bootloader-installer-script): Guard against
'message-condition?' and handle them properly.
</content>
</entry>
<entry>
<title>guix system: List old generations from newest to oldest.</title>
<updated>2019-02-13T15:19:54Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-02-13T14:31:05Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=1e9698344dcd0f44453be7cbb384a2eefe46441f'/>
<id>urn:sha1:1e9698344dcd0f44453be7cbb384a2eefe46441f</id>
<content type='text'>
Previously 'guix system switch-generation' or 'delete-generations' would
yield a GRUB menu where entries for old generations were in the wrong
order (i.e., oldest first.)

* guix/scripts/system.scm (reinstall-bootloader): Reverse the list
returned by 'generation-numbers'.
</content>
</entry>
<entry>
<title>guix system: Add 'delete-generations'.</title>
<updated>2019-02-13T15:19:54Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-02-13T14:27:36Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=499b166d1ce3ead61afb985053012ceb451f3beb'/>
<id>urn:sha1:499b166d1ce3ead61afb985053012ceb451f3beb</id>
<content type='text'>
* guix/scripts/package.scm (delete-matching-generations): Export.
* guix/scripts/system.scm (show-help): Add 'delete-generations'.
(process-command): Honor it.
(guix-system): Support it.
* doc/guix.texi (Invoking guix system): Document it.
</content>
</entry>
<entry>
<title>Avoid name clash with 'build' from (guix store) and (guix status).</title>
<updated>2019-02-11T22:23:28Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-02-11T22:05:36Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=2637cfd7a4894ef2a2a7da3bb46d8815c43d7e75'/>
<id>urn:sha1:2637cfd7a4894ef2a2a7da3bb46d8815c43d7e75</id>
<content type='text'>
Since commit 976ef2d97887d16eab8d4eb9dad811786b04d690, (guix status)
exports 'build', which clashes with 'build' from (guix store).

* build-aux/run-system-tests.scm: Select 'with-status-verbosity'
from (guix status).
* guix/scripts/archive.scm: Likewise.
* guix/scripts/build.scm: Likewise.
* guix/scripts/copy.scm: Likewise.
* guix/scripts/environment.scm: Likewise.
* guix/scripts/pack.scm: Likewise.
* guix/scripts/package.scm: Likewise.
* guix/scripts/pull.scm: Likewise.
* guix/scripts/system.scm: Likewise.
</content>
</entry>
</feed>
