From c9323eac746e1905f9cacf17408a5678c2bdefbf Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sat, 2 Nov 2013 22:28:30 +0100 Subject: gnu: make-bootstrap: Allow bit-reproducibility for 'glibc-stripped'. * gnu/packages/make-bootstrap.scm (%glibc-stripped): Remove '.install' and '..install.cmd' files. --- gnu/packages/make-bootstrap.scm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gnu/packages/make-bootstrap.scm b/gnu/packages/make-bootstrap.scm index c79bcc2cf3..2630ad5ce0 100644 --- a/gnu/packages/make-bootstrap.scm +++ b/gnu/packages/make-bootstrap.scm @@ -363,6 +363,11 @@ (define %glibc-stripped (string-append incdir "/asm")) (copy-recursively (string-append linux "/include/asm-generic") (string-append incdir "/asm-generic")) + + ;; Remove the '.install' and '..install.cmd' files; the latter + ;; contains store paths, which prevents bit reproducibility. + (for-each delete-file (find-files incdir "\\.install")) + #t)))) (inputs `(("libc" ,(let ((target (%current-target-system))) (if target -- cgit v1.2.3