Subject: Re: bug#40581: [wip-hurd-vm] uptime from coreutils looks for /bin/w

From: Jan Nieuwenhuizen <[email-masked]>
Date: Mon, 13 Apr 2020 09:11:48 +0200

Rene writes:

Hello Rene, Efraim,

> Debian project currently uses `/bin/w` from the hurd package, so I
> propose the attached patch.

LGTM!

> @@ -398,6 +399,9 @@ boot, since this cannot be done from GNU/Linux."
>                 (substitute* '("startup/startup.c" "init/init.c" "config/ttys")
>                   (("/libexec/")
>                    (string-append out "/libexec/")))
> +               (substitute* '("utils/uptime.sh")
> +                 (("/bin/w")
> +                  (string-append out "/bin/w")))
>                 (substitute* "daemons/console-run.c"
>                   (("/hurd/")
>                    (string-append out "/hurd/")))

Looking at this again it looks fine; following the pattern we created.
This now makes me wonder whether upstream Hurd could use a patch for
${bindir} and ${libexecdir}.  Possibly even for `/hurd'.

What do you all think?

Greetings,
janneke

-- 
Jan Nieuwenhuizen <[email-masked]> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com