diff options
author | Janneke Nieuwenhuizen <janneke@gnu.org> | 2023-05-24 23:23:30 +0200 |
---|---|---|
committer | Josselin Poiret <dev@jpoiret.xyz> | 2023-07-13 18:59:57 +0200 |
commit | 030b15d466a2a1611e0d4b52971c4b1752b86ccc (patch) | |
tree | 97984a5192e315e62b6bf112aab1f081583128a0 | |
parent | 37256c02a2b2b54378b19a31765e1e42aa3ff514 (diff) | |
download | guix-030b15d466a2a1611e0d4b52971c4b1752b86ccc.tar.gz |
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 <dev@jpoiret.xyz>
-rw-r--r-- | gnu/build/hurd-boot.scm | 10 |
1 files changed, 10 insertions, 0 deletions
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"))) |