diff options
author | Dirk von Suchodoletz | 2008-08-20 09:23:24 +0200 |
---|---|---|
committer | Dirk von Suchodoletz | 2008-08-20 09:23:24 +0200 |
commit | ac16c1db467eb12c1c9b057cde716aea9e722170 (patch) | |
tree | c02a2b36a31eb192aa1d741234c23446b10debf1 /tools/busybox-patches/unionfs-run-init-1.10.2.diff | |
parent | * processed old request of cleaned up stage3 vmware kernel modules (diff) | |
download | core-ac16c1db467eb12c1c9b057cde716aea9e722170.tar.gz core-ac16c1db467eb12c1c9b057cde716aea9e722170.tar.xz core-ac16c1db467eb12c1c9b057cde716aea9e722170.zip |
Some cleanups for upcoming version switch (new type of initramfs, see roadmap too)
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2052 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'tools/busybox-patches/unionfs-run-init-1.10.2.diff')
-rw-r--r-- | tools/busybox-patches/unionfs-run-init-1.10.2.diff | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/tools/busybox-patches/unionfs-run-init-1.10.2.diff b/tools/busybox-patches/unionfs-run-init-1.10.2.diff deleted file mode 100644 index 6e1d25fb..00000000 --- a/tools/busybox-patches/unionfs-run-init-1.10.2.diff +++ /dev/null @@ -1,14 +0,0 @@ -diff -wur busybox-1.10.2/util-linux/switch_root.c busybox-1.10.2-openslx/util-linux/switch_root.c ---- busybox-1.10.2/util-linux/switch_root.c 2008-04-19 05:50:39.000000000 +0200 -+++ busybox-1.10.2-openslx/util-linux/switch_root.c 2008-05-31 18:20:21.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)) - bb_error_msg_and_die("error moving root"); - xchroot("."); |