[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
14/52: system: hurd: Add "/etc/fstab".
From: |
guix-commits |
Subject: |
14/52: system: hurd: Add "/etc/fstab". |
Date: |
Thu, 9 Apr 2020 13:29:04 -0400 (EDT) |
janneke pushed a commit to branch wip-hurd-vm
in repository guix.
commit 463995f520d4d7fee76b4e665a5f81b1c0910894
Author: Jan (janneke) Nieuwenhuizen <address@hidden>
AuthorDate: Sun Apr 5 08:39:20 2020 +0200
system: hurd: Add "/etc/fstab".
This allows running
mount -o remount,rw /
successfully.
* gnu/system/hurd.scm (cross-hurd-image): Create a hard coded fstab and add
it
to hurd-os.
---
gnu/system/hurd.scm | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/gnu/system/hurd.scm b/gnu/system/hurd.scm
index 586bfa0..9c834ec 100644
--- a/gnu/system/hurd.scm
+++ b/gnu/system/hurd.scm
@@ -72,6 +72,14 @@ menuentry \"GNU\" {
#+mach #+mach #+hurd
#+libc #+hurd))))))
+ (define fstab
+ (plain-file "fstab"
+"# This file was generated from your Guix configuration. Any changes
+# will be lost upon reboot or reconfiguration.
+
+/dev/hd0s1 / ext2 defaults
+"))
+
(define hurd-directives
`((directory "/servers")
,@(map (lambda (server)
@@ -94,12 +102,14 @@ menuentry \"GNU\" {
("/hurd" -> ,(file-append (with-parameters ((%current-target-system
"i586-pc-gnu"))
hurd)
- "/hurd"))))
+ "/hurd"))
+ ("/etc/fstab" -> ,fstab)))
(qemu-image #:file-system-type "ext2"
#:file-system-options '("-o" "hurd")
#:inputs `(("system" ,hurd-os)
- ("grub.cfg" ,grub.cfg))
+ ("grub.cfg" ,grub.cfg)
+ ("fstab" , fstab))
#:copy-inputs? #t
#:os hurd-os
#:bootcfg-drv grub.cfg
- branch wip-hurd-vm created (now 8229a0e), guix-commits, 2020/04/09
- 02/52: vm: 'qemu-image' accepts a list of extra populate directives., guix-commits, 2020/04/09
- 04/52: gnu: gnumach: Enable kernel debugger (kbd)., guix-commits, 2020/04/09
- 01/52: install: 'populate-root-file-system' can be passed extra directives., guix-commits, 2020/04/09
- 05/52: gnu: hurd: Provide our own /libexec/rc script., guix-commits, 2020/04/09
- 07/52: gnu: hurd: Use a 32-bit MiG when cross-compiling., guix-commits, 2020/04/09
- 09/52: gnu: hurd: Record the right file name of 'login'., guix-commits, 2020/04/09
- 12/52: gnu: hurd: Add coreutils to startup scripts., guix-commits, 2020/04/09
- 06/52: gnu: cross-libc: Add patch to add 'mach_print' symbol on GNU/Hurd., guix-commits, 2020/04/09
- 14/52: system: hurd: Add "/etc/fstab".,
guix-commits <=
- 08/52: DRAFT: Add (gnu system hurd)., guix-commits, 2020/04/09
- 03/52: vm: 'qemu-image' can pass options to the 'mkfs' command., guix-commits, 2020/04/09
- 13/52: gnu: hurd: Add util-linux to startup scripts., guix-commits, 2020/04/09
- 10/52: gnu: hurd: Ensure startup scripts refer to the right programs., guix-commits, 2020/04/09
- 11/52: gnu: guile@3: Disable JIT on GNU/Hurd., guix-commits, 2020/04/09
- 17/52: system: hurd: Add "/etc/passwd"., guix-commits, 2020/04/09
- 15/52: gnu: hurd: Add "hurd/sbin" to PATH., guix-commits, 2020/04/09
- 18/52: gnu: cross-libc: Add patch to allow 'gettyent' reading store file names., guix-commits, 2020/04/09
- 20/52: system: hurd: Add "/etc/shadow"., guix-commits, 2020/04/09
- 24/52: vm: Preserve file permissions on /dev., guix-commits, 2020/04/09