[oe-commits] org.oe.oz354x oz-bootsplash: add chvt to runlevel 5 so bootstrap users will not end with bootsplash but with login prompt after booting

hrw commit openembedded-commits at lists.openembedded.org
Thu Aug 31 16:58:20 CEST 2006


oz-bootsplash: add chvt to runlevel 5 so bootstrap users will not end with bootsplash but with login prompt after booting

Author: hrw at openembedded.org
Branch: org.openembedded.oz354x
Revision: a2b55010b83317afe0b48fe03ebec5567d83aa61
ViewMTN: http://monotone.openembedded.org/revision.psp?id=a2b55010b83317afe0b48fe03ebec5567d83aa61
Files:
1
packages/oz-bootsplash/oz-bootsplash.bb
Diffs:

#
# mt diff -r8b83dbccbe95b10ef4d1cfdcda9109822e9d177c -ra2b55010b83317afe0b48fe03ebec5567d83aa61
#
# 
# 
# patch "packages/oz-bootsplash/oz-bootsplash.bb"
#  from [a560b4c15a8d3ae866246a3b41b337ae72d60576]
#    to [6abe1d4deb8998528124cbca8a79c49a540c1809]
# 
============================================================
--- packages/oz-bootsplash/oz-bootsplash.bb	a560b4c15a8d3ae866246a3b41b337ae72d60576
+++ packages/oz-bootsplash/oz-bootsplash.bb	6abe1d4deb8998528124cbca8a79c49a540c1809
@@ -19,7 +19,7 @@ PV = "0.0.1" 
 ######################################################################################
 
 PV = "0.0.1" 
-PR = "r4"
+PR = "r5"
 
 ######################################################################################
 
@@ -34,13 +34,15 @@ do_install() {
 	install -d ${D}/etc/init.d
 	install -d ${D}/etc/rcS.d
 	install -d ${D}/etc/rc2.d	
+	install -d ${D}/etc/rc5.d	
 	
 	install -m 0644 ${WORKDIR}/*.raw.gz ${D}/usr/share/oz-bootsplash
 	install -m 0755 ${WORKDIR}/oz-bootsplash.init ${D}/etc/init.d/oz-bootsplash
 	install -m 0755 ${WORKDIR}/chvt.init ${D}/etc/init.d/chvt
 	
-	ln -s /etc/init.d/oz-bootsplash ${D}/etc/rcS.d/S07oz-bootsplash	
-	ln -s /etc/init.d/chvt ${D}/etc/rc2.d/S99chvt
+	ln -sf ../init.d/oz-bootsplash ${D}/etc/rcS.d/S07oz-bootsplash	
+	ln -sf ../init.d/chvt ${D}/etc/rc2.d/S99chvt
+	ln -sf ../init.d/chvt ${D}/etc/rc5.d/S99chvt
 
 }	   
 






More information about the Openembedded-commits mailing list