summaryrefslogtreecommitdiffstats
path: root/tools/busybox-patches/unionfs-run-init-1.6.0.diff
diff options
context:
space:
mode:
authorDirk von Suchodoletz2007-09-23 19:50:42 +0200
committerDirk von Suchodoletz2007-09-23 19:50:42 +0200
commitdba2bd0f3dc6e880545dbe4bf33a6e11bf7c1bfb (patch)
tree0a6497cde16c7fe8725ccac403b784134b03d35d /tools/busybox-patches/unionfs-run-init-1.6.0.diff
parentUpdating busybox to version 1.7.1 which simplifies the patching (only the SLX... (diff)
downloadcore-dba2bd0f3dc6e880545dbe4bf33a6e11bf7c1bfb.tar.gz
core-dba2bd0f3dc6e880545dbe4bf33a6e11bf7c1bfb.tar.xz
core-dba2bd0f3dc6e880545dbe4bf33a6e11bf7c1bfb.zip
Added the 64bit busybox binary (both busyboxes are compiled on Debian Sarge systems),
fixed the remaining patch ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1346 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'tools/busybox-patches/unionfs-run-init-1.6.0.diff')
-rw-r--r--tools/busybox-patches/unionfs-run-init-1.6.0.diff14
1 files changed, 0 insertions, 14 deletions
diff --git a/tools/busybox-patches/unionfs-run-init-1.6.0.diff b/tools/busybox-patches/unionfs-run-init-1.6.0.diff
deleted file mode 100644
index 14df85b8..00000000
--- a/tools/busybox-patches/unionfs-run-init-1.6.0.diff
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -ru ../busybox-1.6.0.orig/util-linux/switch_root.c ./util-linux/switch_root.c
---- ../busybox-1.6.0.orig/util-linux/switch_root.c 2007-06-01 13:48:41.000000000 +0200
-+++ ./util-linux/switch_root.c 2007-06-15 12:31:40.000000000 +0200
-@@ -105,6 +105,10 @@
- // Overmount / with newdir and chroot into it. The chdir is needed to
- // recalculate "." and ".." links.
-
-+ if ( !lstat("/rorootfs", &st1 ) )
-+ if ( mount("/rorootfs", "/", NULL, MS_MOVE, NULL) )
-+ bb_error_msg_and_die("moving rorootfs");
-+
- if (mount(".", "/", NULL, MS_MOVE, NULL) || chroot("."))
- bb_error_msg_and_die("error moving root");
- xchdir("/");