[oe-commits] Mike Westerhof : SlugOS: initscripts - add in the correct device_table. txt for SlugOS,

git version control git at git.openembedded.org
Sun Sep 27 06:23:04 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: ea0b022b71fa7a217f963fe735439c025341fea3
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=ea0b022b71fa7a217f963fe735439c025341fea3

Author: Mike Westerhof <mwester at dls.net>
Date:   Sun Sep 27 01:21:29 2009 -0500

SlugOS: initscripts - add in the correct device_table.txt for SlugOS,
makes turnup work once again.

---

 .../initscripts-1.0/slugos/device_table.txt        |   41 ++++++++++++++++++++
 recipes/initscripts/initscripts-slugos_1.0.bb      |    3 +-
 2 files changed, 42 insertions(+), 2 deletions(-)

diff --git a/recipes/initscripts/initscripts-1.0/slugos/device_table.txt b/recipes/initscripts/initscripts-1.0/slugos/device_table.txt
new file mode 100644
index 0000000..17e8064
--- /dev/null
+++ b/recipes/initscripts/initscripts-1.0/slugos/device_table.txt
@@ -0,0 +1,41 @@
+# Minimal boot time set of devices for SlugOS
+# The normal run time /dev is managed by udev
+#
+# <path>	<type> <mode>	<uid>	<gid>	<major>	<minor>	<start>	<inc>	<count>
+# /dev/mem	c      640      0       0       1       1       0        0        -
+#	f	A regular file
+#	d	Directory
+#	c	Character special device file
+#	b	Block special device file
+#	p	Fifo (named pipe)
+/dev		d	755	0	0	-	-	-	-	-
+/dev/buzzer	c	660	0	0	13	64	-	-	-
+/dev/console	c	622	0	0	5	1	-	-	-
+/dev/kmem	c	640	0	0	1	2	-	-	-
+/dev/mem	c	640	0	0	1	1	-	-	-
+/dev/mtd	c	664	0	0	90	0	0	2	8
+/dev/mtdblock	b	644	0	0	31	0	0	1	8
+/dev/null	c	666	0	0	1	3	-	-	-
+/dev/ptyp	c	644	0	0	2	0	0	1	10
+/dev/ram	b	644	0	0	1	0	0	1	4
+/dev/random	c	644	0	0	1	8	-	-	-
+/dev/sda	b	664	0	0	8	0	-	-	-
+/dev/sda	b	664	0	0	8	1	1	1	10
+/dev/sdb	b	664	0	0	8	16	-	-	-
+/dev/sdb	b	664	0	0	8	17	1	1	5
+/dev/sdc	b	664	0	0	8	32	-	-	-
+/dev/sdc	b	664	0	0	8	33	1	1	5
+/dev/sdd        b       664     0       0       8       48      -       -	-
+/dev/sdd        b       664     0       0       8       49      1       1	5
+/dev/sde        b       664     0       0       8       64      -       -	-
+/dev/sde        b       664     0       0       8       65      1       1	5
+/dev/sdf        b       664     0       0       8       80      -       -	-
+/dev/sdf        b       664     0       0       8       81      1       1	5
+/dev/sdg        b       664     0       0       8       96      -       -	-
+/dev/sdg        b       664     0       0       8       97      1       1	5
+/dev/tty	c	666	0	0	5	0	-	-	-
+/dev/tty	c	644	0	0	4	0	0	1	10
+/dev/ttyS	c	644	0	0	4	64	0	1	2
+/dev/ttyp	c	644	0	0	3	0	0	1	10
+/dev/urandom	c	644	0	0	1	9	-	-	-
+/dev/zero	c	666	0	0	1	5	-	-	-
diff --git a/recipes/initscripts/initscripts-slugos_1.0.bb b/recipes/initscripts/initscripts-slugos_1.0.bb
index d04d038..6e68036 100644
--- a/recipes/initscripts/initscripts-slugos_1.0.bb
+++ b/recipes/initscripts/initscripts-slugos_1.0.bb
@@ -16,7 +16,7 @@ RDEPENDS = ""
 # All other standard definitions inherited from initscripts
 # Except the PR which is hacked here.  The format used is
 # a suffix
-PR := "${PR}.21"
+PR := "${PR}.22"
 
 # We wish to search the same file paths as does the initscripts recipe.
 FILESPATHPKG = "initscripts-${PV}:initscripts:files"
@@ -32,7 +32,6 @@ S = "${WORKDIR}"
 
 do_install_append() {
 	# devfs is not used with SlugOS - remove all traces of it.
-	rm	${D}${sysconfdir}/device_table
 	rm	${D}${sysconfdir}/init.d/devices
 	rm	${D}${sysconfdir}/rcS.d/S05devices
 





More information about the Openembedded-commits mailing list