[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
25/48: services: static-networking: Support netdde for the Hurd.
From: |
guix-commits |
Subject: |
25/48: services: static-networking: Support netdde for the Hurd. |
Date: |
Sun, 4 Jun 2023 07:43:44 -0400 (EDT) |
janneke pushed a commit to branch wip-hurd
in repository guix.
commit 0fc5c9fbd10ccb4fa87dcf7de432613cc71a5070
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 c5b06b57e8..1aeef95cc2 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)))))))
- branch wip-hurd created (now fd472f29a0), guix-commits, 2023/06/04
- 01/48: hurd-boot: Add urandom and default-pager translators., guix-commits, 2023/06/04
- 03/48: gnu: gnumach-headers: Cross-build without relying on x86., guix-commits, 2023/06/04
- 02/48: gnu: glibc/hurd-headers: Properly cross-build., guix-commits, 2023/06/04
- 20/48: bootloader: grub: Use rumpdisk-style root when booting with "noide"., guix-commits, 2023/06/04
- 25/48: services: static-networking: Support netdde for the Hurd.,
guix-commits <=
- 41/48: gnu: diffutils: Remove test-perror2 from XFAIL_TESTS for the Hurd., guix-commits, 2023/06/04
- 43/48: gnu: m4: Skip gnulib stack-overflow tests for the Hurd., guix-commits, 2023/06/04
- 38/48: gnu: grep: Update hanging and failing tests for the Hurd., guix-commits, 2023/06/04
- 44/48: hurd: Support system init in /libexec/runsystem., guix-commits, 2023/06/04
- 07/48: gnu: mig: Update to 04bfe7a91223ba15d868f7165e49328b1c6e86c3., guix-commits, 2023/06/04
- 16/48: gnu: hurd: Add rumpkernel., guix-commits, 2023/06/04
- 21/48: gnu: gnumach: Support "noide" argument., guix-commits, 2023/06/04
- 42/48: gnu: gettext-minimal: Remove XFAIL_TESTS for the Hurd., guix-commits, 2023/06/04
- 28/48: gnu: commencement: Add automake-boot0., guix-commits, 2023/06/04
- 35/48: Revert "gnu: libunistring: Fix make check for the Hurd.", guix-commits, 2023/06/04