GNU bug report logs - #40581
[wip-hurd-vm] uptime from coreutils looks for /bin/w

Previous Next

Package: guix;

Reported by: Efraim Flashner <efraim <at> flashner.co.il>

Date: Sun, 12 Apr 2020 18:32:01 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Jan Nieuwenhuizen <janneke <at> gnu.org>
To: Rene <pacoon <at> protonmail.com>
Cc: 40581 <at> debbugs.gnu.org
Subject: bug#40581: [wip-hurd-vm] uptime from coreutils looks for /bin/w
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 <janneke <at> gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | AvatarĀ® http://AvatarAcademy.com




This bug report was last modified 5 years and 62 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.