diff options
| author | Mathieu Othacehe <othacehe@gnu.org> | 2020-06-13 14:01:18 +0200 |
|---|---|---|
| committer | Mathieu Othacehe <othacehe@gnu.org> | 2020-06-13 15:20:52 +0200 |
| commit | f292d4719dead6a615187f325fbc0bb0e99d10b4 (patch) | |
| tree | 1c24c9dabcf98907d64979ba070832679253d814 /gnu/image.scm | |
| parent | 7ca533c7237622d70b423033c4506217d9ce4014 (diff) | |
image: Add 'target' support.
* gnu/image.scm (<image>)[target]: New field,
(image-target): new public method.
* gnu/system/image.scm (hurd-disk-image): Set "i586-pc-gnu" as image 'target'
field,
(maybe-with-target): new procedure,
(system-image): honor image 'target' field using the above procedure.
Diffstat (limited to 'gnu/image.scm')
| -rw-r--r-- | gnu/image.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/image.scm b/gnu/image.scm index 0a92d168e96..19b466527bc 100644 --- a/gnu/image.scm +++ b/gnu/image.scm | |||
| @@ -33,6 +33,7 @@ | |||
| 33 | image | 33 | image |
| 34 | image-name | 34 | image-name |
| 35 | image-format | 35 | image-format |
| 36 | image-target | ||
| 36 | image-size | 37 | image-size |
| 37 | image-operating-system | 38 | image-operating-system |
| 38 | image-partitions | 39 | image-partitions |
| @@ -67,6 +68,8 @@ | |||
| 67 | image make-image | 68 | image make-image |
| 68 | image? | 69 | image? |
| 69 | (format image-format) ;symbol | 70 | (format image-format) ;symbol |
| 71 | (target image-target | ||
| 72 | (default #f)) | ||
| 70 | (size image-size ;size in bytes as integer | 73 | (size image-size ;size in bytes as integer |
| 71 | (default 'guess)) | 74 | (default 'guess)) |
| 72 | (operating-system image-operating-system ;<operating-system> | 75 | (operating-system image-operating-system ;<operating-system> |
