[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/06: bootloader: Remove deprecated 'device' field.
From: |
guix-commits |
Subject: |
03/06: bootloader: Remove deprecated 'device' field. |
Date: |
Wed, 16 Jan 2019 08:07:46 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 5f7467f046c3c1648cdf6eb81b3ec041bfc1f9bb
Author: Ludovic Courtès <address@hidden>
Date: Wed Jan 16 13:42:34 2019 +0100
bootloader: Remove deprecated 'device' field.
The 'device' field had been deprecated in commit
045ebb3e58d74c75f39ce47380045d3cd00359c3 (August 2017).
* gnu/bootloader.scm (<bootloader-configuration>)[device]: Remove.
[target]: Change getter to 'bootstrap-configuration-target'.
(bootstrap-configuration-target): Remove.
---
gnu/bootloader.scm | 13 +------------
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/gnu/bootloader.scm b/gnu/bootloader.scm
index 4f2c71c..a32bf5e 100644
--- a/gnu/bootloader.scm
+++ b/gnu/bootloader.scm
@@ -105,9 +105,7 @@
bootloader-configuration make-bootloader-configuration
bootloader-configuration?
(bootloader bootloader-configuration-bootloader) ;
<bootloader>
- (device bootloader-configuration-device ;
string
- (default #f))
- (target %bootloader-configuration-target ;
string
+ (target bootloader-configuration-target ;
string
(default #f))
(menu-entries bootloader-configuration-menu-entries ;
list of <boot-parameters>
(default '()))
@@ -128,15 +126,6 @@
(additional-configuration
bootloader-configuration-additional-configuration ; record
(default #f)))
-(define (bootloader-configuration-target config)
- (or (%bootloader-configuration-target config)
- (let ((device (bootloader-configuration-device config)))
- (when device
- (warning
- (G_ "The 'device' field of bootloader configurations is
deprecated.~%"))
- (warning (G_ "Use 'target' instead.~%")))
- device)))
-
;;;
;;; Bootloaders.
- branch master updated (39ad752 -> a42bdd1), guix-commits, 2019/01/16
- 02/06: install: Avoid deprecated 'gpm-service' procedure., guix-commits, 2019/01/16
- 03/06: bootloader: Remove deprecated 'device' field.,
guix-commits <=
- 05/06: gnu: grub: Add dependency on console-setup., guix-commits, 2019/01/16
- 04/06: doc: Add missing parameter to guix system reconfigure, guix-commits, 2019/01/16
- 06/06: gnu: obs: Update to 22.0.3., guix-commits, 2019/01/16
- 01/06: services: avahi: Deprecate the 'avahi-service' procedure., guix-commits, 2019/01/16