[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/08: file-systems: Always wait for devices to show up.
From: |
Ludovic Courtès |
Subject: |
02/08: file-systems: Always wait for devices to show up. |
Date: |
Thu, 31 May 2018 12:13:16 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 69a05eab355f410e38ffd69007b9b8d740d92b59
Author: Ludovic Courtès <address@hidden>
Date: Thu May 31 16:52:01 2018 +0200
file-systems: Always wait for devices to show up.
Previously, 'canonicalize-device-spec' would wait for devices when they
were specified as a label or UUID, but would not wait when the user
passed a "/dev" file name directly. This could cause problems when
the /dev node takes a while to show up.
* gnu/build/file-systems.scm (canonicalize-device-spec): Add 'resolve'
call in the 'string?' case.
---
gnu/build/file-systems.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/build/file-systems.scm b/gnu/build/file-systems.scm
index 3dd7358..3f97afe 100644
--- a/gnu/build/file-systems.scm
+++ b/gnu/build/file-systems.scm
@@ -499,8 +499,8 @@ were found."
(match spec
((? string?)
- ;; Nothing to do.
- spec)
+ ;; Nothing to do, but wait until SPEC shows up.
+ (resolve identity spec identity))
((? file-system-label?)
;; Resolve the label.
(resolve find-partition-by-label
- branch master updated (404e5c7 -> 555ab08), Ludovic Courtès, 2018/05/31
- 01/08: self: Reduce the set of dependencies., Ludovic Courtès, 2018/05/31
- 04/08: records: Make a couple of procedures available at expansion time., Ludovic Courtès, 2018/05/31
- 05/08: gnu: bear: Fix python path., Ludovic Courtès, 2018/05/31
- 02/08: file-systems: Always wait for devices to show up.,
Ludovic Courtès <=
- 03/08: system: 'read-boot-parameters' provides a more meaningful warning., Ludovic Courtès, 2018/05/31
- 06/08: gnu: Add python-bigfloat., Ludovic Courtès, 2018/05/31
- 07/08: gnu: Add emacs-org-caldav., Ludovic Courtès, 2018/05/31
- 08/08: gnu: Add emacs-zotxt., Ludovic Courtès, 2018/05/31