summaryrefslogtreecommitdiffstats
path: root/rules/rootfs.in
blob: 6b995555cc5f49c7e941af7e0e1d7b02d97ac898 (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
## SECTION=rootfs

# ----------------------------------------------------------------------------
menu "populate rootfs               "
# ----------------------------------------------------------------------------

config ROOTFS
	bool
	prompt "Create Directories in /"
	default y
	select BB_CONFIG_FEATURE_SHADOWPASSWDS if BUSYBOX
	help
	  In order to support a standard root filesystem some subdirectories are
	  mandatory. They will be created by ptxdist automatically. Some
	  other directories are may be required on demand. This menu entry here
	  gives you the ability to create them.

config ROOTFS_DEV
	depends on ROOTFS
	bool
	prompt "/dev"
	default y
	help
	  This directory contains system's device nodes. This is a common
	  location and name. For example udev depends on the existance of this
	  directory

config ROOTFS_DEV_INITIAL
	depends on ROOTFS_DEV
	bool
	prompt "create initial device nodes"
	default y
	help
	  install /dev/null, /dev/zero and /dev/console device nodes.
	  udev needs at least these nodes to startup. If you use udev
	  say yes here

config ROOTFS_HOME
	depends on ROOTFS
	bool
	prompt "/home"
	default y
	help
	  home/ is a common location to store users private data. As ptxdist does
	  not support users out of the box, its up to yourself to create
	  additional subdirectories here and also provide the permission info.

config ROOTFS_HOME_ROOT
	depends on ROOTFS
	bool
	prompt "/root"
	default y
	help
	  root/ is the usual location to store roots private data.

# Media Mountpoints

menuconfig ROOTFS_MEDIA
	depends on ROOTFS
	bool
	prompt "/media                      "

config ROOTFS_MEDIA1
	prompt "Mountpoint 1"
	string
	depends on ROOTFS_MEDIA
	help
	  This string defines a mountpoint directory in /media

config ROOTFS_MEDIA2
	prompt "Mountpoint 2"
	string
	depends on ROOTFS_MEDIA && ROOTFS_MEDIA1!=""
	help
	  This string defines a mountpoint directory in /media

config ROOTFS_MEDIA3
	prompt "Mountpoint 3"
	string
	depends on ROOTFS_MEDIA && ROOTFS_MEDIA2!=""
	help
	  This string defines a mountpoint directory in /media

config ROOTFS_MEDIA4
	prompt "Mountpoint 4"
	string
	depends on ROOTFS_MEDIA && ROOTFS_MEDIA3!=""
	help
	  This string defines a mountpoint directory in /media

config ROOTFS_MEDIA5
	prompt "Mountpoint 5"
	string
	depends on ROOTFS_MEDIA && ROOTFS_MEDIA4!=""
	help
	  This string defines a mountpoint directory in /media

config ROOTFS_MEDIA6
	prompt "Mountpoint 6"
	string
	depends on ROOTFS_MEDIA && ROOTFS_MEDIA5!=""
	help
	  This string defines a mountpoint directory in /media

config ROOTFS_MEDIA7
	prompt "Mountpoint 7"
	string
	depends on ROOTFS_MEDIA && ROOTFS_MEDIA6!=""
	help
	  This string defines a mountpoint directory in /media

config ROOTFS_MEDIA8
	prompt "Mountpoint 8"
	string
	depends on ROOTFS_MEDIA && ROOTFS_MEDIA7!=""
	help
	  This string defines a mountpoint directory in /media

config ROOTFS_MEDIA9
	prompt "Mountpoint 9"
	string
	depends on ROOTFS_MEDIA && ROOTFS_MEDIA8!=""
	help
	  This string defines a mountpoint directory in /media

config ROOTFS_MEDIA10
	prompt "Mountpoint 10"
	string
	depends on ROOTFS_MEDIA && ROOTFS_MEDIA9!=""
	help
	  This string defines a mountpoint directory in /media

# ok, that's all for /media.

config ROOTFS_MNT
	depends on ROOTFS
	bool
	prompt "/mnt"
	default y
	help
	  This is a common directory to temporarely mount external media. Its
	  always a good idea to select this entry.

config ROOTFS_PROC
	depends on ROOTFS
	bool
	prompt "/proc"
	default y
	help
	  Create a /proc directory in the root filesystem.
	  You should say yes here.

config ROOTFS_SYS
	depends on ROOTFS
	bool
	prompt "/sys"
	default y
	help
	  Create a /sys directory in the root filesystem.
	  2.6 kernel users should say yes here.

config ROOTFS_TMP
	depends on ROOTFS
	bool
	prompt "/tmp"
	default y
	help
	  Create a /tmp directory in the root filesystem.
	  You should say yes here.

config ROOTFS_VAR
	depends on ROOTFS
	bool
	prompt "/var"
	default y
	help
	  Create a /var directory in the root filesystem.
	  You should say yes here.

config ROOTFS_VAR_RUN
	depends on ROOTFS_VAR
	bool
	prompt "/var/run"
	default y
	help
	  Create a /var/run directory in the root filesystem.
	  Unless you want to mount a tmpfs on /var you should
	  say yes here.

config ROOTFS_VAR_LOG
	depends on ROOTFS_VAR
	bool
	prompt "/var/log"
	default y
	help
	  Create a /var/log directory in the root filesystem.
	  Unless you want to mount a tmpfs on /var you should
	  say yes here.

config ROOTFS_VAR_LOCK
	depends on ROOTFS_VAR
	bool
	prompt "/var/lock"
	default y
	help
	  Create a /var/lock directory in the root filesystem.
	  Unless you want to mount a tmpfs on /var you should
	  say yes here.

config ROOTFS_VAR_LIB
	depends on ROOTFS_VAR
	bool
	prompt "/var/lib"
	default n
	help
	  Create a /var/lib directory in the root filesystem.
	  Unless you want to mount a tmpfs on /var you should
	  say yes here.
	  If you are going to run an NFS server with file locking
	  support this folder must be persistent!

# ----------------------------------------------------------------------------

endmenu