[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#72457] [PATCH v5 03/15] guix: scripts: Remove unused code.
From: |
Lilah Tascheter |
Subject: |
[bug#72457] [PATCH v5 03/15] guix: scripts: Remove unused code. |
Date: |
Tue, 6 Aug 2024 19:11:16 -0500 |
* guix/scripts/system.scm (bootloader-installer-script): Delete.
Change-Id: Ic1e0a523c814e4f1bf44b2721f5658f00066b0ab
---
guix/scripts/system.scm | 22 ----------------------
1 file changed, 22 deletions(-)
diff --git a/guix/scripts/system.scm b/guix/scripts/system.scm
index bb7b5d37bf..344bb74151 100644
--- a/guix/scripts/system.scm
+++ b/guix/scripts/system.scm
@@ -731,28 +731,6 @@ (define (maybe-suggest-running-guix-pull)
(warning (G_ "Consider running 'guix pull' before 'reconfigure'.~%"))
(warning (G_ "Failing to do that may downgrade your system!~%"))))
-(define (bootloader-installer-script installer
- bootloader device target)
- "Return a file calling INSTALLER gexp with given BOOTLOADER, DEVICE
-and TARGET arguments."
- (scheme-file "bootloader-installer"
- (with-imported-modules '((gnu build bootloader)
- (guix build utils))
- #~(begin
- (use-modules (gnu build bootloader)
- (guix build utils)
- (ice-9 binary-ports)
- (srfi srfi-34)
- (srfi srfi-35))
-
- (guard (c ((message-condition? c) ;XXX: i18n
- (format (current-error-port) "error: ~a~%"
- (condition-message c))
- (exit 1)))
- (#$installer #$bootloader #$device #$target)
- (info (G_ "bootloader successfully installed on '~a'~%")
- #$device))))))
-
(define (local-eval exp)
"Evaluate EXP, a G-Expression, in-place."
(mlet* %store-monad ((lowered (lower-gexp exp))
--
2.45.2
- [bug#72457] [PATCH v5 00/15] Rewrite bootloader subsystem., (continued)
- [bug#72457] [PATCH v5 00/15] Rewrite bootloader subsystem., Lilah Tascheter, 2024/08/06
- [bug#72457] [PATCH v5 09/15] gnu: packages: Add ukify., Lilah Tascheter, 2024/08/06
- [bug#72457] [PATCH v5 02/15] gnu: Add bootloader target infastructure., Lilah Tascheter, 2024/08/06
- [bug#72457] [PATCH v5 06/15] gnu: bootloader: Add raspberry pi bootloader., Lilah Tascheter, 2024/08/06
- [bug#72457] [PATCH v5 07/15] gnu: system: Fix bootloader crypto device recognition., Lilah Tascheter, 2024/08/06
- [bug#72457] [PATCH v5 05/15] gnu: system: Remove useless boot parameters., Lilah Tascheter, 2024/08/06
- [bug#72457] [PATCH v5 08/15] gnu: packages: Add pesign., Lilah Tascheter, 2024/08/06
- [bug#72457] [PATCH v5 01/15] guix: scripts: Rewrite reinstall-bootloader to use provenance data., Lilah Tascheter, 2024/08/06
- [bug#72457] [PATCH v5 10/15] gnu: packages: Add systemd-stub., Lilah Tascheter, 2024/08/06
- [bug#72457] [PATCH v5 04/15] gnu: Core bootloader changes., Lilah Tascheter, 2024/08/06
- [bug#72457] [PATCH v5 03/15] guix: scripts: Remove unused code.,
Lilah Tascheter <=
- [bug#72457] [PATCH v5 11/15] gnu: bootloaders: Add uki-efi-bootloader., Lilah Tascheter, 2024/08/06
- [bug#72457] [PATCH v5 15/15] teams: Add bootloading team., Lilah Tascheter, 2024/08/06
- [bug#72457] [PATCH v5 14/15] gnu: tests: Update tests to new targets system., Lilah Tascheter, 2024/08/06
- [bug#72457] [PATCH v5 12/15] gnu: system: Update examples., Lilah Tascheter, 2024/08/06
- [bug#72457] [PATCH v5 13/15] doc: Update bootloader documentation., Lilah Tascheter, 2024/08/06
- [bug#72457] [PATCH v5 00/15] Rewrite bootloader subsystem., Sergey Trofimov, 2024/08/07