<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/gnu/system/vm.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-06-17T10:36:13Z</updated>
<entry>
<title>vm: 'system-docker-image' builds in a UTF-8 locale.</title>
<updated>2019-06-17T10:36:13Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-06-17T08:51:49Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=ed504cafa23c34bfa1823a4d5abf3ad55205484b'/>
<id>urn:sha1:ed504cafa23c34bfa1823a4d5abf3ad55205484b</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/36215&gt;.
Reported by Björn Höfling &lt;bjoern.hoefling@bjoernhoefling.de&gt;.

This is a followup to 9c941364bfc0120e3ab5c5c4cc71a9a302d59a2b.

* gnu/system/vm.scm (system-docker-image)[build]: Set GUIX_LOCPATH and
call 'setlocale'.
</content>
</entry>
<entry>
<title>vm: Create installation media with MBR and HFS only, no GPT.</title>
<updated>2019-05-18T16:35:37Z</updated>
<author>
<name>Danny Milosavljevic</name>
<email>dannym@scratchpost.org</email>
</author>
<published>2019-05-18T15:49:05Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=1d86b05618a063378d7ffc89a9b4c33dd65a760c'/>
<id>urn:sha1:1d86b05618a063378d7ffc89a9b4c33dd65a760c</id>
<content type='text'>
* gnu/build/vm.scm (make-iso9660-image): Accept XORRISO,
GRUB-MKRESCUE-ENVIRONMENT.
* gnu/system/vm.scm (iso9660-image): Pass XORRISO; accept
GRUB-MKRESCUE-ENVIRONMENT.
(system-disk-image): Pass GRUB-MKRESCUE-ENVIRONMENT.
* gnu/packages/patches/xorriso-no-mbr-in-inner-efi.patch: New file.
* gnu/packages/patches/xorriso-no-partition-table-in-inner-efi.patch: New
file.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/cdrom.scm (xorriso)[source]: Add patches.
[arguments]&lt;#:phases&gt;[install-frontends]:
Add phase.
</content>
</entry>
<entry>
<title>vm: 'system-docker-image' provides an entry point.</title>
<updated>2019-05-15T14:36:21Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-05-12T10:21:48Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=247649d42e60b718f3f46b2bcf72d19bf799d503'/>
<id>urn:sha1:247649d42e60b718f3f46b2bcf72d19bf799d503</id>
<content type='text'>
This simplifies use of images created with 'guix system docker-image'.

* gnu/system/vm.scm (system-docker-image)[boot-program]: New variable.
[os]: Add it to the GC roots.
[build]: Pass #:entry-point to 'build-docker-image'.
* gnu/tests/docker.scm (run-docker-system-test): New procedure.
(%test-docker-system): New variable.
* doc/guix.texi (Invoking guix system): Remove GUIX_NEW_SYSTEM hack and
'--entrypoint' from the example.  Mention 'docker create', 'docker
start', and 'docker exec'.
</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>vm: Build ISOs and VM images in a UTF-8 environment.</title>
<updated>2019-05-01T19:11:22Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-05-01T19:11:22Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=9c941364bfc0120e3ab5c5c4cc71a9a302d59a2b'/>
<id>urn:sha1:9c941364bfc0120e3ab5c5c4cc71a9a302d59a2b</id>
<content type='text'>
Fixes a bug whereby building an image containing non-ASCII file names
would fail due to improper decoding of file names.

* gnu/system/vm.scm (iso9660-image, qemu-image): Set GUIX_LOCPATH and
call 'setlocale' in the build environment.
</content>
</entry>
<entry>
<title>vm: 'system-disk-image' no longer requires the OS to define the "/" file system.</title>
<updated>2019-04-24T22:45:35Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-04-24T19:56:03Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=5be7aecd1443cdb60fe0252e62767cf1193bf6bd'/>
<id>urn:sha1:5be7aecd1443cdb60fe0252e62767cf1193bf6bd</id>
<content type='text'>
Previously 'guix system disk-image' would fail if the OS didn't define a
"/" file system, even though it actually overrides that file system.

* gnu/system/vm.scm (system-disk-image)[root-uuid]: Turn into a
procedure.
Call 'root-uuid' on a variant of OS with a "/" file system and inherit
from that.
</content>
</entry>
<entry>
<title>vm: Do not mount /xchg with "cache=loose".</title>
<updated>2019-04-14T15:42:08Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-04-14T15:03:34Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=66ec389580d4f1e4b81e1c72afe2749a547a0e7c'/>
<id>urn:sha1:66ec389580d4f1e4b81e1c72afe2749a547a0e7c</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/33639&gt;.

* gnu/system/vm.scm (%linux-vm-file-systems): Remove "cache=loose" for /xchg.
(system-docker-image): Remove 'sync' call, now unneeded, and which was
probably insufficient.
</content>
</entry>
<entry>
<title>vm: Ask QEMU for more RAM in the VM that makes ISO9660 images.</title>
<updated>2019-03-27T10:54:06Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-03-27T10:51:18Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=45c0d1d790f01ebc020fc4b2787a6abcdaa3f383'/>
<id>urn:sha1:45c0d1d790f01ebc020fc4b2787a6abcdaa3f383</id>
<content type='text'>
* gnu/system/vm.scm (iso9660-image): Pass #:memory-size to
'expression-&gt;derivation-in-linux-vm'.
</content>
</entry>
<entry>
<title>system: Add 'essential-services' field to &lt;operating-system&gt;.</title>
<updated>2019-03-25T22:37:06Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-03-22T16:48:37Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=69cae3d3356a69b7fe69481338f760545995485e'/>
<id>urn:sha1:69cae3d3356a69b7fe69481338f760545995485e</id>
<content type='text'>
* gnu/system.scm (&lt;operating-system&gt;)[essential-services]: New field.
(operating-system-directory-base-entries): Remove #:container? keyword
and keep only the not-container branch.
(essential-services): Likewise.
(operating-system-services): Likewise, and call
'operating-system-essential-services' instead of 'essential-services'.
(operating-system-activation-script): Remove #:container?.
(operating-system-boot-script): Likewise.
(operating-system-derivation): Likewise.
* gnu/system/linux-container.scm (container-essential-services): New procedure.
(containerized-operating-system): Use it and set the
'essential-services' field.
(container-script): Remove call to 'operating-system-derivation'.
* gnu/system/vm.scm (system-docker-image): Likewise.
* doc/guix.texi (operating-system Reference): Document 'essential-services'.
</content>
</entry>
<entry>
<title>vm: 'virtualized-operating-system' inherits from the user's bootloader config.</title>
<updated>2019-03-24T22:06:11Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-03-19T21:53:48Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=132823c2acd34f46d6df89ce3635db62643a09c8'/>
<id>urn:sha1:132823c2acd34f46d6df89ce3635db62643a09c8</id>
<content type='text'>
* gnu/system/vm.scm (virtualized-operating-system): Inherit from the
bootloader of OS.
</content>
</entry>
</feed>
