guix-commits
[Top][All Lists]
Advanced

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

01/01: install: Re-add /bin/sh.


From: Ludovic Courtès
Subject: 01/01: install: Re-add /bin/sh.
Date: Sun, 2 Jul 2017 10:45:11 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 50cb948f1c584344c63129e535c2fe7b54332a87
Author: Ludovic Courtès <address@hidden>
Date:   Sun Jul 2 16:38:06 2017 +0200

    install: Re-add /bin/sh.
    
    Reported by Divan Santana <address@hidden>.
    /bin/sh had disappeared in commit
    387e175492f960d7d86f34f3b2e43938fa72dbf3.
    
    * gnu/system/install.scm (%installation-services): Add
    'special-files-service-type' instance.
---
 gnu/system/install.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/system/install.scm b/gnu/system/install.scm
index 0a78d03..2c408c1 100644
--- a/gnu/system/install.scm
+++ b/gnu/system/install.scm
@@ -277,7 +277,13 @@ You have been warned.  Thanks for being so brave.
           ;; Since this is running on a USB stick with a unionfs as the root
           ;; file system, use an appropriate cache configuration.
           (nscd-service (nscd-configuration
-                         (caches %nscd-minimal-caches))))))
+                         (caches %nscd-minimal-caches)))
+
+          ;; Having /bin/sh is a good idea.  In particular it allows Tramp
+          ;; connections to this system to work.
+          (service special-files-service-type
+                   `(("/bin/sh" ,(file-append (canonical-package bash)
+                                              "/bin/sh")))))))
 
 (define %issue
   ;; Greeting.



reply via email to

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