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
1 changed files with 5 additions and 0 deletions

View File

@ -363,6 +363,11 @@ for `sh' in $PATH, and without nscd, and with static NSS modules."
(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