system: image: Ensure Hurd images are cross-compiled if needed.

Fixes regression introduced in d5073fd113,
whereby childhurd dependencies such as 'hurd' would erroneously be
attempted to build natively on x86_64-linux.

* gnu/system/images/hurd.scm (hurd-disk-image)[platform]: New field.
This commit is contained in:
Ludovic Courtès 2021-10-18 00:10:38 +02:00
parent 3fbf38aca2
commit f513afa37f
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

View File

@ -76,6 +76,7 @@
(define hurd-disk-image
(image
(format 'disk-image)
(platform hurd)
(partitions
(list (partition
(size 'guess)