Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2960 - (hide annotations) (download)
Thu Jul 27 09:07:19 2017 UTC (6 years, 10 months ago) by niro
File size: 1584 byte(s)
-rediffed for 234
1 niro 2960 diff -Naur systemd-234/conf.d/getty systemd-234-magellan/conf.d/getty
2     --- systemd-234/conf.d/getty 1970-01-01 01:00:00.000000000 +0100
3     +++ systemd-234-magellan/conf.d/getty 2017-07-27 11:03:39.984494894 +0200
4     @@ -0,0 +1,11 @@
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     +
16     diff -Naur systemd-234/Makefile.am systemd-234-magellan/Makefile.am
17     --- systemd-234/Makefile.am 2017-07-12 16:01:10.000000000 +0200
18     +++ systemd-234-magellan/Makefile.am 2017-07-27 11:04:43.685609802 +0200
19     @@ -3901,6 +3901,10 @@
20     dist_udevconf_DATA = \
21     src/udev/udev.conf
22    
23     +gettyconfddir = $(sysconfdir)/conf.d
24     +dist_gettyconfd_DATA = \
25     + conf.d/getty
26     +
27     pkgconfigdata_DATA += \
28     src/udev/udev.pc
29    
30     diff -Naur systemd-234/units/getty@.service.m4 systemd-234-magellan/units/getty@.service.m4
31     --- systemd-234/units/getty@.service.m4 2017-07-12 16:01:10.000000000 +0200
32     +++ systemd-234-magellan/units/getty@.service.m4 2017-07-27 11:06:28.906186883 +0200
33     @@ -32,11 +32,12 @@
34     ConditionPathExists=/dev/tty0
35    
36     [Service]
37     +EnvironmentFile=-/etc/conf.d/getty
38     # the VT is cleared by TTYVTDisallocate
39     # The '-o' option value tells agetty to replace 'login' arguments with an
40     # option to preserve environment (-p), followed by '--' for safety, and then
41     # the entered username.
42     -ExecStart=-/sbin/agetty -o '-p -- \\u' --noclear %I $TERM
43     +ExecStart=-/sbin/agetty -o '-p -- \\u' --noclear %I $GETTY_SPEED $GETTY_TERM $GETTY_OPTS
44     Type=idle
45     Restart=always
46     RestartSec=0