SOURCES (AC-branch): busybox-switchroot.patch - introduce switch_root
adamg
adamg at pld-linux.org
Sun Mar 23 22:11:43 CET 2008
Author: adamg Date: Sun Mar 23 21:11:43 2008 GMT
Module: SOURCES Tag: AC-branch
---- Log message:
- introduce switch_root
---- Files affected:
SOURCES:
busybox-switchroot.patch (1.1 -> 1.1.6.1)
---- Diffs:
================================================================
Index: SOURCES/busybox-switchroot.patch
diff -u SOURCES/busybox-switchroot.patch:1.1 SOURCES/busybox-switchroot.patch:1.1.6.1
--- SOURCES/busybox-switchroot.patch:1.1 Sat Sep 25 19:20:37 2004
+++ SOURCES/busybox-switchroot.patch Sun Mar 23 22:11:38 2008
@@ -1,12 +1,13 @@
diff -urN busybox-1.00-rc3.org/include/applets.h busybox-1.00-rc3/include/applets.h
--- busybox-1.00-rc3.org/include/applets.h 2004-09-25 18:10:24.215527160 +0200
+++ busybox-1.00-rc3/include/applets.h 2004-09-25 19:07:03.622283988 +0200
-@@ -547,6 +547,9 @@
+@@ -547,6 +547,10 @@
#ifdef CONFIG_SWAPONOFF
APPLET(swapon, swap_on_off_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
#endif
+#ifdef CONFIG_SWITCHROOT
+ APPLET(switchroot, switchroot_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
++ APPLET(switch_root, switchroot_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
+#endif
#ifdef CONFIG_SYNC
APPLET(sync, sync_main, _BB_DIR_BIN, _BB_SUID_NEVER)
@@ -14,7 +15,7 @@
diff -urN busybox-1.00-rc3.org/include/usage.h busybox-1.00-rc3/include/usage.h
--- busybox-1.00-rc3.org/include/usage.h 2004-09-25 18:10:24.213527588 +0200
+++ busybox-1.00-rc3/include/usage.h 2004-09-25 19:09:49.403769193 +0200
-@@ -2261,6 +2261,11 @@
+@@ -2261,6 +2261,16 @@
"Options:\n" \
"\t-a\tStart swapping on all swap devices"
@@ -23,6 +24,11 @@
+#define switchroot_full_usage \
+ "Make NEW_ROOT the new root file system."
+
++#define switch_root_trivial_usage \
++ "NEW_ROOT"
++#define switch_root_full_usage \
++ "Make NEW_ROOT the new root file system."
++
#define sync_trivial_usage \
""
#define sync_full_usage \
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/busybox-switchroot.patch?r1=1.1&r2=1.1.6.1&f=u
More information about the pld-cvs-commit
mailing list