[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/06: system: Rename previous-grub-entries to profile-grub-entries.
From: |
Ludovic Courtès |
Subject: |
03/06: system: Rename previous-grub-entries to profile-grub-entries. |
Date: |
Sun, 6 Nov 2016 17:13:57 +0000 (UTC) |
civodul pushed a commit to branch master
in repository guix.
commit 45e39eee21f958a6a1445bef46a39cbe4b298cd2
Author: Chris Marusich <address@hidden>
Date: Tue Nov 1 22:48:12 2016 -0700
system: Rename previous-grub-entries to profile-grub-entries.
* guix/scripts/system.scm (previous-grub-entries, profile-grub-entries):
Rename previous-grub-entries to profile-grub-entries to indicate that it is
stateful and returns the entries for all profile generations, not just the
previous ones. Update all callers.
Signed-off-by: Ludovic Courtès <address@hidden>
---
guix/scripts/system.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/guix/scripts/system.scm b/guix/scripts/system.scm
index e548be6..eee4422 100644
--- a/guix/scripts/system.scm
+++ b/guix/scripts/system.scm
@@ -366,7 +366,7 @@ it atomically, and then run OS's activation script."
(date->string (time-utc->date time)
"~Y-~m-~d ~H:~M")))
-(define* (previous-grub-entries #:optional (profile %system-profile))
+(define* (profile-grub-entries #:optional (profile %system-profile))
"Return a list of 'menu-entry' for the generations of PROFILE."
(define (system->grub-entry system number time)
(unless-file-not-found
@@ -563,7 +563,7 @@ building anything."
(operating-system-grub.cfg os
(if (eq? 'init action)
'()
-
(previous-grub-entries)))))
+ (profile-grub-entries)))))
;; For 'init' and 'reconfigure', always build GRUB.CFG, even if
;; --no-grub is passed, because GRUB.CFG because we then use it as a GC
- branch master updated (f4dc22b -> 8074b33), Ludovic Courtès, 2016/11/06
- 01/06: system: Avoid using device paths in <menu-entry> device field., Ludovic Courtès, 2016/11/06
- 03/06: system: Rename previous-grub-entries to profile-grub-entries.,
Ludovic Courtès <=
- 04/06: system: Optionally limit the entries returned by profile-grub-entries., Ludovic Courtès, 2016/11/06
- 05/06: install: Extract procedure: install-grub-config., Ludovic Courtès, 2016/11/06
- 02/06: profiles: Extract a procedure for getting relative generation numbers., Ludovic Courtès, 2016/11/06
- 06/06: system: Add 'guix system' actions: switch-generation and roll-back., Ludovic Courtès, 2016/11/06