[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
28/85: services: static-networking: Support netdde for the Hurd.
From: |
guix-commits |
Subject: |
28/85: services: static-networking: Support netdde for the Hurd. |
Date: |
Thu, 15 Jun 2023 02:32:39 -0400 (EDT) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit 075643e278052e771fc35eff2745152857bb91fd
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 hurd-team created (now 61616f4ceb), guix-commits, 2023/06/15
- 01/85: hurd-boot: Add urandom and default-pager translators., guix-commits, 2023/06/15
- 06/85: squash! gnu: Add libc-for-target and glibc/hurd., guix-commits, 2023/06/15
- 09/85: gnu: Add libc-locales-for-target and glibc-locales/hurd., guix-commits, 2023/06/15
- 07/85: squash! gnu: Add libc-for-target and glibc/hurd., guix-commits, 2023/06/15
- 08/85: gnu: gnumach: Update to 1.8+git20221224., guix-commits, 2023/06/15
- 11/85: squash! gnu: mig: Update to 04bfe7a91223ba15d868f7165e49328b1c6e86c3., guix-commits, 2023/06/15
- 13/85: Revert "hurd-boot: Add urandom and default-pager translators.", guix-commits, 2023/06/15
- 24/85: gnu: gnumach: Support "noide" argument., guix-commits, 2023/06/15
- 27/85: system: hurd: Add netdde to %base-packages/hurd., guix-commits, 2023/06/15
- 28/85: services: static-networking: Support netdde for the Hurd.,
guix-commits <=
- 29/85: gnu: gnumach: Disable builtin networking., guix-commits, 2023/06/15
- 25/85: gnu: netdde: Resurrect and update to 2.6.32.65-2-e67c284ac1., guix-commits, 2023/06/15
- 02/85: gnu: glibc/hurd-headers: Properly cross-build., guix-commits, 2023/06/15
- 10/85: gnu: mig: Update to 04bfe7a91223ba15d868f7165e49328b1c6e86c3., guix-commits, 2023/06/15
- 19/85: gnu: hurd: Add rumpkernel., guix-commits, 2023/06/15
- 22/85: system: hurd: Boot with pci.arbiter and rumpdisk., guix-commits, 2023/06/15
- 23/85: bootloader: grub: Use rumpdisk-style root when booting with "noide"., guix-commits, 2023/06/15
- 30/85: gnu: commencement: Add autoconf-boot0., guix-commits, 2023/06/15
- 26/85: hurd-boot: Cater for netdde., guix-commits, 2023/06/15
- 33/85: gnu: commencement: mig-boot0: Update to 1.8+git20230520., guix-commits, 2023/06/15