summaryrefslogtreecommitdiffstats
path: root/tools/unionfs-run-init
diff options
context:
space:
mode:
authorLars Müller2007-01-04 21:10:05 +0100
committerLars Müller2007-01-04 21:10:05 +0100
commitbab5ace84def71f4ecc3d2183ac11407bdcfaa37 (patch)
tree97cf23dd09442ea729c6fbbc1b3d8c071f90de11 /tools/unionfs-run-init
parentAdd missing parantheses. (diff)
downloadcore-bab5ace84def71f4ecc3d2183ac11407bdcfaa37.tar.gz
core-bab5ace84def71f4ecc3d2183ac11407bdcfaa37.tar.xz
core-bab5ace84def71f4ecc3d2183ac11407bdcfaa37.zip
Update busybox config file to add tools required by the stage1
installer. Add busybox-patches directory: - bzip2-payload.diff allow rpm2cpio to unpack bzip2 RPM payload - unionfs-run-init.diff separat bb part from unionfs-run-init - series file is optional for quilt users git-svn-id: http://svn.openslx.org/svn/openslx/trunk@583 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'tools/unionfs-run-init')
-rw-r--r--tools/unionfs-run-init15
1 files changed, 0 insertions, 15 deletions
diff --git a/tools/unionfs-run-init b/tools/unionfs-run-init
index 01d71b74..af09bf00 100644
--- a/tools/unionfs-run-init
+++ b/tools/unionfs-run-init
@@ -22,18 +22,3 @@ drunterliegende Rootfs ... Laengeres Rumprobieren und nun scheint es
erstmal zu klappen. Zur Zeit checkt der einfach nur (bis ich das raus
hatte :-)) ob ein "/rorootfs" da ist und verschiebt das dann. Wenn nicht,
bleibts so wie vorher.
-
-Gilt auch fuer busybox:
-
- // Overmount / with newdir and chroot into it. The chdir is needed to
- // recalculate "." and ".." links. And check for UnionFS specific
-dir.
-
- 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(".") ||
-chdir("/"))
- bb_error_msg_and_die("moving root");