Magellan Linux

Contents of /trunk/systemd/patches/systemd-199-magellan-configurable-getty.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2140 - (show annotations) (download)
Thu Mar 28 12:55:51 2013 UTC (11 years, 1 month ago) by niro
File size: 1418 byte(s)
-reworked getty patch for 199
1 diff -Naur systemd-199/conf.d/getty systemd-199-magellan/conf.d/getty
2 --- systemd-199/conf.d/getty 1970-01-01 00:00:00.000000000 +0000
3 +++ systemd-199-magellan/conf.d/getty 2013-03-28 15:10:14.372000000 +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-199/Makefile.am systemd-199-magellan/Makefile.am
16 --- systemd-199/Makefile.am 2013-03-26 14:42:11.789068480 +0000
17 +++ systemd-199-magellan/Makefile.am 2013-03-28 15:11:13.022000000 +0000
18 @@ -1850,6 +1850,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-199/units/getty@.service.m4 systemd-199-magellan/units/getty@.service.m4
30 --- systemd-199/units/getty@.service.m4 2013-01-07 21:50:49.083315575 +0000
31 +++ systemd-199-magellan/units/getty@.service.m4 2013-03-28 15:10:35.212000000 +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 38400 linux
39 +ExecStart=-/sbin/agetty --noclear %I $GETTY_SPEED $GETTY_TERM $GETTY_OPTS
40 Type=idle
41 Restart=always
42 RestartSec=0