aboutsummaryrefslogtreecommitdiff
path: root/gnu/system/install.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-07-02 16:38:06 +0200
committerLudovic Courtès <ludo@gnu.org>2017-07-02 16:44:59 +0200
commit50cb948f1c584344c63129e535c2fe7b54332a87 (patch)
treef7edcf6ecf1bf83fd00569767d654cbbc5db8b38 /gnu/system/install.scm
parente00a59097efb2d9a98fadc99d1627037aacb6ab6 (diff)
downloadguix-50cb948f1c584344c63129e535c2fe7b54332a87.tar
guix-50cb948f1c584344c63129e535c2fe7b54332a87.tar.gz
install: Re-add /bin/sh.
Reported by Divan Santana <divan@santanas.co.za>. /bin/sh had disappeared in commit 387e175492f960d7d86f34f3b2e43938fa72dbf3. * gnu/system/install.scm (%installation-services): Add 'special-files-service-type' instance.
Diffstat (limited to 'gnu/system/install.scm')
-rw-r--r--gnu/system/install.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/system/install.scm b/gnu/system/install.scm
index 0a78d030dd..2c408c109a 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.