mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: bootstrap: Fix egrep and fgrep after unpacking bootstrap binaries.
* gnu/packages/bootstrap.scm (%bootstrap-coreutils&co): Add #:snippet argument to 'package-from-tarball' that calls 'patch-shebang' on egrep and fgrep after unpacking. Test 'fgrep' instead of 'true'.
This commit is contained in:
parent
2959dbe935
commit
84cbe39c5a
1 changed files with 9 additions and 2 deletions
|
@ -264,8 +264,15 @@ $out/bin/guile --version~%"
|
||||||
("mips64el-linux"
|
("mips64el-linux"
|
||||||
(base32
|
(base32
|
||||||
"072y4wyfsj1bs80r6vbybbafy8ya4vfy7qj25dklwk97m6g71753"))))))
|
"072y4wyfsj1bs80r6vbybbafy8ya4vfy7qj25dklwk97m6g71753"))))))
|
||||||
"true" ; the program to test
|
"fgrep" ; the program to test
|
||||||
"Bootstrap binaries of Coreutils, Awk, etc."))
|
"Bootstrap binaries of Coreutils, Awk, etc."
|
||||||
|
#:snippet
|
||||||
|
'(let ((path (list (string-append (getcwd) "/bin"))))
|
||||||
|
(chmod "bin" #o755)
|
||||||
|
(patch-shebang "bin/egrep" path)
|
||||||
|
(patch-shebang "bin/fgrep" path)
|
||||||
|
(chmod "bin" #o555)
|
||||||
|
#t)))
|
||||||
|
|
||||||
(define %bootstrap-binutils
|
(define %bootstrap-binutils
|
||||||
(package-from-tarball "binutils-bootstrap"
|
(package-from-tarball "binutils-bootstrap"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue