SlugOS: initscripts - add in the correct device_table.txt for SlugOS,
authorMike Westerhof <mwester@dls.net>
Sun, 27 Sep 2009 06:21:29 +0000 (01:21 -0500)
committerMike Westerhof <mwester@dls.net>
Sun, 27 Sep 2009 06:21:29 +0000 (01:21 -0500)
makes turnup work once again.

recipes/initscripts/initscripts-1.0/slugos/device_table.txt [new file with mode: 0644]
recipes/initscripts/initscripts-slugos_1.0.bb

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 (file)
index 0000000..17e8064
--- /dev/null
@@ -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       -       -       -
index d04d038..6e68036 100644 (file)
@@ -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