[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
28/89: services: static-networking: Support netdde for the Hurd.
From: |
guix-commits |
Subject: |
28/89: services: static-networking: Support netdde for the Hurd. |
Date: |
Tue, 20 Jun 2023 05:58:54 -0400 (EDT) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit 1752e09a40812efcaa99aba3fe8bf5dea4e7f4d2
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Fri May 26 12:03:10 2023 +0200
services: static-networking: Support netdde for the Hurd.
As suggested by Sergey Bugaev on bug-hurd
https://lists.gnu.org/archive/html/bug-hurd/2023-05//msg00455.html
* gnu/services/base.scm (static-networking->hurd-pfinet-options): Use
/DEV/ethX. Use long options for settrans.
---
gnu/services/base.scm | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index bbc2ac2c79..9116e5faa5 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -10,7 +10,7 @@
;;; Copyright © 2019 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2019 John Soo <jsoo1@asu.edu>
-;;; Copyright © 2019 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
+;;; Copyright © 2019, 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2020 Florian Pelz <pelzflorian@pelzflorian.de>
;;; Copyright © 2020, 2021 Brice Waegeneire <brice@waegenei.re>
;;; Copyright © 2021 qblade <qblade@protonmail.com>
@@ -2726,7 +2726,7 @@ to CONFIG."
(match (static-networking-addresses config)
((and addresses (first _ ...))
`("--ipv6" "/servers/socket/26"
- "--interface" ,(network-address-device first)
+ "--interface" ,(string-append "/dev/" (network-address-device first))
,@(append-map (lambda (address)
`(,(if (network-address-ipv6? address)
"--address6"
@@ -2769,7 +2769,10 @@ to CONFIG."
(format #t "starting '~a~{ ~s~}'~%"
#$(file-append hurd "/hurd/pfinet")
options)
- (apply invoke #$(file-append hurd "/bin/settrans")
"-fac"
+ (apply invoke #$(file-append hurd "/bin/settrans")
+ "--active"
+ "--create"
+ "--keep-active"
"/servers/socket/2"
#$(file-append hurd "/hurd/pfinet")
options)))))))
- 14/89: gnu: Add libpciaccess-0.17., (continued)
- 14/89: gnu: Add libpciaccess-0.17., guix-commits, 2023/06/20
- 16/89: gnu: Add rumpkernel., guix-commits, 2023/06/20
- 20/89: hurd-boot: Setup pci-arbiter and rumpdisk translators., guix-commits, 2023/06/20
- 34/89: gnu: commencement: hurd-headers-boot0: Update to 0.9.git20230216., guix-commits, 2023/06/20
- 36/89: Revert "gnu: libunistring: Fix make check for the Hurd.", guix-commits, 2023/06/20
- 79/89: gnu: po4a: Skip failing test on the Hurd., guix-commits, 2023/06/20
- 37/89: gnu: guile: Skip hanging and failing pipe tests on the Hurd., guix-commits, 2023/06/20
- 84/89: gnu: guix: Disable some test on 32bit., guix-commits, 2023/06/20
- 87/89: DRAFT hurd: Support second boot., guix-commits, 2023/06/20
- 22/89: system: hurd: Boot with pci.arbiter and rumpdisk., guix-commits, 2023/06/20
- 28/89: services: static-networking: Support netdde for the Hurd.,
guix-commits <=
- 32/89: gnu: commencement: gnumach-headers-boot0: Update to 1.8+git20221224., guix-commits, 2023/06/20
- 31/89: gnu: commencement: Add automake-boot0., guix-commits, 2023/06/20
- 49/89: gnu: mpfr: Skip failing test on the Hurd., guix-commits, 2023/06/20
- 66/89: gnu: tcsh: Skip substitution tests on the Hurd., guix-commits, 2023/06/20
- 54/89: gnu: libgcrypt: Skip hanging benchmark tests on the Hurd., guix-commits, 2023/06/20
- 42/89: gnu: diffutils: Remove test-perror2 from XFAIL_TESTS on the Hurd., guix-commits, 2023/06/20
- 55/89: gnu: tcl: Remove failing tests on the Hurd.., guix-commits, 2023/06/20
- 33/89: gnu: commencement: mig-boot0: Update to 1.8+git20230520., guix-commits, 2023/06/20
- 51/89: gnu: libbsd: Skip failing test on the Hurd., guix-commits, 2023/06/20
- 75/89: gnu: ghostscript: Fix build for the Hurd., guix-commits, 2023/06/20