[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/16: system: hurd: Create /etc/{hostname,motd,login} and /root.
From: |
guix-commits |
Subject: |
11/16: system: hurd: Create /etc/{hostname,motd,login} and /root. |
Date: |
Sat, 11 Apr 2020 15:09:13 -0400 (EDT) |
civodul pushed a commit to branch core-updates
in repository guix.
commit 5fbf4f85e1bfe028cc17d6fbcd9e337bf7a9e389
Author: Ludovic Courtès <address@hidden>
AuthorDate: Mon Apr 6 14:58:58 2020 +0200
system: hurd: Create /etc/{hostname,motd,login} and /root.
* gnu/system/hurd.scm (cross-hurd-image): Add /etc/{hostname,motd,login}
and /root.
---
gnu/system/hurd.scm | 19 +++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)
diff --git a/gnu/system/hurd.scm b/gnu/system/hurd.scm
index 6570616..75b9dac 100644
--- a/gnu/system/hurd.scm
+++ b/gnu/system/hurd.scm
@@ -108,17 +108,32 @@ menuentry \"GNU\" {
("/servers/socket/local" -> "1")
("/servers/socket/inet" -> "2")
("/servers/socket/inet6" -> "16")
- (file "/etc/resolv.conf"
- "nameserver 10.0.2.3\n")
(directory "/boot")
("/boot/grub.cfg" -> ,grub.cfg) ;XXX: not strictly needed
("/hurd" -> ,(file-append (with-parameters ((%current-target-system
"i586-pc-gnu"))
hurd)
"/hurd"))
+
+ ;; TODO: Create those during activation, eventually.
+ (directory "/root")
("/etc/fstab" -> ,fstab)
("/etc/passwd" -> ,passwd)
("/etc/shadow" -> ,shadow)
+ (file "/etc/hostname" "guixygnu")
+ (file "/etc/resolv.conf"
+ "nameserver 10.0.2.3\n")
+
+ ("/etc/motd" -> ,(file-append (with-parameters ((%current-target-system
+ "i586-pc-gnu"))
+ hurd)
+ "/etc/motd"))
+ ("/etc/login" -> ,(file-append (with-parameters ((%current-target-system
+ "i586-pc-gnu"))
+ hurd)
+ "/etc/login"))
+
+
;; XXX can we instead, harmlessly set _PATH_TTYS (from glibc) in
runttys.c?
("/etc/ttys" -> ,(file-append (with-parameters ((%current-target-system
"i586-pc-gnu"))
- branch core-updates updated (916ec91 -> 5084fd3), guix-commits, 2020/04/11
- 01/16: database: 'reset-timestamps' can optionally preserve permissions., guix-commits, 2020/04/11
- 02/16: vm: Preserve file permissions on /dev., guix-commits, 2020/04/11
- 04/16: linux-boot: Add 'make-hurd-device-nodes'., guix-commits, 2020/04/11
- 03/16: linux-boot: 'make-essential-device-nodes' root parameter is optional., guix-commits, 2020/04/11
- 05/16: vm: Make the device node procedure a parameter., guix-commits, 2020/04/11
- 09/16: system: hurd: Add /etc/{passwd,shadow}., guix-commits, 2020/04/11
- 08/16: system: hurd: Add ttys symlink in "/etc/ttys"., guix-commits, 2020/04/11
- 10/16: system: hurd: Add "/bin/sh" symlink., guix-commits, 2020/04/11
- 11/16: system: hurd: Create /etc/{hostname,motd,login} and /root.,
guix-commits <=
- 14/16: system: hurd: Create a proper profile., guix-commits, 2020/04/11
- 07/16: system: hurd: Add "/etc/fstab"., guix-commits, 2020/04/11
- 13/16: gnu: hurd: "/libexec/rc" spawns the console client., guix-commits, 2020/04/11
- 12/16: system: hurd: Add root profile., guix-commits, 2020/04/11
- 06/16: Add (gnu system hurd)., guix-commits, 2020/04/11
- 15/16: system: hurd: Add net-base and inetutils, and /etc/{services, protocols}., guix-commits, 2020/04/11
- 16/16: system: hurd: Add guile-candy., guix-commits, 2020/04/11