gnu: make-bootstrap: Allow bit-reproducibility for 'glibc-stripped'.

* gnu/packages/make-bootstrap.scm (%glibc-stripped): Remove '.install'
  and '..install.cmd' files.
This commit is contained in:
Ludovic Courtès 2013-11-02 22:28:30 +01:00
parent 55a5674f21
commit c9323eac74

View file

@ -363,6 +363,11 @@ (define %glibc-stripped
(string-append incdir "/asm")) (string-append incdir "/asm"))
(copy-recursively (string-append linux "/include/asm-generic") (copy-recursively (string-append linux "/include/asm-generic")
(string-append incdir "/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)))) #t))))
(inputs `(("libc" ,(let ((target (%current-target-system))) (inputs `(("libc" ,(let ((target (%current-target-system)))
(if target (if target