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).
This commit is contained in:
parent
15135a5e13
commit
1dbd0005a1
@ -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)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user