guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

45/52: system: hurd: Add net-base and inetutils.


From: guix-commits
Subject: 45/52: system: hurd: Add net-base and inetutils.
Date: Thu, 9 Apr 2020 13:29:14 -0400 (EDT)

janneke pushed a commit to branch wip-hurd-vm
in repository guix.

commit ddb7382f9ce469b335980a35f8376609b05978b7
Author: Jan (janneke) Nieuwenhuizen <address@hidden>
AuthorDate: Wed Apr 8 17:39:30 2020 +0200

    system: hurd: Add net-base and inetutils.
    
    This fixes
    
        In procedure getaddrinfo: Servname not supported for ai_socktype
    
    * gnu/system/hurd.scm (%base-packages/hurd): Add net-base, inetutils.
    (cross-hurd-image): Add /etc/{services,protocols} from net-base.
---
 gnu/system/hurd.scm | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/gnu/system/hurd.scm b/gnu/system/hurd.scm
index 17a7627..37b73a0 100644
--- a/gnu/system/hurd.scm
+++ b/gnu/system/hurd.scm
@@ -52,7 +52,8 @@
                       #:target target))
 
 (define %base-packages/hurd
-  (list hurd bash coreutils file findutils grep guile-3.0 guix openssh sed))
+  (list hurd bash coreutils file findutils grep guile-3.0 guix openssh sed
+        net-base inetutils))
 
 (define* (cross-hurd-image #:key (hurd hurd) (gnumach gnumach))
   "Return a cross-built GNU/Hurd image."
@@ -164,7 +165,14 @@ fi\n"))
       (file "/etc/hostname" "guixygnu")
       (file "/etc/resolv.conf"
             "nameserver 10.0.2.3\n")
-
+      ("/etc/services" -> ,(file-append (with-parameters 
((%current-target-system
+                                                           "i586-pc-gnu"))
+                                          net-base)
+                                        "/etc/services"))
+      ("/etc/protocols" -> ,(file-append (with-parameters 
((%current-target-system
+                                                            "i586-pc-gnu"))
+                                           net-base)
+                                         "/etc/protocols"))
       ("/etc/motd" -> ,(file-append (with-parameters ((%current-target-system
                                                        "i586-pc-gnu"))
                                       hurd)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]