system: image: Fix disk-image name.
This is a follow-up of 5980ec8ada
.
* gnu/system/image.scm (system-disk-image): When using the image name, convert
it to string first.
master
parent
5980ec8ada
commit
f27bec107e
|
@ -301,7 +301,10 @@ image ~a {
|
||||||
}~%" #$genimage-name #$image-type (list #$@partitions-config))))))))
|
}~%" #$genimage-name #$image-type (list #$@partitions-config))))))))
|
||||||
(computed-file "genimage.cfg" builder)))
|
(computed-file "genimage.cfg" builder)))
|
||||||
|
|
||||||
(let* ((name (or (image-name image) name))
|
(let* ((image-name (image-name image))
|
||||||
|
(name (if image-name
|
||||||
|
(symbol->string image-name)
|
||||||
|
name))
|
||||||
(substitutable? (image-substitutable? image))
|
(substitutable? (image-substitutable? image))
|
||||||
(builder
|
(builder
|
||||||
(with-imported-modules*
|
(with-imported-modules*
|
||||||
|
|
Reference in New Issue