<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix/gnu/image.scm, branch kernel-updates</title>
<subtitle>Transactional package manager, declarative GNU/Linux distribution, reproducible deployment tool, and more! https://guix.gnu.org</subtitle>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/'/>
<entry>
<title>scripts: system: Build layered images.</title>
<updated>2024-01-08T18:22:44+00:00</updated>
<author>
<name>Oleg Pykhalov</name>
<email>go.wigust@gmail.com</email>
</author>
<published>2023-12-26T00:58:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=519e1e3eb88ec532fc83ebb742d9919269b57c87'/>
<id>519e1e3eb88ec532fc83ebb742d9919269b57c87</id>
<content type='text'>
* guix/scripts/system.scm (show-help, %docker-format-options, %options,
%default-options, show-docker-format-options,
show-docker-format-options/detailed, process-action): Handle '--max-layers'
option.
* gnu/system/image.scm (system-docker-image): Same.
* gnu/image.scm (&lt;image&gt;)[max-layers]: New record field.

Change-Id: I2726655aefd6688b976057fd5a38e9972ebfc292
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* guix/scripts/system.scm (show-help, %docker-format-options, %options,
%default-options, show-docker-format-options,
show-docker-format-options/detailed, process-action): Handle '--max-layers'
option.
* gnu/system/image.scm (system-docker-image): Same.
* gnu/image.scm (&lt;image&gt;)[max-layers]: New record field.

Change-Id: I2726655aefd6688b976057fd5a38e9972ebfc292
</pre>
</div>
</content>
</entry>
<entry>
<title>system: image: Add wsl2 support.</title>
<updated>2022-09-24T12:49:09+00:00</updated>
<author>
<name>Alex Griffin</name>
<email>a@ajgrf.com</email>
</author>
<published>2022-02-08T00:37:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=233cf9f0367e78562f07ac9885ed2cc6defe17e1'/>
<id>233cf9f0367e78562f07ac9885ed2cc6defe17e1</id>
<content type='text'>
* gnu/image.scm (&lt;image&gt;)[format]: Add wsl2 support.
* gnu/system/image.scm (wsl2-image, wsl2-image-type): New variables.
(image-&gt;root-file-system): Add wsl2 image support.
(system-image): Ditto.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* gnu/image.scm (&lt;image&gt;)[format]: Add wsl2 support.
* gnu/system/image.scm (wsl2-image, wsl2-image-type): New variables.
(image-&gt;root-file-system): Add wsl2 image support.
(system-image): Ditto.
</pre>
</div>
</content>
</entry>
<entry>
<title>system: image: Add tarball support.</title>
<updated>2022-09-24T12:49:09+00:00</updated>
<author>
<name>Alex Griffin</name>
<email>a@ajgrf.com</email>
</author>
<published>2022-02-06T22:29:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=8757c3f2934352fe8ad9a86f6e6f1d4b7245644d'/>
<id>8757c3f2934352fe8ad9a86f6e6f1d4b7245644d</id>
<content type='text'>
* gnu/image.scm (&lt;image&gt;)[fields]: Add tarball to the supported formats.
* gnu/system/image.scm (tarball-image, tarball-image-type): New variables.
(system-tarball-image): New procedure.
(image-&gt;root-file-system): Add tarball image support.
(system-image): Ditto.
* doc/guix.texi ("System Images"): Document it.

Signed-off-by: Mathieu Othacehe &lt;othacehe@gnu.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* gnu/image.scm (&lt;image&gt;)[fields]: Add tarball to the supported formats.
* gnu/system/image.scm (tarball-image, tarball-image-type): New variables.
(system-tarball-image): New procedure.
(image-&gt;root-file-system): Add tarball image support.
(system-image): Ditto.
* doc/guix.texi ("System Images"): Document it.

Signed-off-by: Mathieu Othacehe &lt;othacehe@gnu.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>image: Make the operating-system field mandatory.</title>
<updated>2022-09-24T12:20:36+00:00</updated>
<author>
<name>Mathieu Othacehe</name>
<email>othacehe@gnu.org</email>
</author>
<published>2022-09-05T16:12:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=c009c286a23f48b56731c3e7bc4875a9e88857c4'/>
<id>c009c286a23f48b56731c3e7bc4875a9e88857c4</id>
<content type='text'>
Make the operating-system field mandatory as creating an image without it
makes no sense. Introduce a new macro, image-without-os for the specific cases
where the image is only created to be inherited from afterwards.

* gnu/image.scm (&lt;image&gt;)[operating-system]: Make it mandatory.
* gnu/system/image.scm (image-without-os): New macro.
(efi-disk-image, efi32-disk-image, iso9660-image, docker-image,
raw-with-offset-disk-image): Use it.
* gnu/system/images/hurd.scm (hurd-disk-image): Ditto.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make the operating-system field mandatory as creating an image without it
makes no sense. Introduce a new macro, image-without-os for the specific cases
where the image is only created to be inherited from afterwards.

