From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 84jnH3BW5l4XGwAA0tVLHw (envelope-from ) for ; Sun, 14 Jun 2020 16:55:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id qPZUG3BW5l4oRwAAbx9fmQ (envelope-from ) for ; Sun, 14 Jun 2020 16:55:12 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E5CAC940418 for ; Sun, 14 Jun 2020 16:55:11 +0000 (UTC) Received: from localhost ([::1]:58272 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jkVuX-0001hc-Aj for larch@yhetil.org; Sun, 14 Jun 2020 12:55:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59932) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jkVuQ-0001hI-QW for bug-guix@gnu.org; Sun, 14 Jun 2020 12:55:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:32862) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jkVuQ-0001z7-HK for bug-guix@gnu.org; Sun, 14 Jun 2020 12:55:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jkVuQ-0003AZ-EA for bug-guix@gnu.org; Sun, 14 Jun 2020 12:55:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#41855: [PATCH 0/2] hurd-boot: Cleanups: Remove MAKEDEV, then use setxattr (on the Hurd). Resent-From: "Jan (janneke) Nieuwenhuizen" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 14 Jun 2020 16:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41855 X-GNU-PR-Package: guix X-GNU-PR-Keywords: patch To: 41855@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159215367812142 (code B ref -1); Sun, 14 Jun 2020 16:55:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 Jun 2020 16:54:38 +0000 Received: from localhost ([127.0.0.1]:44408 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jkVu2-00039l-5j for submit@debbugs.gnu.org; Sun, 14 Jun 2020 12:54:38 -0400 Received: from lists.gnu.org ([209.51.188.17]:60588) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jkVtz-00039c-TY for submit@debbugs.gnu.org; Sun, 14 Jun 2020 12:54:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59690) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jkVtz-0001cU-KB for bug-guix@gnu.org; Sun, 14 Jun 2020 12:54:35 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:48611) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jkVty-0001xY-10; Sun, 14 Jun 2020 12:54:34 -0400 Received: from [2001:980:1b4f:1:42d2:832d:bb59:862] (port=48140 helo=dundal.fritz.box) by fencepost.gnu.org with esmtpa (Exim 4.82) (envelope-from ) id 1jkVtw-0000Jg-Ll; Sun, 14 Jun 2020 12:54:33 -0400 From: "Jan (janneke) Nieuwenhuizen" Date: Sun, 14 Jun 2020 18:54:30 +0200 Message-Id: <20200614165430.3411-1-janneke@gnu.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -0.01 X-TUID: 2dG2vsbxlaj2 From: Jan Nieuwenhuizen Hi! Several variants of these patches were present on wip-hurd-vm before. Currently, we are running MAKEDEV from activation, and thus need hurd, bash, coreutils and sed in PATH. The first patch replaces that with scheme code, which seems a no-brainer to me. Then we only need hurd in PATH for settrans and gettrans. The second patch then switches to using setxattr instead of settrans; alas we still need gettrans as getxattr behaves "funny" on translated nodes. I suppose that would be a question for the bug-hurd? Greetings, Janneke Jan (janneke) Nieuwenhuizen (2): hurd-boot: Create individual translators instead of running MAKEDEV. hurd-boot: Use 'setxattr' instead of invoking settrans. gnu/build/hurd-boot.scm | 172 +++++++++++++++++++++++++++++----------- gnu/system.scm | 1 + 2 files changed, 126 insertions(+), 47 deletions(-) -- Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | AvatarĀ® http://AvatarAcademy.com