me
/
guix
Archived
1
0
Fork 0

system: image: Fix disk-image cross-compilation.

* gnu/system/image.scm (system-disk-image): Use the native version of the
helper packages (e2fsprogs, dosfstools, mtools, genimage, coreutils and
findutils).
master
Mathieu Othacehe 2020-05-20 16:22:17 +02:00 committed by Mathieu Othacehe
parent 15135a5e13
commit 1dbd0005a1
No known key found for this signature in database
GPG Key ID: 8354763531769CA6
1 changed files with 2 additions and 2 deletions

View File

@ -232,7 +232,7 @@ used in the image."
(type (partition-file-system partition))
(image-builder
(with-imported-modules*
(let ((inputs '#$(list e2fsprogs dosfstools mtools)))
(let ((inputs '#+(list e2fsprogs dosfstools mtools)))
(set-path-environment-variable "PATH" '("bin" "sbin") inputs)
(make-partition-image #$(partition->gexp partition)
#$output
@ -275,7 +275,7 @@ image ~a {
(let* ((substitutable? (image-substitutable? image))
(builder
(with-imported-modules*
(let ((inputs '#$(list genimage coreutils findutils)))
(let ((inputs '#+(list genimage coreutils findutils)))
(set-path-environment-variable "PATH" '("bin" "sbin") inputs)
(genimage #$(image->genimage-cfg image) #$output))))
(image-dir (computed-file "image-dir" builder)))