Magellan Linux

Annotation of /trunk/systemd/patches/systemd-210-magellan-configurable-getty.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2414 - (hide annotations) (download)
Tue Mar 4 14:12:51 2014 UTC (10 years, 3 months ago) by niro
File size: 1412 byte(s)
-reworked for 210
1 niro 2414 diff -Naur systemd-210/conf.d/getty systemd-210-magellan/conf.d/getty
2     --- systemd-210/conf.d/getty 1970-01-01 00:00:00.000000000 +0000
3     +++ systemd-210-magellan/conf.d/getty 2014-03-04 16:26:40.863000000 +0000
4     @@ -0,0 +1,10 @@
5     +# Getty configuration file
6     +
7     +# Default getty speed
8     +GETTY_SPEED="38400"
9     +
10     +# Getty options like --autologin etc
11     +GETTY_OPTS=""
12     +
13     +# Getty default terminal emulation mode
14     +GETTY_TERM="linux"
15     diff -Naur systemd-210/Makefile.am systemd-210-magellan/Makefile.am
16     --- systemd-210/Makefile.am 2014-02-24 18:23:35.517982516 +0000
17     +++ systemd-210-magellan/Makefile.am 2014-03-04 16:27:18.259000000 +0000
18     @@ -2547,6 +2547,10 @@
19     dist_udevconf_DATA = \
20     src/udev/udev.conf
21    
22     +gettyconfddir = $(sysconfdir)/conf.d
23     +dist_gettyconfd_DATA = \
24     + conf.d/getty
25     +
26     sharepkgconfigdir = $(datadir)/pkgconfig
27     sharepkgconfig_DATA = \
28     src/udev/udev.pc
29     diff -Naur systemd-210/units/getty@.service.m4 systemd-210-magellan/units/getty@.service.m4
30     --- systemd-210/units/getty@.service.m4 2013-12-18 17:21:28.159729831 +0000
31     +++ systemd-210-magellan/units/getty@.service.m4 2014-03-04 16:31:12.406000000 +0000
32     @@ -26,8 +26,9 @@
33     ConditionPathExists=/dev/tty0
34    
35     [Service]
36     +EnvironmentFile=-/etc/conf.d/getty
37     # the VT is cleared by TTYVTDisallocate
38     -ExecStart=-/sbin/agetty --noclear %I $TERM
39     +ExecStart=-/sbin/agetty --noclear %I $GETTY_SPEED $GETTY_TERM $GETTY_OPTS
40     Type=idle
41     Restart=always
42     RestartSec=0