diff -Naur systemd-33/Makefile.am systemd-33-magellan/Makefile.am --- systemd-33/Makefile.am 2011-08-12 20:33:03.000000000 +0200 +++ systemd-33-magellan/Makefile.am 2011-08-12 20:33:18.000000000 +0200 @@ -1683,6 +1683,7 @@ $(DESTDIR)$(systemshutdowndir) \ $(DESTDIR)$(systemgeneratordir) \ $(DESTDIR)$(usergeneratordir) + if ENABLE_BINFMT $(MKDIR_P) -m 0755 \ $(DESTDIR)$(prefix)/lib/binfmt.d \ @@ -1927,6 +1928,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-33/Makefile.in systemd-33-magellan/Makefile.in --- systemd-33/Makefile.in 2011-08-03 04:20:25.000000000 +0200 +++ systemd-33-magellan/Makefile.in 2011-08-12 20:33:18.000000000 +0200 @@ -7777,6 +7777,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-33/src/getty.confd systemd-33-magellan/src/getty.confd --- systemd-33/src/getty.confd 1970-01-01 01:00:00.000000000 +0100 +++ systemd-33-magellan/src/getty.confd 2011-08-12 20:33:18.000000000 +0200 @@ -0,0 +1,10 @@ +# Getty configuration file + +# Getty exec which get spawns on the TTYs +GETTY_EXEC="/sbin/agetty" + +# Default getty speed +GETTY_SPEED="38400" + +# Getty options like --autologin etc +GETTY_OPTS="" diff -Naur systemd-33/units/getty@.service.m4 systemd-33-magellan/units/getty@.service.m4 --- systemd-33/units/getty@.service.m4 2011-06-29 22:24:44.000000000 +0200 +++ systemd-33-magellan/units/getty@.service.m4 2011-08-12 20:34:01.000000000 +0200 @@ -31,8 +31,15 @@ Before=getty.target [Service] +m4_ifdef(`TARGET_MAGELLAN', +Environmentfile=-/etc/conf.d/getty +)m4_dnl Environment=TERM=linux +m4_ifdef(`TARGET_MAGELLAN', +ExecStart=-${GETTY_EXEC} %I ${GETTY_SPEED} ${GETTY_OPTS}, ExecStart=-/sbin/agetty %I 38400 +)m4_dnl + Restart=always RestartSec=0 UtmpIdentifier=%I