aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/obsolete
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2010-09-19 16:12:10 +0200
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2010-09-19 16:12:10 +0200
commit4dd3873a2a6e7305a35ca6c50811937e693d3a97 (patch)
tree3f991d001a1f0f8427fd0c9a3a43783f8d3f1706 /recipes/obsolete
parent7a865f5cc22fdadd05dfce06801716cfa5c981e4 (diff)
downloadopenembedded-4dd3873a2a6e7305a35ca6c50811937e693d3a97.tar.gz
initscripts : moved unused files to obsolete dir
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/obsolete')
-rw-r--r--recipes/obsolete/initscripts/initscripts-1.0/slugos/devices.patch52
-rw-r--r--recipes/obsolete/initscripts/initscripts-1.0/slugos/rootopts.patch15
2 files changed, 67 insertions, 0 deletions
diff --git a/recipes/obsolete/initscripts/initscripts-1.0/slugos/devices.patch b/recipes/obsolete/initscripts/initscripts-1.0/slugos/devices.patch
new file mode 100644
index 0000000000..2583b62f48
--- /dev/null
+++ b/recipes/obsolete/initscripts/initscripts-1.0/slugos/devices.patch
@@ -0,0 +1,52 @@
+#
+# Patch to allow /dev to reside permanently in the file
+# system.
+#
+--- old/devices 2005-05-28 21:51:39.012078699 -0700
++++ new/devices 2005-06-12 00:16:29.222686303 -0700
+@@ -6,7 +6,7 @@
+ . /etc/default/rcS
+
+ # exit without doing anything if udev is active
+-if test -e /dev/.udev -o -e /dev/.udevdb; then
++if test -e /dev/.udev -o -e /dev/.udevdb -o -e /dev/.permanent; then
+ exit 0
+ fi
+
+@@ -37,12 +37,20 @@
+ mknod /dev/ppp c 108 0
+ 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 tmpfs ramfs /dev
+- if test $? -ne 0; then
+- if test "$VERBOSE" != "no"; then echo "failed"; fi
++ if test -e /dev/.noram
++ then
++ # There should be no files, any files will damage the
++ # makedevs script below.
++ rm $(find /dev -type f -print)
++ :>/dev/.noram
+ else
+- if test "$VERBOSE" != "no"; then echo "done"; fi
++ if test "$VERBOSE" != "no"; then echo -n "Mounting /dev ramdisk: "; fi
++ mount -t ramfs ramfs /dev || mount -t tmpfs ramfs /dev
++ if test $? -ne 0; then
++ if test "$VERBOSE" != "no"; then echo "failed"; fi
++ else
++ if test "$VERBOSE" != "no"; then echo "done"; fi
++ fi
+ fi
+ if test "$VERBOSE" != "no"; then echo -n "Populating /dev: "; fi
+ cd /
+@@ -60,6 +68,10 @@
+ if test "$VERBOSE" != "no"; then echo "failed"; fi
+ else
+ if test "$VERBOSE" != "no"; then echo "done"; fi
++ if test -e /dev/.noram
++ then
++ :>/dev/.permanent
++ fi
+ fi
+ fi
+
diff --git a/recipes/obsolete/initscripts/initscripts-1.0/slugos/rootopts.patch b/recipes/obsolete/initscripts/initscripts-1.0/slugos/rootopts.patch
new file mode 100644
index 0000000000..3f2a925879
--- /dev/null
+++ b/recipes/obsolete/initscripts/initscripts-1.0/slugos/rootopts.patch
@@ -0,0 +1,15 @@
+#
+# Ensure that the root file system is remounted with the correct
+# options from fstab
+#
+--- old/checkroot.sh 2005-05-28 19:30:55.488975598 -0700
++++ new/checkroot.sh 2005-05-28 19:31:32.334390450 -0700
+@@ -149,7 +149,7 @@
+ # is on a ro fs until the remount succeeded. Then clean up old mtabs
+ # and finally write the new mtab.
+ #
+-mount -n -o remount,$rootmode /
++mount -n -o remount,$rootopts /
+ if test "$rootmode" = rw
+ then
+ if test ! -L /etc/mtab