[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
37/80: installer: Improve dependencies on the final task.
From: |
John Darrington |
Subject: |
37/80: installer: Improve dependencies on the final task. |
Date: |
Tue, 3 Jan 2017 15:49:43 +0000 (UTC) |
jmd pushed a commit to branch wip-installer
in repository guix.
commit 1bc42815c97265e5585a257d88a434c03d02cffa
Author: John Darrington <address@hidden>
Date: Mon Dec 26 10:50:45 2016 +0100
installer: Improve dependencies on the final task.
* gnu/system/installer/new.scm (main-options) [install]: set 'generate as
dependency. [generate]: Define better completion predicate.
---
gnu/system/installer/new.scm | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/gnu/system/installer/new.scm b/gnu/system/installer/new.scm
index 67f41fb..97cb850 100644
--- a/gnu/system/installer/new.scm
+++ b/gnu/system/installer/new.scm
@@ -113,7 +113,12 @@
(generate . , (make-task generate-menu-title
'(filesystems timezone hostname)
- (lambda () #f)
+ (lambda ()
+ (let ((filename
+ (port-filename
%temporary-configuration-file-port)))
+ (and (file-exists? filename)
+ (positive? (stat:size (stat
filename))))))
+
(lambda (page)
(make-configure-page
page
@@ -121,7 +126,7 @@
(install . ,(make-task installation-menu-title
;; '(generate network)
- '(filesystems)
+ '(generate)
(lambda () #f)
(lambda (page)
(make-install-page
- 17/80: installer: Add new procedure to get the list of volumes., (continued)
- 17/80: installer: Add new procedure to get the list of volumes., John Darrington, 2017/01/03
- 19/80: installer: Handle the 'back' action in the filesystems task., John Darrington, 2017/01/03
- 23/80: installer: Fix incorrect host in ping task., John Darrington, 2017/01/03
- 25/80: installer: Use a cleaner way of generating the lspci information., John Darrington, 2017/01/03
- 24/80: installer: Make "interfaces" return an alist., John Darrington, 2017/01/03
- 27/80: installer: Connect ethernet interfaces on selection., John Darrington, 2017/01/03
- 28/80: installer: Let the kernel know about (possibly) changed partitions., John Darrington, 2017/01/03
- 49/80: installer: Wrap installer in (catch #t ...), John Darrington, 2017/01/03
- 09/80: installer: Use a record instead of a list to contain tasks., John Darrington, 2017/01/03
- 29/80: installer: Deal with partition tables which are (partially) corrupt., John Darrington, 2017/01/03
- 37/80: installer: Improve dependencies on the final task.,
John Darrington <=
- 31/80: gnu: Add service to start the installer in installation-os., John Darrington, 2017/01/03
- 36/80: installer: Remove ad-hoc completed predicate and use standard one., John Darrington, 2017/01/03
- 35/80: installer: Make minumum-store-size variable global., John Darrington, 2017/01/03
- 34/80: installer: Add path to mount/umount commands in installer service., John Darrington, 2017/01/03
- 58/80: installer: Allow users to remove mount points during configuration., John Darrington, 2017/01/03
- 11/80: installer: Change "interfaces" from a variable to a procedure., John Darrington, 2017/01/03
- 14/80: installer: Add alternate method of finding TZDIR., John Darrington, 2017/01/03
- 13/80: installer: Use call-with-temporary-output-file., John Darrington, 2017/01/03
- 22/80: installer: Return slurped lines in their correct order., John Darrington, 2017/01/03
- 16/80: installer: Use %default-subsitute-urls instead of our own variable., John Darrington, 2017/01/03