rpms/initscripts/OLPC-3 olpc-autologin.patch, NONE, 1.1 initscripts.spec, 1.177, 1.178
Dennis Gilmore (ausil)
fedora-extras-commits at redhat.com
Fri Jun 13 19:47:46 UTC 2008
Author: ausil
Update of /cvs/pkgs/rpms/initscripts/OLPC-3
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24446
Modified Files:
initscripts.spec
Added Files:
olpc-autologin.patch
Log Message:
add patch to autologin on XO
olpc-autologin.patch:
--- NEW FILE olpc-autologin.patch ---
diff -NurP a/event.d/tty1 b/event.d/tty1
--- a/event.d/tty1 2008-05-15 12:19:26.000000000 -0400
+++ b/event.d/tty1 2008-06-10 23:17:02.000000000 -0400
@@ -13,4 +13,4 @@
stop on runlevel 6
respawn
-exec /sbin/mingetty tty1
+exec /sbin/mingetty --loginpause --autologin root --noclear tty1
diff -NurP a/event.d/tty2 b/event.d/tty2
--- a/event.d/tty2 2008-05-15 12:19:26.000000000 -0400
+++ b/event.d/tty2 2008-06-10 23:17:18.000000000 -0400
@@ -13,4 +13,4 @@
stop on runlevel 6
respawn
-exec /sbin/mingetty tty2
+exec /sbin/mingetty --loginpause --autologin root --noclear tty2
diff -NurP a/event.d/ttyS0 b/event.d/ttyS0
--- a/event.d/ttyS0 2008-06-10 23:15:58.000000000 -0400
+++ b/event.d/ttyS0 2008-06-10 23:23:57.000000000 -0400
@@ -13,4 +13,4 @@
stop on runlevel 6
respawn
-exec /sbin/agetty -w -n ttyS0 115200 vt100
+exec /sbin/agetty -l /bin/bash -w -n ttyS0 115200 vt100
Index: initscripts.spec
===================================================================
RCS file: /cvs/pkgs/rpms/initscripts/OLPC-3/initscripts.spec,v
retrieving revision 1.177
retrieving revision 1.178
diff -u -r1.177 -r1.178
--- initscripts.spec 6 Jun 2008 04:09:48 -0000 1.177
+++ initscripts.spec 13 Jun 2008 19:46:54 -0000 1.178
@@ -6,9 +6,10 @@
# ppp-watch is GPLv2+, everything else is GPLv2
License: GPLv2 and GPLv2+
Group: System Environment/Base
-Release: 1.3%{?dist}
+Release: 1%{?dist}.4
Source: initscripts-%{version}.tar.bz2
Patch0: olpc-initscripts.patch
+Patch1: olpc-autologin.patch
BuildRoot: /%{_tmppath}/%{name}-%{version}-%{release}-root
Requires: mingetty, /bin/awk, /bin/sed, mktemp, e2fsprogs >= 1.15
Requires: /sbin/sysctl, syslog
@@ -51,6 +52,7 @@
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
make
@@ -240,6 +242,9 @@
%ghost %attr(0664,root,utmp) /var/run/utmp
%changelog
+* Fri Jun 13 2008 Dennis Gilmore <dennis at ausil.us> - 8.76.2-1.4
+- add patch to autologin
+
* Thu Jun 05 2008 Dennis Gilmore <dennis at ausil.us> - 8.76.2-1.3
- update olpc patch
More information about the scm-commits
mailing list