diff options
author | Mathieu Othacehe <m.othacehe@gmail.com> | 2020-07-31 16:49:28 +0200 |
---|---|---|
committer | Mathieu Othacehe <othacehe@gnu.org> | 2020-09-30 10:47:59 +0200 |
commit | 10b135cef54348e48805bd9c64b463c465c65eb5 (patch) | |
tree | c6b9d108124eb63d0127eb5db0add0d8444635b3 /tests | |
parent | 99d036ce8402326352c8aa181d89c6d0c7ce85a8 (diff) | |
download | guix-10b135cef54348e48805bd9c64b463c465c65eb5.tar guix-10b135cef54348e48805bd9c64b463c465c65eb5.tar.gz |
system: image: Add image-type support.
* gnu/system/image.scm (image-with-os): New macro. Rename the old
"image-with-os" procedure to ...
(image-with-os*): ... this new procedure,
(system-image): adapt according,
(raw-image-type, iso-image-type, uncompressed-iso-image-type
%image-types): new variables,
(lookup-image-type-by-name): new procedure.
(find-image): remove it.
* gnu/system/images/hurd.scm (hurd-image-type): New variable,
use it to define ...
(hurd-disk-image): ... this variable, using "os->image" procedure.
* gnu/tests/install.scm (run-install): Rename
installation-disk-image-file-system-type parameter to installation-image-type,
use os->config instead of find-image to compute the image passed to system-image,
(%test-iso-image-installer) adapt accordingly,
(guided-installation-test): ditto.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions