diff -Naur systemd-34/Makefile.am systemd-34-magellan/Makefile.am --- systemd-34/Makefile.am 2011-08-25 17:02:19.000000000 +0200 +++ systemd-34-magellan/Makefile.am 2011-08-27 01:10:56.000000000 +0200 @@ -1734,6 +1734,7 @@ $(DESTDIR)$(systemshutdowndir) \ $(DESTDIR)$(systemgeneratordir) \ $(DESTDIR)$(usergeneratordir) + if ENABLE_BINFMT $(MKDIR_P) -m 0755 \ $(DESTDIR)$(prefix)/lib/binfmt.d \ @@ -1986,6 +1987,11 @@ $(LN_S) $(systemunitdir)/halt-local.service halt-local.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-34/Makefile.in systemd-34-magellan/Makefile.in --- systemd-34/Makefile.in 2011-08-25 17:02:52.000000000 +0200 +++ systemd-34-magellan/Makefile.in 2011-08-27 01:10:56.000000000 +0200 @@ -7835,6 +7835,9 @@ @TARGET_SUSE_TRUE@ rm -f halt-local.service && \ @TARGET_SUSE_TRUE@ $(LN_S) $(systemunitdir)/halt-local.service halt-local.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-34/src/getty.confd systemd-34-magellan/src/getty.confd --- systemd-34/src/getty.confd 1970-01-01 01:00:00.000000000 +0100 +++ systemd-34-magellan/src/getty.confd 2011-08-27 01:10:56.000000000 +0200 @@ -0,0 +1,7 @@ +# Getty configuration file + +# Default getty speed +GETTY_SPEED="38400" + +# Getty options like --autologin etc +GETTY_OPTS="" diff -Naur systemd-34/units/getty@.service.m4 systemd-34-magellan/units/getty@.service.m4 --- systemd-34/units/getty@.service.m4 2011-06-28 12:32:19.000000000 +0200 +++ systemd-34-magellan/units/getty@.service.m4 2011-08-27 01:11:28.000000000 +0200 @@ -31,8 +31,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