* gnu/image.scm (&lt;image&gt;)[operating-system]: Make it mandatory.
* gnu/system/image.scm (image-without-os): New macro.
(efi-disk-image, efi32-disk-image, iso9660-image, docker-image,
raw-with-offset-disk-image): Use it.
* gnu/system/images/hurd.scm (hurd-disk-image): Ditto.
</pre>
</div>
</content>
</entry>
<entry>
<title>image: Use #true and #false.</title>
<updated>2022-09-07T12:26:34+00:00</updated>
<author>
<name>Mathieu Othacehe</name>
<email>othacehe@gnu.org</email>
</author>
<published>2022-09-02T17:44:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=0edb79b2a91947fd2abec420152cb46b3a4524b9'/>
<id>0edb79b2a91947fd2abec420152cb46b3a4524b9</id>
<content type='text'>
* gnu/image.scm: Use #true and #false instead of #t and #f respectively. No
functional change.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* gnu/image.scm: Use #true and #false instead of #t and #f respectively. No
functional change.
</pre>
</div>
</content>
</entry>
<entry>
<title>image: Use a default size partition value.</title>
<updated>2022-09-07T12:24:52+00:00</updated>
<author>
<name>Mathieu Othacehe</name>
<email>othacehe@gnu.org</email>
</author>
<published>2022-09-02T17:45:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=a1fb85a539f14e50b1d81e2bb78eeab60237eb7b'/>
<id>a1fb85a539f14e50b1d81e2bb78eeab60237eb7b</id>
<content type='text'>
* gnu/image.scm (&lt;partition&gt;)[size]: Default to 'guess like the image record.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* gnu/image.scm (&lt;partition&gt;)[size]: Default to 'guess like the image record.
</pre>
</div>
</content>
</entry>
<entry>
<title>image: Add comments.</title>
<updated>2022-08-31T12:59:43+00:00</updated>
<author>
<name>Mathieu Othacehe</name>
<email>othacehe@gnu.org</email>
</author>
<published>2022-08-31T12:59:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=16a6cbe94700da82ab223999df1ed4ba049676b1'/>
<id>16a6cbe94700da82ab223999df1ed4ba049676b1</id>
<content type='text'>
* gnu/image.scm: Add some comments across the whole module.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* gnu/image.scm: Add some comments across the whole module.
</pre>
</div>
</content>
</entry>
<entry>
<title>image: Remove an unused field.</title>
<updated>2022-08-30T17:29:58+00:00</updated>
<author>
<name>Mathieu Othacehe</name>
<email>othacehe@gnu.org</email>
</author>
<published>2022-08-30T17:20:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=0518a88a4e417d6369859ff1da6448e1a6e693da'/>
<id>0518a88a4e417d6369859ff1da6448e1a6e693da</id>
<content type='text'>
* gnu/image.scm (&lt;partition&gt;)[device]: Remove it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* gnu/image.scm (&lt;partition&gt;)[device]: Remove it.
</pre>
</div>
</content>
</entry>
<entry>
<title>image: Perform more sanitizing.</title>
<updated>2022-08-30T17:29:58+00:00</updated>
<author>
<name>Mathieu Othacehe</name>
<email>othacehe@gnu.org</email>
</author>
<published>2022-08-30T17:18:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=bce7a28a0a38da41fca91cfdbf7ae0fe14833f2a'/>
<id>bce7a28a0a38da41fca91cfdbf7ae0fe14833f2a</id>
<content type='text'>
* gnu/image.scm (validate-size, validate-partition-offset,
validate-partition-flags): New macros.
(&lt;partition&gt;)[size, offset, flags]: Sanitize those fields using the above
procedures respectively.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* gnu/image.scm (validate-size, validate-partition-offset,
validate-partition-flags): New macros.
(&lt;partition&gt;)[size, offset, flags]: Sanitize those fields using the above
procedures respectively.
</pre>
</div>
</content>
</entry>
<entry>
<title>image: Add sanitizers for 'format' and 'partition-table-type'.</title>
<updated>2022-07-01T10:10:29+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2022-07-01T10:06:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=0dab106a6af36eaebfd533d3e38c1275deb85935'/>
<id>0dab106a6af36eaebfd533d3e38c1275deb85935</id>
<content type='text'>
This allows common mistakes to be diagnosed early.

* gnu/image.scm (define-set-sanitizer): New macro.
(validate-image-format, validate-partition-table-type): New sanitizers.
(&lt;image&gt;)[format, partition-table-type]: Add 'sanitize' property.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows common mistakes to be diagnosed early.

* gnu/image.scm (define-set-sanitizer): New macro.
(validate-image-format, validate-partition-table-type): New sanitizers.
(&lt;image&gt;)[format, partition-table-type]: Add 'sanitize' property.
</pre>
</div>
</content>
</entry>
</feed>
