aboutsummaryrefslogtreecommitdiff
path: root/busybox.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'busybox.def.h')
-rw-r--r--busybox.def.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/busybox.def.h b/busybox.def.h
index 871b152d3..c56f151db 100644
--- a/busybox.def.h
+++ b/busybox.def.h
@@ -139,3 +139,10 @@
// Enable support for creation of tar files.
//#define BB_FEATURE_TAR_CREATE
//
+// Allow init to permenently chroot, and umount the old root fs
+// just like an initrd does. Requires a kernel patch by Werner Almesberger.
+// ftp://icaftp.epfl.ch/pub/people/almesber/misc/umount-root-*.tar.gz
+#ifdef BB_MOUNT
+#define BB_FEATURE_INIT_CHROOT
+#endif
+//