[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
28/84: services: static-networking: Support netdde for the Hurd.
From: |
guix-commits |
Subject: |
28/84: services: static-networking: Support netdde for the Hurd. |
Date: |
Wed, 14 Jun 2023 06:23:56 -0400 (EDT) |
janneke pushed a commit to branch wip-hurd
in repository guix.
commit 2ce8eb48de29e93177ad75ed4081751ce9b89d5f
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)))))))
- 75/84: gnu: ghostscript: Fix build for the Hurd., (continued)
- 75/84: gnu: ghostscript: Fix build for the Hurd., guix-commits, 2023/06/14
- 69/84: gnu: cmake-bootstrap: Fix build for the Hurd., guix-commits, 2023/06/14
- 08/84: gnu: gnumach: Update to 1.8+git20221224., guix-commits, 2023/06/14
- 06/84: squash! gnu: Add libc-for-target and glibc/hurd., guix-commits, 2023/06/14
- 05/84: gnu: Add libc-for-target and glibc/hurd., guix-commits, 2023/06/14
- 10/84: gnu: mig: Update to 04bfe7a91223ba15d868f7165e49328b1c6e86c3., guix-commits, 2023/06/14
- 16/84: gnu: Add rumpkernel., guix-commits, 2023/06/14
- 01/84: hurd-boot: Add urandom and default-pager translators., guix-commits, 2023/06/14
- 24/84: gnu: gnumach: Support "noide" argument., guix-commits, 2023/06/14
- 12/84: gnu: hurd: Update to v0.9.git20230216., guix-commits, 2023/06/14
- 28/84: services: static-networking: Support netdde for the Hurd.,
guix-commits <=
- 09/84: gnu: Add libc-locales-for-target and glibc-locales/hurd., guix-commits, 2023/06/14
- 19/84: gnu: hurd: Add rumpkernel., guix-commits, 2023/06/14
- 34/84: gnu: commencement: hurd-headers-boot0: Update to 0.9.git20230216., guix-commits, 2023/06/14
- 30/84: gnu: commencement: Add autoconf-boot0., guix-commits, 2023/06/14
- 32/84: gnu: commencement: gnumach-headers-boot0: Update to 1.8+git20221224., guix-commits, 2023/06/14
- 40/84: Revert "gnu: sed: Skip failing test on GNU/Hurd.", guix-commits, 2023/06/14
- 57/84: gnu: git: Skip failing test for the Hurd., guix-commits, 2023/06/14
- 78/84: gnu: fontforge: Support build for the Hurd., guix-commits, 2023/06/14
- 79/84: gnu: po4a: Skip failing test for the Hurd., guix-commits, 2023/06/14
- 15/84: gnu: hurd: Update libpciaccess to 0.17., guix-commits, 2023/06/14