rpms/initscripts/OLPC-3 olpc-initscripts.patch, NONE, 1.1 initscripts.spec, 1.174, 1.175

Dennis Gilmore (ausil) fedora-extras-commits at redhat.com
Fri May 16 04:30:17 UTC 2008


Author: ausil

Update of /cvs/pkgs/rpms/initscripts/OLPC-3
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10320

Modified Files:
	initscripts.spec 
Added Files:
	olpc-initscripts.patch 
Log Message:
add a olpc patch


olpc-initscripts.patch:

--- NEW FILE olpc-initscripts.patch ---
diff -Nur initscripts-8.76.2-orig/event.d/olpc-dm initscripts-8.76.2/event.d/olpc-dm
--- initscripts-8.76.2-orig/event.d/olpc-dm	1969-12-31 18:00:00.000000000 -0600
+++ initscripts-8.76.2/event.d/olpc-dm	2008-05-15 23:21:20.000000000 -0500
@@ -0,0 +1,12 @@
+# olpc-dm - start the olpc sugar environment
+#
+# Starts olpc sugar 
+
+start on stopped rc5
+
+stop on runlevel [!5]
+
+console output
+respawn
+respawn limit 10 120
+exec /usr/sbin/olpc-dm
diff -Nur initscripts-8.76.2-orig/event.d/prefdm initscripts-8.76.2/event.d/prefdm
--- initscripts-8.76.2-orig/event.d/prefdm	2008-05-15 11:19:26.000000000 -0500
+++ initscripts-8.76.2/event.d/prefdm	1969-12-31 18:00:00.000000000 -0600
@@ -1,12 +0,0 @@
-# prefdm - preferred display manager
-#
-# Starts gdm/xdm/etc by preference
-
-start on stopped rc5
-
-stop on runlevel [!5]
-
-console output
-respawn
-respawn limit 10 120
-exec /etc/X11/prefdm -nodaemon
diff -Nur initscripts-8.76.2-orig/event.d/tty3 initscripts-8.76.2/event.d/tty3
--- initscripts-8.76.2-orig/event.d/tty3	2008-05-15 11:19:26.000000000 -0500
+++ initscripts-8.76.2/event.d/tty3	1969-12-31 18:00:00.000000000 -0600
@@ -1,16 +0,0 @@
-# tty3 - getty
-#
-# This service maintains a getty on tty3 from the point the system is
-# started until it is shut down again.
-
-start on stopped rc2
-start on stopped rc3
-start on stopped rc4
-start on started prefdm
-
-stop on runlevel 0
-stop on runlevel 1
-stop on runlevel 6
-
-respawn
-exec /sbin/mingetty tty3
diff -Nur initscripts-8.76.2-orig/event.d/tty4 initscripts-8.76.2/event.d/tty4
--- initscripts-8.76.2-orig/event.d/tty4	2008-05-15 11:19:26.000000000 -0500
+++ initscripts-8.76.2/event.d/tty4	1969-12-31 18:00:00.000000000 -0600
@@ -1,16 +0,0 @@
-# tty4 - getty
-#
-# This service maintains a getty on tty4 from the point the system is
-# started until it is shut down again.
-
-start on stopped rc2
-start on stopped rc3
-start on stopped rc4
-start on started prefdm
-
-stop on runlevel 0
-stop on runlevel 1
-stop on runlevel 6
-
-respawn
-exec /sbin/mingetty tty4
diff -Nur initscripts-8.76.2-orig/event.d/tty5 initscripts-8.76.2/event.d/tty5
--- initscripts-8.76.2-orig/event.d/tty5	2008-05-15 11:19:26.000000000 -0500
+++ initscripts-8.76.2/event.d/tty5	1969-12-31 18:00:00.000000000 -0600
@@ -1,16 +0,0 @@
-# tty5 - getty
-#
-# This service maintains a getty on tty5 from the point the system is
-# started until it is shut down again.
-
-start on stopped rc2
-start on stopped rc3
-start on stopped rc4
-start on started prefdm
-
-stop on runlevel 0
-stop on runlevel 1
-stop on runlevel 6
-
-respawn
-exec /sbin/mingetty tty5
diff -Nur initscripts-8.76.2-orig/event.d/tty6 initscripts-8.76.2/event.d/tty6
--- initscripts-8.76.2-orig/event.d/tty6	2008-05-15 11:19:26.000000000 -0500
+++ initscripts-8.76.2/event.d/tty6	1969-12-31 18:00:00.000000000 -0600
@@ -1,16 +0,0 @@
-# tty6 - getty
-#
-# This service maintains a getty on tty6 from the point the system is
-# started until it is shut down again.
-
-start on stopped rc2
-start on stopped rc3
-start on stopped rc4
-start on started prefdm
-
-stop on runlevel 0
-stop on runlevel 1
-stop on runlevel 6
-
-respawn
-exec /sbin/mingetty tty6
diff -Nur initscripts-8.76.2-orig/event.d/ttyS0 initscripts-8.76.2/event.d/ttyS0
--- initscripts-8.76.2-orig/event.d/ttyS0	1969-12-31 18:00:00.000000000 -0600
+++ initscripts-8.76.2/event.d/ttyS0	2008-05-15 23:19:25.000000000 -0500
@@ -0,0 +1,16 @@
+# ttyS0 - getty
+#
+# This service maintains a getty on tty3 from the point the system is
+# started until it is shut down again.
+
+start on stopped rc2
+start on stopped rc3
+start on stopped rc4
+start on started prefdm
+
+stop on runlevel 0
+stop on runlevel 1
+stop on runlevel 6
+
+respawn
+exec /sbin/agetty -w -n ttyS0 115200 vt100


Index: initscripts.spec
===================================================================
RCS file: /cvs/pkgs/rpms/initscripts/OLPC-3/initscripts.spec,v
retrieving revision 1.174
retrieving revision 1.175
diff -u -r1.174 -r1.175
--- initscripts.spec	15 May 2008 16:23:16 -0000	1.174
+++ initscripts.spec	16 May 2008 04:29:31 -0000	1.175
@@ -6,8 +6,9 @@
 # ppp-watch is GPLv2+, everything else is GPLv2
 License: GPLv2 and GPLv2+
 Group: System Environment/Base
-Release: 1
+Release: 1.1%{?dist}
 Source: initscripts-%{version}.tar.bz2
+Patch0: olpc-initscripts.patch
 BuildRoot: /%{_tmppath}/%{name}-%{version}-%{release}-root
 Requires: mingetty, /bin/awk, /bin/sed, mktemp, e2fsprogs >= 1.15
 Requires: /sbin/sysctl, syslog
@@ -49,6 +50,7 @@
 
 %prep
 %setup -q
+%patch0 -p1 
 
 %build
 make
@@ -238,6 +240,9 @@
 %ghost %attr(0664,root,utmp) /var/run/utmp
 
 %changelog
+* Thu May 15 2008 Dennis Gilmore <dennis at ausil.us> - 8.76.2-1.1
+- apply patch for olpc
+
 * Thu May 15 2008 Bill Nottingham <notting at redhat.com> - 8.76.2-
 - Don't unmount sysfs in halt. (#446292)
 




More information about the fedora-extras-commits mailing list