Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2037 - (hide annotations) (download)
Thu Jan 24 16:27:06 2013 UTC (11 years, 4 months ago) by niro
File size: 2163 byte(s)
-re-worked patch for 197
1 niro 2037 diff -Naur systemd-197/Makefile.am systemd-197-magellan/Makefile.am
2     --- systemd-197/Makefile.am 2013-01-08 01:37:15.391966148 +0000
3     +++ systemd-197-magellan/Makefile.am 2013-01-24 18:32:55.123966009 +0000
4     @@ -3990,6 +3990,8 @@
5     ( cd $(DESTDIR)$(sysconfdir)/xdg/systemd/ && \
6     rm -f user && \
7     $(LN_S) $(pkgsysconfdir)/user user )
8     + $(MKDIR_P) -m0755 $(DESTDIR)$(sysconfdir)/conf.d
9     + install -m0644 $(top_srcdir)/src/getty.confd $(DESTDIR)$(sysconfdir)/conf.d/getty
10     ( cd $(DESTDIR)$(systemunitdir)/sockets.target.wants && \
11     rm -f systemd-initctl.socket systemd-shutdownd.socket && \
12     $(LN_S) ../systemd-initctl.socket systemd-initctl.socket && \
13     diff -Naur systemd-197/Makefile.in systemd-197-magellan/Makefile.in
14     --- systemd-197/Makefile.in 2013-01-08 01:38:12.204181593 +0000
15     +++ systemd-197-magellan/Makefile.in 2013-01-24 18:37:29.560981392 +0000
16     @@ -11334,6 +11334,8 @@
17     $(DESTDIR)$(pkgsysconfdir)/user \
18     $(DESTDIR)$(dbussessionservicedir) \
19     $(DESTDIR)$(sysconfdir)/xdg/systemd
20     + $(MKDIR_P) -m0755 $(DESTDIR)$(sysconfdir)/conf.d
21     + install -m0644 $(top_srcdir)/src/getty.confd $(DESTDIR)$(sysconfdir)/conf.d/getty
22     ( cd $(DESTDIR)$(sysconfdir)/xdg/systemd/ && \
23     rm -f user && \
24     $(LN_S) $(pkgsysconfdir)/user user )
25     diff -Naur systemd-197/src/getty.confd systemd-197-magellan/src/getty.confd
26     --- systemd-197/src/getty.confd 1970-01-01 00:00:00.000000000 +0000
27     +++ systemd-197-magellan/src/getty.confd 2013-01-24 18:33:10.778966706 +0000
28     @@ -0,0 +1,7 @@
29     +# Getty configuration file
30     +
31     +# Default getty speed
32     +GETTY_SPEED="38400"
33     +
34     +# Getty options like --autologin etc
35     +GETTY_OPTS=""
36     diff -Naur systemd-197/units/getty@.service.m4 systemd-197-magellan/units/getty@.service.m4
37     --- systemd-197/units/getty@.service.m4 2013-01-07 21:50:49.083315575 +0000
38     +++ systemd-197-magellan/units/getty@.service.m4 2013-01-24 18:39:38.832989285 +0000
39     @@ -26,8 +26,9 @@
40     ConditionPathExists=/dev/tty0
41    
42     [Service]
43     +EnvironmentFile=-/etc/conf.d/getty
44     # the VT is cleared by TTYVTDisallocate
45     -ExecStart=-/sbin/agetty --noclear %I 38400 linux
46     +ExecStart=-/sbin/agetty --noclear %I $GETTY_SPEED linux $GETTY_OPTS
47     Type=idle
48     Restart=always
49     RestartSec=0