summary refs log tree commit diff
path: root/gnu/build
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/build')
-rw-r--r--gnu/build/linux-initrd.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/build/linux-initrd.scm b/gnu/build/linux-initrd.scm
index 815c7a0aeb..e26c067b49 100644
--- a/gnu/build/linux-initrd.scm
+++ b/gnu/build/linux-initrd.scm
@@ -68,7 +68,8 @@ COMPRESS? is true, compress it using GZIP.  On success, return OUTPUT."
 
   (call-with-output-file output
     (lambda (port)
-      (cpio:write-cpio-archive files port)))
+      (cpio:write-cpio-archive files port
+                               #:file->header cpio:file->cpio-header*)))
 
   (or (not compress?)
       (and (zero? (system* gzip "--best" output))