summaryrefslogtreecommitdiffstats
path: root/rules/fake-overlayfs.in
blob: ebc4b109f02c906afd5501f725852ea20dd3d989 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
## 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

config FAKE_OVERLAYFS_SYSTEMD
	bool
	default SYSTEMD

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	if ROOTFS
	select ROOTFS_VAR_RUN	if ROOTFS

config FAKE_OVERLAYFS_VAR_LIB
	bool "/var/lib"
	select ROOTFS_VAR	if ROOTFS
	select ROOTFS_VAR_LIB	if ROOTFS

config FAKE_OVERLAYFS_VAR_TMP
	bool "/var/tmp"
	select ROOTFS_VAR	if ROOTFS
	select ROOTFS_VAR_TMP	if ROOTFS

config FAKE_OVERLAYFS_VAR_CACHE
	bool "/var/cache"
	select ROOTFS_VAR	if ROOTFS
	select ROOTFS_VAR_CACHE	if ROOTFS

endif

config FAKE_OVERLAYFS_OTHER
	string "other"
	help
	  A list of other directories, separated by ':'.

endif