[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#26339: [PATCH v2 08/12] scripts: system: Remove unused variables.
From: |
Mathieu Othacehe |
Subject: |
bug#26339: [PATCH v2 08/12] scripts: system: Remove unused variables. |
Date: |
Mon, 17 Apr 2017 11:01:44 +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 c2212ed14..b1104eb9b 100644
--- a/guix/scripts/system.scm
+++ b/guix/scripts/system.scm
@@ -389,11 +389,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 v2 01/12] system: Pass <bootloader-parameter> to grub., (continued)
- bug#26339: [PATCH v2 01/12] system: Pass <bootloader-parameter> to grub., Mathieu Othacehe, 2017/04/17
- bug#26339: [PATCH v2 03/12] scripts: system: Rename --no-grub option to --no-bootloader., Mathieu Othacehe, 2017/04/17
- bug#26339: [PATCH v2 05/12] system: Add bootloader type., Mathieu Othacehe, 2017/04/17
- bug#26339: [PATCH v2 04/12] bootloader: Add install procedures and use them., Mathieu Othacehe, 2017/04/17
- bug#26339: [PATCH v2 02/12] system: Add extlinux support., Mathieu Othacehe, 2017/04/17
- bug#26339: [PATCH v2 07/12] bootloader: Add device and type to bootloader-configuration record., Mathieu Othacehe, 2017/04/17
- bug#26339: [PATCH v2 06/12] bootloader: Stop using grub module., Mathieu Othacehe, 2017/04/17
- bug#26339: [PATCH v2 09/12] scripts: system: Adapt "reconfigure" to new bootloader API., Mathieu Othacehe, 2017/04/17
- bug#26339: [PATCH v2 08/12] scripts: system: Remove unused variables.,
Mathieu Othacehe <=
- bug#26339: [PATCH v2 11/12] scripts: system: Adapt "switch-generation" to new bootloader API., Mathieu Othacehe, 2017/04/17
- bug#26339: [PATCH v2 12/12] scripts: system: Display bootloader device and type in "list-generations"., Mathieu Othacehe, 2017/04/17
- bug#26339: [PATCH v2 10/12] scripts: system: Adapt "init" to new bootloader API., Mathieu Othacehe, 2017/04/17
- bug#26339: [PATCH v2 10/12] scripts: system: Adapt "init" to new bootloader API., Mathieu Othacehe, 2017/04/23