[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#73927] [PATCH v3 12/17] installer: Fix file-name typos.
From: |
Janneke Nieuwenhuizen |
Subject: |
[bug#73927] [PATCH v3 12/17] installer: Fix file-name typos. |
Date: |
Fri, 25 Oct 2024 11:40:04 +0200 |
* gnu/installer/newt/page.scm (run-dump-page): Typo file-name.
* gnu/installer/utils.scm (open-new-log-port): Likewise.
Change-Id: I837991a0ee5054b3afa8328205e23ac6f9fbae8d
---
gnu/installer/newt/page.scm | 7 ++++---
gnu/installer/utils.scm | 7 ++++---
2 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/gnu/installer/newt/page.scm b/gnu/installer/newt/page.scm
index e1623a51fd..64a2916826 100644
--- a/gnu/installer/newt/page.scm
+++ b/gnu/installer/newt/page.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2018 Mathieu Othacehe <m.othacehe@gmail.com>
;;; Copyright © 2019, 2020, 2022 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -950,10 +951,10 @@ (define prompt-tag (make-prompt-tag))
('exit-component
(let ((result
(map (match-lambda
- ((edit checkbox filename)
+ ((edit checkbox file-name)
(if (components=? edit argument)
- (abort-to-prompt prompt-tag filename)
- (cons filename (eq? #\x
+ (abort-to-prompt prompt-tag file-name)
+ (cons file-name (eq? #\x
(checkbox-value
checkbox))))))
components)))
(destroy-form-and-pop form)
diff --git a/gnu/installer/utils.scm b/gnu/installer/utils.scm
index 6838410166..c722e9af8f 100644
--- a/gnu/installer/utils.scm
+++ b/gnu/installer/utils.scm
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2018, 2020 Mathieu Othacehe <m.othacehe@gmail.com>
;;; Copyright © 2019, 2020, 2022 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -283,11 +284,11 @@ (define-syntax syslog
(define (open-new-log-port)
(define now (localtime (time-second (current-time))))
- (define filename
+ (define file-name
(format #f "/tmp/installer.~a.log"
(strftime "%F.%T" now)))
- (open filename (logior O_RDWR
- O_CREAT)))
+ (open file-name (logior O_RDWR
+ O_CREAT)))
(define installer-log-port
(let ((port #f))
--
2.46.0
- [bug#73927] [PATCH v3 08/17] maint: Add installer dependencies to the manifest., (continued)
- [bug#73927] [PATCH v3 08/17] maint: Add installer dependencies to the manifest., Janneke Nieuwenhuizen, 2024/10/25
- [bug#73927] [PATCH v3 11/17] installer: Use "partitioning-page" consistently., Janneke Nieuwenhuizen, 2024/10/25
- [bug#73927] [PATCH v3 14/17] installer: Add dry-run?, Janneke Nieuwenhuizen, 2024/10/25
- [bug#73927] [PATCH v3 13/17] installer: Use `%' for parameter %run-command-in-installer., Janneke Nieuwenhuizen, 2024/10/25
- [bug#73927] [PATCH v3 16/17] installer: Add static-networking template., Janneke Nieuwenhuizen, 2024/10/25
- [bug#73927] [PATCH v3 15/17] installer: Add "Kernel" page to select the Hurd., Janneke Nieuwenhuizen, 2024/10/25
- [bug#73927] [PATCH v3 17/17] installer: Support dry-run from Guile via store., Janneke Nieuwenhuizen, 2024/10/25
- [bug#73927] [PATCH v3 06/17] gnu: hurd: Support second boot., Janneke Nieuwenhuizen, 2024/10/25
- [bug#73927] [PATCH v3 09/17] installer: Remove unused (newt) imports., Janneke Nieuwenhuizen, 2024/10/25
- [bug#73927] [PATCH v3 10/17] installer: Align comments., Janneke Nieuwenhuizen, 2024/10/25
- [bug#73927] [PATCH v3 12/17] installer: Fix file-name typos.,
Janneke Nieuwenhuizen <=
- [bug#73927] [PATCH v4 00/18] Installer support for (cross) installing the Hurd., Janneke Nieuwenhuizen, 2024/10/30
- [bug#73927] [PATCH v4 01/18] gnu: guile-fibers: Fix cross-build for the Hurd., Janneke Nieuwenhuizen, 2024/10/30
- [bug#73927] [PATCH v4 04/18] bootloader: grub: Remove hardcoded partition number for the Hurd., Janneke Nieuwenhuizen, 2024/10/30
- [bug#73927] [PATCH v4 05/18] system: hurd: Remove qemu networking from %base-services/hurd., Janneke Nieuwenhuizen, 2024/10/30
- [bug#73927] [PATCH v4 07/18] gnu: hurd: Support second boot., Janneke Nieuwenhuizen, 2024/10/30
- [bug#73927] [PATCH v4 06/18] system: hurd: Add swap-services to hurd-default-essential-services., Janneke Nieuwenhuizen, 2024/10/30
- [bug#73927] [PATCH v4 13/18] installer: Fix file-name typos., Janneke Nieuwenhuizen, 2024/10/30
- [bug#73927] [PATCH v4 03/18] guix system: When installing the Hurd, create essential devices., Janneke Nieuwenhuizen, 2024/10/30
- [bug#73927] [PATCH v4 12/18] installer: Use "partitioning-page" consistently., Janneke Nieuwenhuizen, 2024/10/30
- [bug#73927] [PATCH v4 11/18] installer: Align comments., Janneke Nieuwenhuizen, 2024/10/30