janneke pushed a commit to branch wip-hurd-vm in repository guix. commit 93366c224d76b76c8168af6625f9d7e85da173cc Author: Jan (janneke) Nieuwenhuizen <jann...@gnu.org> AuthorDate: Sun Apr 5 08:32:39 2020 +0200
gnu: hurd: Add util-linux to startup scripts. * gnu/packages/hurd.scm (hurd): Add util-linux. --- gnu/packages/hurd.scm | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm index 35e8569..71b50ce 100644 --- a/gnu/packages/hurd.scm +++ b/gnu/packages/hurd.scm @@ -32,6 +32,7 @@ #:use-module (gnu packages autotools) #:use-module (gnu packages flex) #:use-module (gnu packages bison) + #:use-module (gnu packages linux) #:use-module (gnu packages perl) #:use-module (gnu packages base) #:use-module (gnu packages bash) @@ -352,7 +353,8 @@ boot, since this cannot be done from GNU/Linux." (bash (assoc-ref inputs "bash-minimal")) (coreutils (assoc-ref inputs "coreutils")) (sed (assoc-ref inputs "sed")) - (grep (assoc-ref inputs "grep"))) + (grep (assoc-ref inputs "grep")) + (util-linux (assoc-ref inputs "util-linux"))) (substitute* '("daemons/runttys.c" "daemons/getty.c") (("/bin/login") (string-append out "/bin/login"))) @@ -365,7 +367,8 @@ boot, since this cannot be done from GNU/Linux." (("^PATH=.*") (string-append "PATH=" out "/bin:" coreutils "/bin:" - sed "/bin:" grep "/bin\n")) + sed "/bin:" grep "/bin:" + util-linux "/bin\n")) (("^SHELL=.*") (string-append "SHELL=" bash "/bin/bash\n")) (("/libexec/") @@ -407,7 +410,8 @@ boot, since this cannot be done from GNU/Linux." ("bash-minimal" ,bash-minimal) ("coreutils" ,coreutils) ("sed" ,sed) - ("grep" ,grep))) + ("grep" ,grep) + ("util-linux" ,util-linux))) (native-inputs `(("autoconf" ,autoconf) ("automake" ,automake)