[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#26339: [PATCH 13/18] scripts: system: Remove unused variables.
From: |
Mathieu Othacehe |
Subject: |
bug#26339: [PATCH 13/18] scripts: system: Remove unused variables. |
Date: |
Sun, 2 Apr 2017 15:52:37 +0200 |
* guix/scripts/system.scm (profile-bootloader-entries): Remove root and
root-device unused variables.
---
guix/scripts/system.scm | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/guix/scripts/system.scm b/guix/scripts/system.scm
index 2ad210207..d3118266e 100644
--- a/guix/scripts/system.scm
+++ b/guix/scripts/system.scm
@@ -371,11 +371,7 @@ NUMBERS, which is a list of generation numbers."
(unless-file-not-found
(let* ((file (string-append system "/parameters"))
(params (call-with-input-file file
- read-boot-parameters))
- (root (boot-parameters-root-device params))
- (root-device (if (bytevector? root)
- (uuid->string root)
- root)))
+ read-boot-parameters)))
(boot-parameters
(inherit params)
(label (string-append (boot-parameters-label params) " (#"
--
2.12.2
- bug#26339: [PATCH 04/18] bootloader: Add install procedures and use them., (continued)
bug#26339: [PATCH 09/18] scripts: system: Move save-load-path-excursion and save-environment-excursion macros to the top., Mathieu Othacehe, 2017/04/02
- bug#26339: [PATCH 09/18] scripts: system: Move save-load-path-excursion and save-environment-excursion macros to the top., Danny Milosavljevic, 2017/04/15
- bug#26339: [PATCH 09/18] scripts: system: Move save-load-path-excursion and save-environment-excursion macros to the top., Mathieu Othacehe, 2017/04/15
- bug#26339: [PATCH 09/18] scripts: system: Move save-load-path-excursion and save-environment-excursion macros to the top., Danny Milosavljevic, 2017/04/15
- bug#26339: [PATCH 09/18] scripts: system: Move save-load-path-excursion and save-environment-excursion macros to the top., Mathieu Othacehe, 2017/04/15
- bug#26339: [PATCH 09/18] scripts: system: Move save-load-path-excursion and save-environment-excursion macros to the top., Danny Milosavljevic, 2017/04/15
bug#26339: [PATCH 13/18] scripts: system: Remove unused variables.,
Mathieu Othacehe <=
bug#26339: [PATCH 14/18] scripts: system: Rename grub? and install-grub? to bootloader? and install-bootloader?., Mathieu Othacehe, 2017/04/02
bug#26339: [PATCH 15/18] scripts: system: Adapt "reconfigure" to new bootloader API., Mathieu Othacehe, 2017/04/02
bug#26339: [PATCH 16/18] scripts: system: Adapt "init" to new bootloader API., Mathieu Othacehe, 2017/04/02
bug#26339: [PATCH 18/18] scripts: system: Display bootloader device and type in "list-generations"., Mathieu Othacehe, 2017/04/02
bug#26339: [PATCH 11/18] bootloader: Add device and type to bootloader-configuration record., Mathieu Othacehe, 2017/04/02
bug#26339: [PATCH 17/18] scripts: system: Adapt "switch-generation" to new bootloader API., Mathieu Othacehe, 2017/04/02