image: Add 'target' support.
authorMathieu Othacehe <othacehe@gnu.org>
Sat, 13 Jun 2020 12:01:18 +0000 (14:01 +0200)
committerMathieu Othacehe <othacehe@gnu.org>
Sat, 13 Jun 2020 13:20:52 +0000 (15:20 +0200)
commitf292d4719dead6a615187f325fbc0bb0e99d10b4
tree1c24c9dabcf98907d64979ba070832679253d814
parent7ca533c7237622d70b423033c4506217d9ce4014
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.
gnu/image.scm
gnu/system/image.scm