summaryrefslogtreecommitdiff
path: root/initscripts
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-03-30 12:14:42 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-03-30 12:14:42 +0000
commit3a8a95c0afca204324e2c49e3a89cafbf59bf549 (patch)
treeca68e161f8917730d7202988f42c6cd07afb2d32 /initscripts
parent3ea92ccb1cea24ea189b12b29aef599ee7658b2c (diff)
apply lots of patches courtesy pb_
BKrev: 406964b2zzrDAOnwkUK6ASqCv3FYdA
Diffstat (limited to 'initscripts')
-rw-r--r--initscripts/initscripts-1.0-r0/device_table.txt0
-rw-r--r--initscripts/initscripts-1.0-r0/devices2
-rw-r--r--initscripts/initscripts_1.0.oe6
3 files changed, 6 insertions, 2 deletions
diff --git a/initscripts/initscripts-1.0-r0/device_table.txt b/initscripts/initscripts-1.0-r0/device_table.txt
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/initscripts/initscripts-1.0-r0/device_table.txt
diff --git a/initscripts/initscripts-1.0-r0/devices b/initscripts/initscripts-1.0-r0/devices
index 5524af4162..241972679f 100644
--- a/initscripts/initscripts-1.0-r0/devices
+++ b/initscripts/initscripts-1.0-r0/devices
@@ -33,7 +33,7 @@ then
if test "$VERBOSE" != "no"; then echo "done"; fi
else
if test "$VERBOSE" != "no"; then echo -n "Mounting /dev ramdisk: "; fi
- mount -t ramfs ramfs /dev
+ mount -t ramfs ramfs /dev || mount -t tmpfs ramfs /dev
if test $? -ne 0; then
if test "$VERBOSE" != "no"; then echo "failed"; fi
else
diff --git a/initscripts/initscripts_1.0.oe b/initscripts/initscripts_1.0.oe
index af96a8637e..1593bda49a 100644
--- a/initscripts/initscripts_1.0.oe
+++ b/initscripts/initscripts_1.0.oe
@@ -1,5 +1,6 @@
DESCRIPTION = "SysV init scripts"
MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
+RDEPENDS = "makedevs"
SRC_URI = "file://${FILESDIR}/halt \
file://${FILESDIR}/ramdisk \
file://${FILESDIR}/umountfs \
@@ -29,7 +30,8 @@ SRC_URI = "file://${FILESDIR}/halt \
file://${FILESDIR}/extractfs \
file://${FILESDIR}/checkroot.sh \
file://${FILESDIR}/devices_h3600 \
- file://${FILESDIR}/umountnfs.sh"
+ file://${FILESDIR}/umountnfs.sh \
+ file://${FILESDIR}/device_table.txt"
do_install () {
@@ -96,4 +98,6 @@ do_install () {
# ln -sf ../init.d/devices ${D}/etc/rcS.d/S01devices
# ln -sf ../init.d/devpts.sh ${D}/etc/rcS.d/S31devpts.sh
# ln -sf ../init.d/ramdisk ${D}/etc/rcS.d/S30ramdisk
+
+ install -m 0755 ${FILESDIR}/device_table.txt ${D}/etc/device_table
}