Patchwork gnu: update installation-os for new mingetty-configuration.

login
register
mail settings
Submitter Jan Nieuwenhuizen
Date Sept. 11, 2016, 4:47 p.m.
Message ID <87r38qtmcs.fsf@gnu.org>
Download mbox | patch
Permalink /patch/15509/
State New
Headers show

Comments

Jan Nieuwenhuizen - Sept. 11, 2016, 4:47 p.m.
Hi!

It seems that commit

    Add login-service (317d3b474ab5e0e62509dd1b5b2fbbf2e27c95fe)

break installation-os on master.  Fix attached.

Greetings,
Jan
Leo Famulari - Sept. 11, 2016, 5:23 p.m.
On Sun, Sep 11, 2016 at 06:47:15PM +0200, Jan Nieuwenhuizen wrote:
> Hi!
> 
> It seems that commit
> 
>     Add login-service (317d3b474ab5e0e62509dd1b5b2fbbf2e27c95fe)
> 
> break installation-os on master.  Fix attached.

The breakage was fixed in a slightly different way with
2932ab9ca44cc6a5fac6355e228cc691ef29a1a2 (install: Use login-service.).

Patch

From 8c4e24fd682cd7ebcd141ca62e9cb3f9dc8d4f82 Mon Sep 17 00:00:00 2001
From: Jan Nieuwenhuizen <janneke@gnu.org>
Date: Sun, 11 Sep 2016 18:34:47 +0200
Subject: [PATCH] gnu: update installation-os for new mingetty-configuration.

* gnu/system/install.scm (installation-services): Remove motd field from
mingetty-configuration calls.  Fixes installation-os.
---
 gnu/system/install.scm | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gnu/system/install.scm b/gnu/system/install.scm
index 5acfa2c..1962b3f 100644
--- a/gnu/system/install.scm
+++ b/gnu/system/install.scm
@@ -268,13 +268,11 @@  You have been warned.  Thanks for being so brave.
 ")))
     (define (normal-tty tty)
       (mingetty-service (mingetty-configuration (tty tty)
-                                                (motd motd)
                                                 (auto-login "root")
                                                 (login-pause? #t))))
 
     (list (mingetty-service (mingetty-configuration
                              (tty "tty1")
-                             (motd motd)
                              (auto-login "root")))
 
           ;; Documentation.  The manual is in UTF-8, but
@@ -282,7 +280,6 @@  You have been warned.  Thanks for being so brave.
           ;; with all the useful glyphs like em dash and quotation marks.
           (mingetty-service (mingetty-configuration
                              (tty "tty2")
-                             (motd motd)
                              (auto-login "guest")
                              (login-program (log-to-info))))
 
-- 
2.10.0