From 030b15d466a2a1611e0d4b52971c4b1752b86ccc Mon Sep 17 00:00:00 2001 From: Janneke Nieuwenhuizen Date: Wed, 24 May 2023 23:23:30 +0200 Subject: hurd-boot: Cater for netdde. * gnu/build/hurd-boot.scm (set-hurd-device-translators): Setup translators for netdde, eth{0,1}. Create /servers/socket/{inet,inet6} symlinks. Signed-off-by: Josselin Poiret --- gnu/build/hurd-boot.scm | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'gnu/build') diff --git a/gnu/build/hurd-boot.scm b/gnu/build/hurd-boot.scm index 18b7feabc3..19bdbdf6ae 100644 --- a/gnu/build/hurd-boot.scm +++ b/gnu/build/hurd-boot.scm @@ -215,6 +215,13 @@ set." ("dev/fd" ("/hurd/magic" "--directory" "fd") #o555) ("dev/rumpdisk" ("/hurd/rumpdisk") #o660) + ("dev/netdde" ("/hurd/netdde") #o660) + ("dev/eth0" ("/hurd/devnode" "--master-device=/dev/net" + "eth0") + #o660) + ("dev/eth1" ("/hurd/devnode" "--master-device=/dev/net" + "eth1") + #o660) ;; Create a number of ttys; syslogd writes to tty12 by default. ;; FIXME: Creating /dev/tty12 leads the console client to switch to @@ -268,6 +275,9 @@ set." (false-if-EEXIST (symlink "/dev/fd/2" (scope "dev/stderr"))) (false-if-EEXIST (symlink "crash-dump-core" (scope "servers/crash"))) (false-if-EEXIST (symlink "/dev/rumpdisk" (scope "dev/disk"))) + (false-if-EEXIST (symlink "/dev/netdde" (scope "dev/net"))) + (false-if-EEXIST (symlink "/servers/socket/2" (scope "servers/socket/inet"))) + (false-if-EEXIST (symlink "/servers/socket/26" (scope "servers/socket/inet6"))) ;; Make sure /etc/mtab is a symlink to /proc/mounts. (false-if-exception (delete-file (scope "etc/mtab"))) -- cgit 1.4.1