gnu: isc-dhcp: Return #t from all phases.
* gnu/packages/admin.scm (isc-dhcp)[arguments]: Use invoke instead of system*, and return #t from all phases.
This commit is contained in:
parent
8c52aab4e8
commit
d6acc9f8fb
@ -664,16 +664,16 @@ connection alive.")
|
|||||||
sh " SHELL=" sh))))
|
sh " SHELL=" sh))))
|
||||||
|
|
||||||
(let ((bind-directory (string-append "bind-" ,bind-version)))
|
(let ((bind-directory (string-append "bind-" ,bind-version)))
|
||||||
(system* "tar" "xf" "bind.tar.gz")
|
(invoke "tar" "xf" "bind.tar.gz")
|
||||||
(for-each patch-shebang
|
(for-each patch-shebang
|
||||||
(find-files bind-directory ".*"))
|
(find-files bind-directory ".*"))
|
||||||
(zero? (system* "tar" "cf" "bind.tar.gz"
|
(invoke "tar" "cf" "bind.tar.gz"
|
||||||
bind-directory
|
bind-directory
|
||||||
;; avoid non-determinism in the archive
|
;; avoid non-determinism in the archive
|
||||||
"--sort=name"
|
"--sort=name"
|
||||||
"--mtime=@0"
|
"--mtime=@0"
|
||||||
"--owner=root:0"
|
"--owner=root:0"
|
||||||
"--group=root:0"))))))
|
"--group=root:0")))))
|
||||||
(add-after 'install 'post-install
|
(add-after 'install 'post-install
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
;; Install the dhclient script for GNU/Linux and make sure
|
;; Install the dhclient script for GNU/Linux and make sure
|
||||||
@ -699,7 +699,8 @@ connection alive.")
|
|||||||
,(map (lambda (dir)
|
,(map (lambda (dir)
|
||||||
(string-append dir "/bin:"
|
(string-append dir "/bin:"
|
||||||
dir "/sbin"))
|
dir "/sbin"))
|
||||||
(list inetutils net-tools coreutils sed))))))))))
|
(list inetutils net-tools coreutils sed))))
|
||||||
|
#t))))))
|
||||||
|
|
||||||
(native-inputs `(("perl" ,perl)))
|
(native-inputs `(("perl" ,perl)))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user