diff -Naur systemd-38/Makefile.am systemd-38-magellan/Makefile.am --- systemd-38/Makefile.am 2012-01-11 04:01:36.734404653 +0100 +++ systemd-38-magellan/Makefile.am 2012-01-20 00:46:35.282982932 +0100 @@ -2420,6 +2420,11 @@ $(LN_S) $(systemunitdir)/display-manager.service display-manager.service ) endif +if TARGET_MAGELLAN + $(MKDIR_P) -m 0755 $(DESTDIR)$(sysconfdir)/conf.d + $(INSTALL_DATA) src/getty.confd $(DESTDIR)$(sysconfdir)/conf.d/getty +endif + if HAVE_SYSV_COMPAT ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \ rm -f var-lock.mount && \ diff -Naur systemd-38/Makefile.in systemd-38-magellan/Makefile.in --- systemd-38/Makefile.in 2012-01-11 04:01:55.885431817 +0100 +++ systemd-38-magellan/Makefile.in 2012-01-20 00:48:09.276982933 +0100 @@ -8477,6 +8477,9 @@ @TARGET_MAGEIA_TRUE@ rm -f display-manager.service && \ @TARGET_MAGEIA_TRUE@ $(LN_S) $(systemunitdir)/display-manager.service display-manager.service ) +@TARGET_MAGELLAN_TRUE@ $(MKDIR_P) -m 0755 $(DESTDIR)$(sysconfdir)/conf.d +@TARGET_MAGELLAN_TRUE@ $(INSTALL_DATA) src/getty.confd $(DESTDIR)$(sysconfdir)/conf.d/getty + @HAVE_SYSV_COMPAT_TRUE@ ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \ @HAVE_SYSV_COMPAT_TRUE@ rm -f var-lock.mount && \ @HAVE_SYSV_COMPAT_TRUE@ $(LN_S) ../var-lock.mount var-lock.mount ) diff -Naur systemd-38/src/getty.confd systemd-38-magellan/src/getty.confd --- systemd-38/src/getty.confd 1970-01-01 01:00:00.000000000 +0100 +++ systemd-38-magellan/src/getty.confd 2012-01-20 00:49:14.780982933 +0100 @@ -0,0 +1,7 @@ +# Getty configuration file + +# Default getty speed +GETTY_SPEED="38400" + +# Getty options like --autologin etc +GETTY_OPTS="" diff -Naur systemd-38/units/getty@.service.m4 systemd-38-magellan/units/getty@.service.m4 --- systemd-38/units/getty@.service.m4 2011-12-30 22:27:36.556529032 +0100 +++ systemd-38-magellan/units/getty@.service.m4 2012-01-20 00:52:57.891982933 +0100 @@ -34,8 +34,16 @@ Before=getty.target [Service] +m4_ifdef(`TARGET_MAGELLAN', +EnvironmentFile=-/etc/conf.d/getty +)m4_dnl Environment=TERM=linux -ExecStart=-/sbin/agetty %I 38400 +m4_ifdef(`TARGET_MAGELLAN', +``ExecStart=-/sbin/agetty %I $GETTY_SPEED $GETTY_OPTS +'', +``ExecStart=-/sbin/agetty %I 38400'' +)m4_dnl + Restart=always RestartSec=0 UtmpIdentifier=%I