[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
33/197: installer: Improve dependencies on the final task.
From: |
Danny Milosavljevic |
Subject: |
33/197: installer: Improve dependencies on the final task. |
Date: |
Mon, 3 Jul 2017 20:36:55 -0400 (EDT) |
dannym pushed a commit to branch wip-installer-2
in repository guix.
commit a92d62584fb9a0055723de9a1d0d6ffc464cd4fc
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
- 12/197: installer: Use call-with-temporary-output-file., (continued)
- 12/197: installer: Use call-with-temporary-output-file., Danny Milosavljevic, 2017/07/03
- 08/197: installer: Add IETF contraints for hostname in entry form., Danny Milosavljevic, 2017/07/03
- 06/197: installer: use ice-9 format everywhere., Danny Milosavljevic, 2017/07/03
- 11/197: installer: Change "interfaces" from a variable to a procedure., Danny Milosavljevic, 2017/07/03
- 16/197: installer: Add new procedure to get the list of volumes., Danny Milosavljevic, 2017/07/03
- 15/197: installer: Use %default-subsitute-urls instead of our own variable., Danny Milosavljevic, 2017/07/03
- 19/197: installer: Remove unused procedure., Danny Milosavljevic, 2017/07/03
- 18/197: installer: Handle the 'back' action in the filesystems task., Danny Milosavljevic, 2017/07/03
- 13/197: installer: Add alternate method of finding TZDIR., Danny Milosavljevic, 2017/07/03
- 31/197: installer: Make minumum-store-size variable global., Danny Milosavljevic, 2017/07/03
- 33/197: installer: Improve dependencies on the final task.,
Danny Milosavljevic <=
- 17/197: installer: Add completion predicate for disk task., Danny Milosavljevic, 2017/07/03
- 21/197: installer: Fix incorrect host in ping task., Danny Milosavljevic, 2017/07/03
- 20/197: installer: Return slurped lines in their correct order., Danny Milosavljevic, 2017/07/03
- 25/197: installer: Connect ethernet interfaces on selection., Danny Milosavljevic, 2017/07/03
- 03/197: installer: Remove obsolete procedures/variables, Danny Milosavljevic, 2017/07/03
- 10/197: installer: Perform a task's dependencies prior to the task itself., Danny Milosavljevic, 2017/07/03
- 22/197: installer: Make "interfaces" return an alist., Danny Milosavljevic, 2017/07/03
- 26/197: installer: Let the kernel know about (possibly) changed partitions., Danny Milosavljevic, 2017/07/03
- 27/197: installer: Deal with partition tables which are (partially) corrupt., Danny Milosavljevic, 2017/07/03
- 28/197: installer: Add a variable to represent the minimum recommended store size., Danny Milosavljevic, 2017/07/03