summaryrefslogtreecommitdiff
path: root/gnu/system
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-02-08 23:29:06 +0100
committerLudovic Courtès <ludo@gnu.org>2016-02-08 23:46:46 +0100
commit6eb439070a12e62e72c13f189ad71394226e6036 (patch)
tree4738bc8fe41dcac47c90d024e28fdcee67f07e7f /gnu/system
parentf2e4805b7e80e31cc23b22a9f082b74d0547fc5f (diff)
downloadpatches-6eb439070a12e62e72c13f189ad71394226e6036.tar
patches-6eb439070a12e62e72c13f189ad71394226e6036.tar.gz
file-systems: Spawn a Bournish REPL upon fsck failure.
Fixes <http://bugs.gnu.org/22588>. Reported by Mark H Weaver <mhw@netris.org>. * gnu/build/file-systems.scm (check-file-system): Pass %BOURNISH-LANGUAGE as the argument to 'start-repl'. * gnu/services.scm (activation-script): Add (guix build bournish). * gnu/services/base.scm (file-system-shepherd-service)[imported-modules]: Likewise. * gnu/system/linux-container.scm (container-script): Likewise. * gnu/system/vm.scm (expression->derivation-in-linux-vm): Likewise.
Diffstat (limited to 'gnu/system')
-rw-r--r--gnu/system/linux-container.scm1
-rw-r--r--gnu/system/vm.scm1
2 files changed, 2 insertions, 0 deletions
diff --git a/gnu/system/linux-container.scm b/gnu/system/linux-container.scm
index 4f38c5cb0a..c558f45769 100644
--- a/gnu/system/linux-container.scm
+++ b/gnu/system/linux-container.scm
@@ -110,5 +110,6 @@ that will be shared with the host system."
(guix utils)
(guix build utils)
(guix build syscalls)
+ (guix build bournish)
(gnu build file-systems)
(gnu build linux-container))))))
diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm
index 3cba400a57..a7c03bda17 100644
--- a/gnu/system/vm.scm
+++ b/gnu/system/vm.scm
@@ -104,6 +104,7 @@
(guix records)
(guix build utils)
(guix build syscalls)
+ (guix build bournish)
(guix build store-copy)))
(guile-for-build
(%guile-for-build))