summaryrefslogtreecommitdiffstats
path: root/rules/fake-overlayfs.in
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2010-01-29 14:14:03 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2010-02-11 11:23:02 +0100
commit36bd0029f312865485f5ffa30022c79163763a18 (patch)
treee460c8bbdae7ef2501ae5ee25d8889c54e2139ca /rules/fake-overlayfs.in
parent2b9c916f6727cf9ac2ad652b9b0928983ffe8962 (diff)
downloadptxdist-36bd0029f312865485f5ffa30022c79163763a18.tar.gz
ptxdist-36bd0029f312865485f5ffa30022c79163763a18.tar.xz
[fake-overlayfs] added new package
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/fake-overlayfs.in')
-rw-r--r--rules/fake-overlayfs.in45
1 files changed, 45 insertions, 0 deletions
diff --git a/rules/fake-overlayfs.in b/rules/fake-overlayfs.in
new file mode 100644
index 000000000..1a1e3def0
--- /dev/null
+++ b/rules/fake-overlayfs.in
@@ -0,0 +1,45 @@
+## SECTION=rootfs
+
+menuconfig FAKE_OVERLAYFS
+ tristate
+ prompt "fake-overlayfs "
+ help
+ fake an overlay filesystem like unionfs by copying the original
+ content to a tmpfs.
+
+
+if FAKE_OVERLAYFS
+
+comment "Copy the content of these directories"
+
+config FAKE_OVERLAYFS_VAR
+ bool "/var"
+ select ROOTFS_VAR if ROOTFS
+
+if !FAKE_OVERLAYFS_VAR
+
+config FAKE_OVERLAYFS_VAR_RUN
+ bool "/var/run"
+ select ROOTFS_VAR_RUN if ROOTFS
+
+config FAKE_OVERLAYFS_VAR_LIB
+ bool "/var/lib"
+ select ROOTFS_VAR_LIB if ROOTFS
+
+config FAKE_OVERLAYFS_VAR_TMP
+ bool "/var/tmp"
+ select ROOTFS_VAR_TMP if ROOTFS
+
+config FAKE_OVERLAYFS_VAR_CACHE
+ bool "/var/cache"
+ select ROOTFS_VAR_CACHE if ROOTFS
+
+endif
+
+config FAKE_OVERLAYFS_OTHER
+ string "other"
+ help
+ A list of other directories, separated by ':'.
+
+endif
+