From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Nieuwenhuizen Subject: bug#40581: [wip-hurd-vm] uptime from coreutils looks for /bin/w Date: Mon, 13 Apr 2020 09:11:48 +0200 Message-ID: <87tv1nc11n.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:36177) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jNtGF-0007SK-36 for bug-guix@gnu.org; Mon, 13 Apr 2020 03:12:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jNtGD-0001an-V8 for bug-guix@gnu.org; Mon, 13 Apr 2020 03:12:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47619) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jNtGD-0001a3-Ru for bug-guix@gnu.org; Mon, 13 Apr 2020 03:12:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jNtGD-0001OE-LS for bug-guix@gnu.org; Mon, 13 Apr 2020 03:12:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:36157) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jNtG3-0007S8-IC for bug-guix@gnu.org; Mon, 13 Apr 2020 03:11:52 -0400 In-Reply-To: (Rene's message of "Mon, 13 Apr 2020 03:54:48 +0000") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: Rene Cc: 40581@debbugs.gnu.org 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 --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com