aboutsummaryrefslogtreecommitdiff
path: root/guix/scripts
diff options
context:
space:
mode:
authorMathieu Othacehe <m.othacehe@gmail.com>2017-12-01 14:09:38 +0100
committerMathieu Othacehe <m.othacehe@gmail.com>2017-12-04 18:26:59 +0100
commit4307397b5e060b54d69b7d2818654504ebde9c1d (patch)
tree220be063b26be9ce8cfa4a94bc016cf3450f85d8 /guix/scripts
parent39b27f4eae36d155faf466c59629afb5843030e6 (diff)
downloadgnu-guix-4307397b5e060b54d69b7d2818654504ebde9c1d.tar
gnu-guix-4307397b5e060b54d69b7d2818654504ebde9c1d.tar.gz
bootloader: extlinux: Stop using dd binary.
* gnu/bootloader/extlinux.scm (dd): Remove it, (install-extlinux): replace dd call by Guile I/O procedures. * gnu/system/vm.scm (qemu-image): Add (ice-9 binary-ports) to used-modules list to provide "get-bytevector-n" and "put-bytevector". * guix/scripts/system.scm (bootloader-installer-derivation): Ditto.
Diffstat (limited to 'guix/scripts')
-rw-r--r--guix/scripts/system.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/scripts/system.scm b/guix/scripts/system.scm
index 91d151d22b..e2ff42693f 100644
--- a/guix/scripts/system.scm
+++ b/guix/scripts/system.scm
@@ -676,7 +676,8 @@ and TARGET arguments."
(gexp->file "bootloader-installer"
(with-imported-modules '((guix build utils))
#~(begin
- (use-modules (guix build utils))
+ (use-modules (guix build utils)
+ (ice-9 binary-ports))
(#$installer #$bootloader #$device #$target))))))
(define* (perform-action action os