diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-10-22 14:56:31 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-10-22 14:56:31 +0000 |
commit | 26b7ef0d11c053ca2a9aa2ba06d10c1ddddcb8ad (patch) | |
tree | fbbfe2d26a7000711e1f0a49aa340ee53817f8a2 /meta | |
parent | 498b4f45da04cd17f91547fa1fe0f7f47a61917e (diff) | |
download | poky-26b7ef0d11c053ca2a9aa2ba06d10c1ddddcb8ad.tar.gz |
busybox: added 1.7.2 from OE as non-default (Angstrom defconfig used)
run_parts.c is alternative implementation from BusyBox mailing list:
http://www.busybox.net/lists/busybox/2007-September/028838.html
(original one does not sorted entries before run == broken X11 session)
Poky-image-sato with this version works on my c7x0.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2949 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rwxr-xr-x | meta/packages/busybox/busybox-1.7.2/busybox-mdev.sh | 69 | ||||
-rw-r--r-- | meta/packages/busybox/busybox-1.7.2/defconfig | 753 | ||||
-rw-r--r-- | meta/packages/busybox/busybox-1.7.2/run_parts.c | 174 | ||||
-rw-r--r-- | meta/packages/busybox/busybox-1.7.2/udhcpscript.patch | 17 | ||||
-rw-r--r-- | meta/packages/busybox/busybox.inc | 64 | ||||
-rw-r--r-- | meta/packages/busybox/busybox_1.7.2.bb | 123 |
6 files changed, 1200 insertions, 0 deletions
diff --git a/meta/packages/busybox/busybox-1.7.2/busybox-mdev.sh b/meta/packages/busybox/busybox-1.7.2/busybox-mdev.sh new file mode 100755 index 0000000000..9744322fa9 --- /dev/null +++ b/meta/packages/busybox/busybox-1.7.2/busybox-mdev.sh | |||
@@ -0,0 +1,69 @@ | |||
1 | #!/bin/sh | ||
2 | MDEV=/sbin/mdev | ||
3 | DESC="Busybox mdev setup" | ||
4 | |||
5 | # Complain if thing's aren't right | ||
6 | if [ ! -e /proc/filesystems ]; then | ||
7 | echo "mdev requires a mounted procfs, not started." | ||
8 | exit 1 | ||
9 | fi | ||
10 | |||
11 | if ! grep -q '[[:space:]]tmpfs$' /proc/filesystems; then | ||
12 | echo "mdev requires tmpfs support, not started." | ||
13 | exit 1 | ||
14 | fi | ||
15 | |||
16 | if [ ! -d /sys/class/ ]; then | ||
17 | echo "mdev requires a mounted sysfs, not started." | ||
18 | exit 1 | ||
19 | fi | ||
20 | |||
21 | if [ ! -e /proc/sys/kernel/hotplug ]; then | ||
22 | echo "mdev requires hotplug support, not started." | ||
23 | exit 1 | ||
24 | fi | ||
25 | |||
26 | # We need to unmount /dev/pts/ and remount it later over the tmpfs | ||
27 | if mountpoint -q /dev/pts/; then | ||
28 | umount -l /dev/pts/ | ||
29 | fi | ||
30 | |||
31 | if mountpoint -q /dev/shm/; then | ||
32 | umount -l /dev/shm/ | ||
33 | fi | ||
34 | |||
35 | # Create tmpfs for /dev | ||
36 | echo "Creating tmpfs at /dev" | ||
37 | mount -t tmpfs tmpfs /dev -o size=800k | ||
38 | |||
39 | # Register mdev as hotplug event helper | ||
40 | echo "$MDEV" > /proc/sys/kernel/hotplug | ||
41 | |||
42 | # Populate /dev from /sys info | ||
43 | echo "Populating /dev using mdev" | ||
44 | $MDEV -s | ||
45 | |||
46 | # Touch .udev to inform scripts that /dev needs no further setup | ||
47 | touch /dev/.udev | ||
48 | |||
49 | # Mount devpts | ||
50 | TTYGRP=5 | ||
51 | TTYMODE=620 | ||
52 | mkdir -m 755 -p /dev/pts | ||
53 | if [ ! -e /dev/ptmx ]; then | ||
54 | mknod -m 666 /dev/ptmx c 5 2 | ||
55 | fi | ||
56 | mount -t devpts devpts /dev/pts -onoexec,nosuid,gid=$TTYGRP,mode=$TTYMODE | ||
57 | |||
58 | # Make shm directory | ||
59 | mkdir -m 755 -p /dev/shm | ||
60 | |||
61 | # Make extraneous links | ||
62 | ln -sf /proc/self/fd /dev/fd | ||
63 | ln -sf /proc/self/fd/0 /dev/stdin | ||
64 | ln -sf /proc/self/fd/1 /dev/stdout | ||
65 | ln -sf /proc/self/fd/2 /dev/stderr | ||
66 | ln -sf /proc/kcore /dev/core | ||
67 | ln -sf /proc/asound/oss/sndstat /dev/sndstat | ||
68 | |||
69 | exit 0 | ||
diff --git a/meta/packages/busybox/busybox-1.7.2/defconfig b/meta/packages/busybox/busybox-1.7.2/defconfig new file mode 100644 index 0000000000..19cfafab2c --- /dev/null +++ b/meta/packages/busybox/busybox-1.7.2/defconfig | |||
@@ -0,0 +1,753 @@ | |||
1 | # | ||
2 | # Automatically generated make config: don't edit | ||
3 | # Busybox version: 1.7.2 | ||
4 | # Fri Oct 12 19:00:27 2007 | ||
5 | # | ||
6 | CONFIG_HAVE_DOT_CONFIG=y | ||
7 | |||
8 | # | ||
9 | # Busybox Settings | ||
10 | # | ||
11 | |||
12 | # | ||
13 | # General Configuration | ||
14 | # | ||
15 | # CONFIG_NITPICK is not set | ||
16 | # CONFIG_DESKTOP is not set | ||
17 | # CONFIG_FEATURE_BUFFERS_USE_MALLOC is not set | ||
18 | # CONFIG_FEATURE_BUFFERS_GO_ON_STACK is not set | ||
19 | # CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set | ||
20 | CONFIG_SHOW_USAGE=y | ||
21 | # CONFIG_FEATURE_VERBOSE_USAGE is not set | ||
22 | CONFIG_FEATURE_COMPRESS_USAGE=y | ||
23 | # CONFIG_FEATURE_INSTALLER is not set | ||
24 | CONFIG_LOCALE_SUPPORT=y | ||
25 | CONFIG_GETOPT_LONG=y | ||
26 | CONFIG_FEATURE_DEVPTS=y | ||
27 | # CONFIG_FEATURE_CLEAN_UP is not set | ||
28 | CONFIG_FEATURE_PIDFILE=y | ||
29 | CONFIG_FEATURE_SUID=y | ||
30 | CONFIG_FEATURE_SUID_CONFIG=y | ||
31 | CONFIG_FEATURE_SUID_CONFIG_QUIET=y | ||
32 | # CONFIG_SELINUX is not set | ||
33 | # CONFIG_FEATURE_PREFER_APPLETS is not set | ||
34 | CONFIG_BUSYBOX_EXEC_PATH="/proc/self/exe" | ||
35 | CONFIG_FEATURE_SYSLOG=y | ||
36 | CONFIG_FEATURE_HAVE_RPC=y | ||
37 | |||
38 | # | ||
39 | # Build Options | ||
40 | # | ||
41 | # CONFIG_STATIC is not set | ||
42 | # CONFIG_BUILD_LIBBUSYBOX is not set | ||
43 | # CONFIG_FEATURE_FULL_LIBBUSYBOX is not set | ||
44 | # CONFIG_FEATURE_SHARED_BUSYBOX is not set | ||
45 | CONFIG_LFS=y | ||
46 | CONFIG_BUILD_AT_ONCE=y | ||
47 | |||
48 | # | ||
49 | # Debugging Options | ||
50 | # | ||
51 | # CONFIG_DEBUG is not set | ||
52 | # CONFIG_WERROR is not set | ||
53 | CONFIG_NO_DEBUG_LIB=y | ||
54 | # CONFIG_DMALLOC is not set | ||
55 | # CONFIG_EFENCE is not set | ||
56 | # CONFIG_INCLUDE_SUSv2 is not set | ||
57 | |||
58 | # | ||
59 | # Installation Options | ||
60 | # | ||
61 | # CONFIG_INSTALL_NO_USR is not set | ||
62 | CONFIG_INSTALL_APPLET_SYMLINKS=y | ||
63 | # CONFIG_INSTALL_APPLET_HARDLINKS is not set | ||
64 | # CONFIG_INSTALL_APPLET_DONT is not set | ||
65 | CONFIG_PREFIX="./_install" | ||
66 | |||
67 | # | ||
68 | # Busybox Library Tuning | ||
69 | # | ||
70 | CONFIG_PASSWORD_MINLEN=6 | ||
71 | CONFIG_MD5_SIZE_VS_SPEED=2 | ||
72 | CONFIG_FEATURE_FAST_TOP=y | ||
73 | # CONFIG_FEATURE_ETC_NETWORKS is not set | ||
74 | CONFIG_FEATURE_EDITING=y | ||
75 | CONFIG_FEATURE_EDITING_MAX_LEN=1024 | ||
76 | # CONFIG_FEATURE_EDITING_FANCY_KEYS is not set | ||
77 | # CONFIG_FEATURE_EDITING_VI is not set | ||
78 | CONFIG_FEATURE_EDITING_HISTORY=15 | ||
79 | CONFIG_FEATURE_EDITING_SAVEHISTORY=y | ||
80 | CONFIG_FEATURE_TAB_COMPLETION=y | ||
81 | CONFIG_FEATURE_USERNAME_COMPLETION=y | ||
82 | CONFIG_FEATURE_EDITING_FANCY_PROMPT=y | ||
83 | CONFIG_MONOTONIC_SYSCALL=y | ||
84 | CONFIG_IOCTL_HEX2STR_ERROR=y | ||
85 | |||
86 | # | ||
87 | # Applets | ||
88 | # | ||
89 | |||
90 | # | ||
91 | # Archival Utilities | ||
92 | # | ||
93 | CONFIG_AR=y | ||
94 | # CONFIG_FEATURE_AR_LONG_FILENAMES is not set | ||
95 | CONFIG_BUNZIP2=y | ||
96 | CONFIG_CPIO=y | ||
97 | # CONFIG_DPKG is not set | ||
98 | # CONFIG_DPKG_DEB is not set | ||
99 | # CONFIG_FEATURE_DPKG_DEB_EXTRACT_ONLY is not set | ||
100 | CONFIG_GUNZIP=y | ||
101 | # CONFIG_FEATURE_GUNZIP_UNCOMPRESS is not set | ||
102 | CONFIG_GZIP=y | ||
103 | # CONFIG_RPM2CPIO is not set | ||
104 | # CONFIG_RPM is not set | ||
105 | # CONFIG_FEATURE_RPM_BZ2 is not set | ||
106 | CONFIG_TAR=y | ||
107 | CONFIG_FEATURE_TAR_CREATE=y | ||
108 | CONFIG_FEATURE_TAR_BZIP2=y | ||
109 | # CONFIG_FEATURE_TAR_LZMA is not set | ||
110 | CONFIG_FEATURE_TAR_FROM=y | ||
111 | CONFIG_FEATURE_TAR_GZIP=y | ||
112 | # CONFIG_FEATURE_TAR_COMPRESS is not set | ||
113 | # CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY is not set | ||
114 | # CONFIG_FEATURE_TAR_OLDSUN_COMPATIBILITY is not set | ||
115 | CONFIG_FEATURE_TAR_GNU_EXTENSIONS=y | ||
116 | # CONFIG_FEATURE_TAR_LONG_OPTIONS is not set | ||
117 | # CONFIG_UNCOMPRESS is not set | ||
118 | # CONFIG_UNLZMA is not set | ||
119 | # CONFIG_FEATURE_LZMA_FAST is not set | ||
120 | CONFIG_UNZIP=y | ||
121 | |||
122 | # | ||
123 | # Common options for cpio and tar | ||
124 | # | ||
125 | # CONFIG_FEATURE_UNARCHIVE_TAPE is not set | ||
126 | # CONFIG_FEATURE_DEB_TAR_GZ is not set | ||
127 | # CONFIG_FEATURE_DEB_TAR_BZ2 is not set | ||
128 | # CONFIG_FEATURE_DEB_TAR_LZMA is not set | ||
129 | |||
130 | # | ||
131 | # Coreutils | ||
132 | # | ||
133 | CONFIG_BASENAME=y | ||
134 | # CONFIG_CAL is not set | ||
135 | CONFIG_CAT=y | ||
136 | # CONFIG_CATV is not set | ||
137 | CONFIG_CHGRP=y | ||
138 | CONFIG_CHMOD=y | ||
139 | CONFIG_CHOWN=y | ||
140 | CONFIG_CHROOT=y | ||
141 | # CONFIG_CKSUM is not set | ||
142 | # CONFIG_COMM is not set | ||
143 | CONFIG_CP=y | ||
144 | CONFIG_CUT=y | ||
145 | CONFIG_DATE=y | ||
146 | # CONFIG_FEATURE_DATE_ISOFMT is not set | ||
147 | CONFIG_DD=y | ||
148 | CONFIG_FEATURE_DD_SIGNAL_HANDLING=y | ||
149 | # CONFIG_FEATURE_DD_IBS_OBS is not set | ||
150 | CONFIG_DF=y | ||
151 | CONFIG_DIRNAME=y | ||
152 | # CONFIG_DOS2UNIX is not set | ||
153 | # CONFIG_UNIX2DOS is not set | ||
154 | CONFIG_DU=y | ||
155 | CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K=y | ||
156 | CONFIG_ECHO=y | ||
157 | CONFIG_FEATURE_FANCY_ECHO=y | ||
158 | CONFIG_ENV=y | ||
159 | CONFIG_FEATURE_ENV_LONG_OPTIONS=y | ||
160 | # CONFIG_EXPAND is not set | ||
161 | # CONFIG_FEATURE_EXPAND_LONG_OPTIONS is not set | ||
162 | CONFIG_EXPR=y | ||
163 | # CONFIG_EXPR_MATH_SUPPORT_64 is not set | ||
164 | CONFIG_FALSE=y | ||
165 | # CONFIG_FOLD is not set | ||
166 | CONFIG_HEAD=y | ||
167 | # CONFIG_FEATURE_FANCY_HEAD is not set | ||
168 | # CONFIG_HOSTID is not set | ||
169 | CONFIG_ID=y | ||
170 | # CONFIG_INSTALL is not set | ||
171 | # CONFIG_FEATURE_INSTALL_LONG_OPTIONS is not set | ||
172 | # CONFIG_LENGTH is not set | ||
173 | CONFIG_LN=y | ||
174 | CONFIG_LOGNAME=y | ||
175 | CONFIG_LS=y | ||
176 | CONFIG_FEATURE_LS_FILETYPES=y | ||
177 | CONFIG_FEATURE_LS_FOLLOWLINKS=y | ||
178 | CONFIG_FEATURE_LS_RECURSIVE=y | ||
179 | CONFIG_FEATURE_LS_SORTFILES=y | ||
180 | CONFIG_FEATURE_LS_TIMESTAMPS=y | ||
181 | CONFIG_FEATURE_LS_USERNAME=y | ||
182 | CONFIG_FEATURE_LS_COLOR=y | ||
183 | # CONFIG_FEATURE_LS_COLOR_IS_DEFAULT is not set | ||
184 | CONFIG_MD5SUM=y | ||
185 | CONFIG_MKDIR=y | ||
186 | CONFIG_FEATURE_MKDIR_LONG_OPTIONS=y | ||
187 | CONFIG_MKFIFO=y | ||
188 | CONFIG_MKNOD=y | ||
189 | CONFIG_MV=y | ||
190 | # CONFIG_FEATURE_MV_LONG_OPTIONS is not set | ||
191 | # CONFIG_NICE is not set | ||
192 | CONFIG_NOHUP=y | ||
193 | CONFIG_OD=y | ||
194 | # CONFIG_PRINTENV is not set | ||
195 | CONFIG_PRINTF=y | ||
196 | CONFIG_PWD=y | ||
197 | CONFIG_READLINK=y | ||
198 | CONFIG_FEATURE_READLINK_FOLLOW=y | ||
199 | CONFIG_REALPATH=y | ||
200 | CONFIG_RM=y | ||
201 | CONFIG_RMDIR=y | ||
202 | CONFIG_SEQ=y | ||
203 | # CONFIG_SHA1SUM is not set | ||
204 | CONFIG_SLEEP=y | ||
205 | CONFIG_FEATURE_FANCY_SLEEP=y | ||
206 | CONFIG_SORT=y | ||
207 | CONFIG_FEATURE_SORT_BIG=y | ||
208 | # CONFIG_SPLIT is not set | ||
209 | # CONFIG_FEATURE_SPLIT_FANCY is not set | ||
210 | # CONFIG_STAT is not set | ||
211 | # CONFIG_FEATURE_STAT_FORMAT is not set | ||
212 | CONFIG_STTY=y | ||
213 | # CONFIG_SUM is not set | ||
214 | CONFIG_SYNC=y | ||
215 | CONFIG_TAIL=y | ||
216 | CONFIG_FEATURE_FANCY_TAIL=y | ||
217 | CONFIG_TEE=y | ||
218 | # CONFIG_FEATURE_TEE_USE_BLOCK_IO is not set | ||
219 | CONFIG_TEST=y | ||
220 | # CONFIG_FEATURE_TEST_64 is not set | ||
221 | CONFIG_TOUCH=y | ||
222 | CONFIG_TR=y | ||
223 | CONFIG_FEATURE_TR_CLASSES=y | ||
224 | # CONFIG_FEATURE_TR_EQUIV is not set | ||
225 | CONFIG_TRUE=y | ||
226 | CONFIG_TTY=y | ||
227 | CONFIG_UNAME=y | ||
228 | # CONFIG_UNEXPAND is not set | ||
229 | # CONFIG_FEATURE_UNEXPAND_LONG_OPTIONS is not set | ||
230 | CONFIG_UNIQ=y | ||
231 | CONFIG_USLEEP=y | ||
232 | # CONFIG_UUDECODE is not set | ||
233 | # CONFIG_UUENCODE is not set | ||
234 | CONFIG_WC=y | ||
235 | # CONFIG_FEATURE_WC_LARGE is not set | ||
236 | CONFIG_WHO=y | ||
237 | CONFIG_WHOAMI=y | ||
238 | CONFIG_YES=y | ||
239 | |||
240 | # | ||
241 | # Common options for cp and mv | ||
242 | # | ||
243 | # CONFIG_FEATURE_PRESERVE_HARDLINKS is not set | ||
244 | |||
245 | # | ||
246 | # Common options for ls, more and telnet | ||
247 | # | ||
248 | CONFIG_FEATURE_AUTOWIDTH=y | ||
249 | |||
250 | # | ||
251 | # Common options for df, du, ls | ||
252 | # | ||
253 | CONFIG_FEATURE_HUMAN_READABLE=y | ||
254 | |||
255 | # | ||
256 | # Common options for md5sum, sha1sum | ||
257 | # | ||
258 | CONFIG_FEATURE_MD5_SHA1_SUM_CHECK=y | ||
259 | |||
260 | # | ||
261 | # Console Utilities | ||
262 | # | ||
263 | CONFIG_CHVT=y | ||
264 | CONFIG_CLEAR=y | ||
265 | CONFIG_DEALLOCVT=y | ||
266 | CONFIG_DUMPKMAP=y | ||
267 | CONFIG_LOADFONT=y | ||
268 | CONFIG_LOADKMAP=y | ||
269 | CONFIG_OPENVT=y | ||
270 | CONFIG_RESET=y | ||
271 | # CONFIG_RESIZE is not set | ||
272 | # CONFIG_FEATURE_RESIZE_PRINT is not set | ||
273 | CONFIG_SETCONSOLE=y | ||
274 | # CONFIG_FEATURE_SETCONSOLE_LONG_OPTIONS is not set | ||
275 | # CONFIG_SETKEYCODES is not set | ||
276 | # CONFIG_SETLOGCONS is not set | ||
277 | |||
278 | # | ||
279 | # Debian Utilities | ||
280 | # | ||
281 | CONFIG_MKTEMP=y | ||
282 | # CONFIG_PIPE_PROGRESS is not set | ||
283 | CONFIG_RUN_PARTS=y | ||
284 | # CONFIG_FEATURE_RUN_PARTS_LONG_OPTIONS is not set | ||
285 | # CONFIG_FEATURE_RUN_PARTS_FANCY is not set | ||
286 | CONFIG_START_STOP_DAEMON=y | ||
287 | CONFIG_FEATURE_START_STOP_DAEMON_FANCY=y | ||
288 | CONFIG_FEATURE_START_STOP_DAEMON_LONG_OPTIONS=y | ||
289 | CONFIG_WHICH=y | ||
290 | |||
291 | # | ||
292 | # Editors | ||
293 | # | ||
294 | CONFIG_AWK=y | ||
295 | CONFIG_FEATURE_AWK_MATH=y | ||
296 | # CONFIG_CMP is not set | ||
297 | CONFIG_DIFF=y | ||
298 | CONFIG_FEATURE_DIFF_BINARY=y | ||
299 | CONFIG_FEATURE_DIFF_DIR=y | ||
300 | # CONFIG_FEATURE_DIFF_MINIMAL is not set | ||
301 | # CONFIG_ED is not set | ||
302 | CONFIG_PATCH=y | ||
303 | CONFIG_SED=y | ||
304 | CONFIG_VI=y | ||
305 | CONFIG_FEATURE_VI_MAX_LEN=1024 | ||
306 | CONFIG_FEATURE_VI_COLON=y | ||
307 | CONFIG_FEATURE_VI_YANKMARK=y | ||
308 | CONFIG_FEATURE_VI_SEARCH=y | ||
309 | CONFIG_FEATURE_VI_USE_SIGNALS=y | ||
310 | # CONFIG_FEATURE_VI_DOT_CMD is not set | ||
311 | # CONFIG_FEATURE_VI_READONLY is not set | ||
312 | # CONFIG_FEATURE_VI_SETOPTS is not set | ||
313 | # CONFIG_FEATURE_VI_SET is not set | ||
314 | CONFIG_FEATURE_VI_WIN_RESIZE=y | ||
315 | CONFIG_FEATURE_VI_OPTIMIZE_CURSOR=y | ||
316 | CONFIG_FEATURE_ALLOW_EXEC=y | ||
317 | |||
318 | # | ||
319 | # Finding Utilities | ||
320 | # | ||
321 | CONFIG_FIND=y | ||
322 | CONFIG_FEATURE_FIND_PRINT0=y | ||
323 | CONFIG_FEATURE_FIND_MTIME=y | ||
324 | CONFIG_FEATURE_FIND_MMIN=y | ||
325 | CONFIG_FEATURE_FIND_PERM=y | ||
326 | CONFIG_FEATURE_FIND_TYPE=y | ||
327 | CONFIG_FEATURE_FIND_XDEV=y | ||
328 | CONFIG_FEATURE_FIND_MAXDEPTH=y | ||
329 | CONFIG_FEATURE_FIND_NEWER=y | ||
330 | # CONFIG_FEATURE_FIND_INUM is not set | ||
331 | CONFIG_FEATURE_FIND_EXEC=y | ||
332 | CONFIG_FEATURE_FIND_USER=y | ||
333 | CONFIG_FEATURE_FIND_GROUP=y | ||
334 | CONFIG_FEATURE_FIND_NOT=y | ||
335 | CONFIG_FEATURE_FIND_DEPTH=y | ||
336 | CONFIG_FEATURE_FIND_PAREN=y | ||
337 | CONFIG_FEATURE_FIND_SIZE=y | ||
338 | CONFIG_FEATURE_FIND_PRUNE=y | ||
339 | # CONFIG_FEATURE_FIND_DELETE is not set | ||
340 | CONFIG_FEATURE_FIND_PATH=y | ||
341 | CONFIG_FEATURE_FIND_REGEX=y | ||
342 | # CONFIG_FEATURE_FIND_CONTEXT is not set | ||
343 | CONFIG_GREP=y | ||
344 | CONFIG_FEATURE_GREP_EGREP_ALIAS=y | ||
345 | CONFIG_FEATURE_GREP_FGREP_ALIAS=y | ||
346 | CONFIG_FEATURE_GREP_CONTEXT=y | ||
347 | CONFIG_XARGS=y | ||
348 | # CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION is not set | ||
349 | # CONFIG_FEATURE_XARGS_SUPPORT_QUOTES is not set | ||
350 | # CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT is not set | ||
351 | # CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM is not set | ||
352 | |||
353 | # | ||
354 | # Init Utilities | ||
355 | # | ||
356 | # CONFIG_INIT is not set | ||
357 | # CONFIG_DEBUG_INIT is not set | ||
358 | # CONFIG_FEATURE_USE_INITTAB is not set | ||
359 | # CONFIG_FEATURE_INIT_SCTTY is not set | ||
360 | # CONFIG_FEATURE_INIT_SYSLOG is not set | ||
361 | # CONFIG_FEATURE_EXTRA_QUIET is not set | ||
362 | # CONFIG_FEATURE_INIT_COREDUMPS is not set | ||
363 | # CONFIG_FEATURE_INITRD is not set | ||
364 | # CONFIG_HALT is not set | ||
365 | # CONFIG_MESG is not set | ||
366 | |||
367 | # | ||
368 | # Login/Password Management Utilities | ||
369 | # | ||
370 | # CONFIG_FEATURE_SHADOWPASSWDS is not set | ||
371 | # CONFIG_USE_BB_SHADOW is not set | ||
372 | # CONFIG_USE_BB_PWD_GRP is not set | ||
373 | # CONFIG_ADDGROUP is not set | ||
374 | # CONFIG_FEATURE_ADDUSER_TO_GROUP is not set | ||
375 | # CONFIG_DELGROUP is not set | ||
376 | # CONFIG_FEATURE_DEL_USER_FROM_GROUP is not set | ||
377 | # CONFIG_ADDUSER is not set | ||
378 | # CONFIG_DELUSER is not set | ||
379 | # CONFIG_GETTY is not set | ||
380 | CONFIG_FEATURE_UTMP=y | ||
381 | # CONFIG_FEATURE_WTMP is not set | ||
382 | # CONFIG_LOGIN is not set | ||
383 | # CONFIG_PAM is not set | ||
384 | # CONFIG_LOGIN_SCRIPTS is not set | ||
385 | # CONFIG_FEATURE_NOLOGIN is not set | ||
386 | # CONFIG_FEATURE_SECURETTY is not set | ||
387 | # CONFIG_PASSWD is not set | ||
388 | # CONFIG_FEATURE_PASSWD_WEAK_CHECK is not set | ||
389 | # CONFIG_CRYPTPW is not set | ||
390 | # CONFIG_CHPASSWD is not set | ||
391 | # CONFIG_SU is not set | ||
392 | # CONFIG_FEATURE_SU_SYSLOG is not set | ||
393 | # CONFIG_FEATURE_SU_CHECKS_SHELLS is not set | ||
394 | # CONFIG_SULOGIN is not set | ||
395 | # CONFIG_VLOCK is not set | ||
396 | |||
397 | # | ||
398 | # Linux Ext2 FS Progs | ||
399 | # | ||
400 | CONFIG_CHATTR=y | ||
401 | CONFIG_FSCK=y | ||
402 | # CONFIG_LSATTR is not set | ||
403 | |||
404 | # | ||
405 | # Linux Module Utilities | ||
406 | # | ||
407 | CONFIG_INSMOD=y | ||
408 | # CONFIG_FEATURE_INSMOD_VERSION_CHECKING is not set | ||
409 | # CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS is not set | ||
410 | # CONFIG_FEATURE_INSMOD_LOADINKMEM is not set | ||
411 | # CONFIG_FEATURE_INSMOD_LOAD_MAP is not set | ||
412 | # CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL is not set | ||
413 | CONFIG_RMMOD=y | ||
414 | CONFIG_LSMOD=y | ||
415 | # CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT is not set | ||
416 | CONFIG_MODPROBE=y | ||
417 | CONFIG_FEATURE_MODPROBE_MULTIPLE_OPTIONS=y | ||
418 | CONFIG_FEATURE_MODPROBE_FANCY_ALIAS=y | ||
419 | |||
420 | # | ||
421 | # Options common to multiple modutils | ||
422 | # | ||
423 | CONFIG_FEATURE_CHECK_TAINTED_MODULE=y | ||
424 | # CONFIG_FEATURE_2_4_MODULES is not set | ||
425 | CONFIG_FEATURE_2_6_MODULES=y | ||
426 | # CONFIG_FEATURE_QUERY_MODULE_INTERFACE is not set | ||
427 | |||
428 | # | ||
429 | # Linux System Utilities | ||
430 | # | ||
431 | CONFIG_DMESG=y | ||
432 | CONFIG_FEATURE_DMESG_PRETTY=y | ||
433 | CONFIG_FBSET=y | ||
434 | CONFIG_FEATURE_FBSET_FANCY=y | ||
435 | CONFIG_FEATURE_FBSET_READMODE=y | ||
436 | # CONFIG_FDFLUSH is not set | ||
437 | # CONFIG_FDFORMAT is not set | ||
438 | CONFIG_FDISK=y | ||
439 | CONFIG_FDISK_SUPPORT_LARGE_DISKS=y | ||
440 | CONFIG_FEATURE_FDISK_WRITABLE=y | ||
441 | # CONFIG_FEATURE_AIX_LABEL is not set | ||
442 | # CONFIG_FEATURE_SGI_LABEL is not set | ||
443 | # CONFIG_FEATURE_SUN_LABEL is not set | ||
444 | # CONFIG_FEATURE_OSF_LABEL is not set | ||
445 | # CONFIG_FEATURE_FDISK_ADVANCED is not set | ||
446 | # CONFIG_FREERAMDISK is not set | ||
447 | CONFIG_FSCK_MINIX=y | ||
448 | CONFIG_MKFS_MINIX=y | ||
449 | |||
450 | # | ||
451 | # Minix filesystem support | ||
452 | # | ||
453 | CONFIG_FEATURE_MINIX2=y | ||
454 | # CONFIG_GETOPT is not set | ||
455 | CONFIG_HEXDUMP=y | ||
456 | CONFIG_HWCLOCK=y | ||
457 | CONFIG_FEATURE_HWCLOCK_LONG_OPTIONS=y | ||
458 | CONFIG_FEATURE_HWCLOCK_ADJTIME_FHS=y | ||
459 | # CONFIG_IPCRM is not set | ||
460 | # CONFIG_IPCS is not set | ||
461 | CONFIG_LOSETUP=y | ||
462 | # CONFIG_MDEV is not set | ||
463 | # CONFIG_FEATURE_MDEV_CONF is not set | ||
464 | # CONFIG_FEATURE_MDEV_EXEC is not set | ||
465 | # CONFIG_FEATURE_MDEV_LOAD_FIRMWARE is not set | ||
466 | CONFIG_MKSWAP=y | ||
467 | # CONFIG_FEATURE_MKSWAP_V0 is not set | ||
468 | CONFIG_MORE=y | ||
469 | CONFIG_FEATURE_USE_TERMIOS=y | ||
470 | CONFIG_MOUNT=y | ||
471 | CONFIG_FEATURE_MOUNT_NFS=y | ||
472 | # CONFIG_FEATURE_MOUNT_CIFS is not set | ||
473 | CONFIG_FEATURE_MOUNT_FLAGS=y | ||
474 | CONFIG_FEATURE_MOUNT_FSTAB=y | ||
475 | CONFIG_PIVOT_ROOT=y | ||
476 | CONFIG_RDATE=y | ||
477 | # CONFIG_READPROFILE is not set | ||
478 | # CONFIG_SETARCH is not set | ||
479 | CONFIG_SWAPONOFF=y | ||
480 | CONFIG_SWITCH_ROOT=y | ||
481 | CONFIG_UMOUNT=y | ||
482 | # CONFIG_FEATURE_UMOUNT_ALL is not set | ||
483 | |||
484 | # | ||
485 | # Common options for mount/umount | ||
486 | # | ||
487 | CONFIG_FEATURE_MOUNT_LOOP=y | ||
488 | # CONFIG_FEATURE_MTAB_SUPPORT is not set | ||
489 | |||
490 | # | ||
491 | # Miscellaneous Utilities | ||
492 | # | ||
493 | # CONFIG_ADJTIMEX is not set | ||
494 | # CONFIG_BBCONFIG is not set | ||
495 | # CONFIG_CHRT is not set | ||
496 | # CONFIG_CROND is not set | ||
497 | # CONFIG_DEBUG_CROND_OPTION is not set | ||
498 | # CONFIG_FEATURE_CROND_CALL_SENDMAIL is not set | ||
499 | # CONFIG_CRONTAB is not set | ||
500 | CONFIG_DC=y | ||
501 | # CONFIG_DEVFSD is not set | ||
502 | # CONFIG_DEVFSD_MODLOAD is not set | ||
503 | # CONFIG_DEVFSD_FG_NP is not set | ||
504 | # CONFIG_DEVFSD_VERBOSE is not set | ||
505 | # CONFIG_FEATURE_DEVFS is not set | ||
506 | # CONFIG_EJECT is not set | ||
507 | # CONFIG_LAST is not set | ||
508 | CONFIG_LESS=y | ||
509 | CONFIG_FEATURE_LESS_MAXLINES=9999999 | ||
510 | CONFIG_FEATURE_LESS_BRACKETS=y | ||
511 | CONFIG_FEATURE_LESS_FLAGS=y | ||
512 | # CONFIG_FEATURE_LESS_FLAGCS is not set | ||
513 | # CONFIG_FEATURE_LESS_MARKS is not set | ||
514 | # CONFIG_FEATURE_LESS_REGEXP is not set | ||
515 | # CONFIG_HDPARM is not set | ||
516 | # CONFIG_FEATURE_HDPARM_GET_IDENTITY is not set | ||
517 | # CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF is not set | ||
518 | # CONFIG_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF is not set | ||
519 | # CONFIG_FEATURE_HDPARM_HDIO_DRIVE_RESET is not set | ||
520 | # CONFIG_FEATURE_HDPARM_HDIO_TRISTATE_HWIF is not set | ||
521 | # CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA is not set | ||
522 | # CONFIG_MAKEDEVS is not set | ||
523 | # CONFIG_FEATURE_MAKEDEVS_LEAF is not set | ||
524 | # CONFIG_FEATURE_MAKEDEVS_TABLE is not set | ||
525 | # CONFIG_MOUNTPOINT is not set | ||
526 | # CONFIG_MT is not set | ||
527 | # CONFIG_RAIDAUTORUN is not set | ||
528 | # CONFIG_READAHEAD is not set | ||
529 | # CONFIG_RUNLEVEL is not set | ||
530 | # CONFIG_RX is not set | ||
531 | CONFIG_STRINGS=y | ||
532 | # CONFIG_SETSID is not set | ||
533 | # CONFIG_TASKSET is not set | ||
534 | # CONFIG_FEATURE_TASKSET_FANCY is not set | ||
535 | CONFIG_TIME=y | ||
536 | # CONFIG_TTYSIZE is not set | ||
537 | # CONFIG_WATCHDOG is not set | ||
538 | |||
539 | # | ||
540 | # Networking Utilities | ||
541 | # | ||
542 | CONFIG_FEATURE_IPV6=y | ||
543 | # CONFIG_VERBOSE_RESOLUTION_ERRORS is not set | ||
544 | # CONFIG_ARP is not set | ||
545 | # CONFIG_ARPING is not set | ||
546 | # CONFIG_DNSD is not set | ||
547 | # CONFIG_ETHER_WAKE is not set | ||
548 | # CONFIG_FAKEIDENTD is not set | ||
549 | # CONFIG_FTPGET is not set | ||
550 | # CONFIG_FTPPUT is not set | ||
551 | # CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS is not set | ||
552 | CONFIG_HOSTNAME=y | ||
553 | # CONFIG_HTTPD is not set | ||
554 | # CONFIG_FEATURE_HTTPD_USE_SENDFILE is not set | ||
555 | # CONFIG_FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP is not set | ||
556 | # CONFIG_FEATURE_HTTPD_SETUID is not set | ||
557 | # CONFIG_FEATURE_HTTPD_BASIC_AUTH is not set | ||
558 | # CONFIG_FEATURE_HTTPD_AUTH_MD5 is not set | ||
559 | # CONFIG_FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES is not set | ||
560 | # CONFIG_FEATURE_HTTPD_CGI is not set | ||
561 | # CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR is not set | ||
562 | # CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV is not set | ||
563 | # CONFIG_FEATURE_HTTPD_ENCODE_URL_STR is not set | ||
564 | # CONFIG_FEATURE_HTTPD_ERROR_PAGES is not set | ||
565 | CONFIG_IFCONFIG=y | ||
566 | CONFIG_FEATURE_IFCONFIG_STATUS=y | ||
567 | # CONFIG_FEATURE_IFCONFIG_SLIP is not set | ||
568 | # CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ is not set | ||
569 | CONFIG_FEATURE_IFCONFIG_HW=y | ||
570 | # CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS is not set | ||
571 | CONFIG_IFUPDOWN=y | ||
572 | CONFIG_IFUPDOWN_IFSTATE_PATH="/var/run/ifstate" | ||
573 | # CONFIG_FEATURE_IFUPDOWN_IP is not set | ||
574 | # CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN is not set | ||
575 | CONFIG_FEATURE_IFUPDOWN_IFCONFIG_BUILTIN=y | ||
576 | CONFIG_FEATURE_IFUPDOWN_IPV4=y | ||
577 | CONFIG_FEATURE_IFUPDOWN_IPV6=y | ||
578 | CONFIG_FEATURE_IFUPDOWN_MAPPING=y | ||
579 | # CONFIG_FEATURE_IFUPDOWN_EXTERNAL_DHCP is not set | ||
580 | # CONFIG_INETD is not set | ||
581 | # CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_ECHO is not set | ||
582 | # CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD is not set | ||
583 | # CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_TIME is not set | ||
584 | # CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME is not set | ||
585 | # CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN is not set | ||
586 | # CONFIG_FEATURE_INETD_RPC is not set | ||
587 | CONFIG_IP=y | ||
588 | CONFIG_FEATURE_IP_ADDRESS=y | ||
589 | CONFIG_FEATURE_IP_LINK=y | ||
590 | CONFIG_FEATURE_IP_ROUTE=y | ||
591 | CONFIG_FEATURE_IP_TUNNEL=y | ||
592 | # CONFIG_FEATURE_IP_RULE is not set | ||
593 | # CONFIG_FEATURE_IP_SHORT_FORMS is not set | ||
594 | # CONFIG_IPADDR is not set | ||
595 | # CONFIG_IPLINK is not set | ||
596 | # CONFIG_IPROUTE is not set | ||
597 | # CONFIG_IPTUNNEL is not set | ||
598 | # CONFIG_IPRULE is not set | ||
599 | # CONFIG_IPCALC is not set | ||
600 | # CONFIG_FEATURE_IPCALC_FANCY is not set | ||
601 | # CONFIG_FEATURE_IPCALC_LONG_OPTIONS is not set | ||
602 | # CONFIG_NAMEIF is not set | ||
603 | CONFIG_NC=y | ||
604 | # CONFIG_NC_SERVER is not set | ||
605 | # CONFIG_NC_EXTRA is not set | ||
606 | CONFIG_NETSTAT=y | ||
607 | # CONFIG_FEATURE_NETSTAT_WIDE is not set | ||
608 | CONFIG_NSLOOKUP=y | ||
609 | CONFIG_PING=y | ||
610 | CONFIG_PING6=y | ||
611 | # CONFIG_PSCAN is not set | ||
612 | CONFIG_FEATURE_FANCY_PING=y | ||
613 | CONFIG_ROUTE=y | ||
614 | # CONFIG_SLATTACH is not set | ||
615 | CONFIG_TELNET=y | ||
616 | # CONFIG_FEATURE_TELNET_TTYPE is not set | ||
617 | CONFIG_FEATURE_TELNET_AUTOLOGIN=y | ||
618 | # CONFIG_TELNETD is not set | ||
619 | # CONFIG_FEATURE_TELNETD_STANDALONE is not set | ||
620 | CONFIG_TFTP=y | ||
621 | CONFIG_FEATURE_TFTP_GET=y | ||
622 | CONFIG_FEATURE_TFTP_PUT=y | ||
623 | # CONFIG_FEATURE_TFTP_BLOCKSIZE is not set | ||
624 | # CONFIG_DEBUG_TFTP is not set | ||
625 | CONFIG_TRACEROUTE=y | ||
626 | # CONFIG_FEATURE_TRACEROUTE_VERBOSE is not set | ||
627 | # CONFIG_FEATURE_TRACEROUTE_SOURCE_ROUTE is not set | ||
628 | # CONFIG_FEATURE_TRACEROUTE_USE_ICMP is not set | ||
629 | CONFIG_APP_UDHCPD=y | ||
630 | # CONFIG_APP_DHCPRELAY is not set | ||
631 | CONFIG_APP_DUMPLEASES=y | ||
632 | # CONFIG_FEATURE_UDHCPD_WRITE_LEASES_EARLY is not set | ||
633 | CONFIG_APP_UDHCPC=y | ||
634 | # CONFIG_FEATURE_UDHCP_DEBUG is not set | ||
635 | # CONFIG_FEATURE_RFC3397 is not set | ||
636 | # CONFIG_VCONFIG is not set | ||
637 | CONFIG_WGET=y | ||
638 | CONFIG_FEATURE_WGET_STATUSBAR=y | ||
639 | CONFIG_FEATURE_WGET_AUTHENTICATION=y | ||
640 | CONFIG_FEATURE_WGET_LONG_OPTIONS=y | ||
641 | # CONFIG_ZCIP is not set | ||
642 | |||
643 | # | ||
644 | # Process Utilities | ||
645 | # | ||
646 | CONFIG_FREE=y | ||
647 | CONFIG_FUSER=y | ||
648 | CONFIG_KILL=y | ||
649 | CONFIG_KILLALL=y | ||
650 | # CONFIG_KILLALL5 is not set | ||
651 | # CONFIG_NMETER is not set | ||
652 | CONFIG_PIDOF=y | ||
653 | # CONFIG_FEATURE_PIDOF_SINGLE is not set | ||
654 | # CONFIG_FEATURE_PIDOF_OMIT is not set | ||
655 | CONFIG_PS=y | ||
656 | CONFIG_FEATURE_PS_WIDE=y | ||
657 | CONFIG_RENICE=y | ||
658 | CONFIG_BB_SYSCTL=y | ||
659 | CONFIG_TOP=y | ||
660 | CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE=y | ||
661 | CONFIG_FEATURE_TOP_CPU_GLOBAL_PERCENTS=y | ||
662 | # CONFIG_FEATURE_TOP_DECIMALS is not set | ||
663 | CONFIG_UPTIME=y | ||
664 | CONFIG_WATCH=y | ||
665 | |||
666 | # | ||
667 | # Shells | ||
668 | # | ||
669 | CONFIG_FEATURE_SH_IS_ASH=y | ||
670 | # CONFIG_FEATURE_SH_IS_HUSH is not set | ||
671 | # CONFIG_FEATURE_SH_IS_LASH is not set | ||
672 | # CONFIG_FEATURE_SH_IS_MSH is not set | ||
673 | # CONFIG_FEATURE_SH_IS_NONE is not set | ||
674 | CONFIG_ASH=y | ||
675 | |||
676 | # | ||
677 | # Ash Shell Options | ||
678 | # | ||
679 | CONFIG_ASH_JOB_CONTROL=y | ||
680 | # CONFIG_ASH_READ_NCHARS is not set | ||
681 | # CONFIG_ASH_READ_TIMEOUT is not set | ||
682 | CONFIG_ASH_ALIAS=y | ||
683 | CONFIG_ASH_MATH_SUPPORT=y | ||
684 | # CONFIG_ASH_MATH_SUPPORT_64 is not set | ||
685 | CONFIG_ASH_GETOPTS=y | ||
686 | # CONFIG_ASH_BUILTIN_ECHO is not set | ||
687 | CONFIG_ASH_BUILTIN_TEST=y | ||
688 | # CONFIG_ASH_CMDCMD is not set | ||
689 | # CONFIG_ASH_MAIL is not set | ||
690 | CONFIG_ASH_OPTIMIZE_FOR_SIZE=y | ||
691 | # CONFIG_ASH_RANDOM_SUPPORT is not set | ||
692 | CONFIG_ASH_EXPAND_PRMT=y | ||
693 | # CONFIG_HUSH is not set | ||
694 | # CONFIG_HUSH_HELP is not set | ||
695 | # CONFIG_HUSH_INTERACTIVE is not set | ||
696 | # CONFIG_HUSH_JOB is not set | ||
697 | # CONFIG_HUSH_TICK is not set | ||
698 | # CONFIG_HUSH_IF is not set | ||
699 | # CONFIG_HUSH_LOOPS is not set | ||
700 | # CONFIG_LASH is not set | ||
701 | # CONFIG_MSH is not set | ||
702 | |||
703 | # | ||
704 | # Bourne Shell Options | ||
705 | # | ||
706 | CONFIG_FEATURE_SH_EXTRA_QUIET=y | ||
707 | # CONFIG_FEATURE_SH_STANDALONE is not set | ||
708 | # CONFIG_CTTYHACK is not set | ||
709 | |||
710 | # | ||
711 | # System Logging Utilities | ||
712 | # | ||
713 | CONFIG_SYSLOGD=y | ||
714 | CONFIG_FEATURE_ROTATE_LOGFILE=y | ||
715 | CONFIG_FEATURE_REMOTE_LOG=y | ||
716 | CONFIG_FEATURE_IPC_SYSLOG=y | ||
717 | CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=16 | ||
718 | CONFIG_LOGREAD=y | ||
719 | CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING=y | ||
720 | CONFIG_KLOGD=y | ||
721 | CONFIG_LOGGER=y | ||
722 | |||
723 | # | ||
724 | # Runit Utilities | ||
725 | # | ||
726 | # CONFIG_RUNSV is not set | ||
727 | # CONFIG_RUNSVDIR is not set | ||
728 | # CONFIG_SV is not set | ||
729 | # CONFIG_SVLOGD is not set | ||
730 | # CONFIG_CHPST is not set | ||
731 | # CONFIG_SETUIDGID is not set | ||
732 | # CONFIG_ENVUIDGID is not set | ||
733 | # CONFIG_ENVDIR is not set | ||
734 | # CONFIG_SOFTLIMIT is not set | ||
735 | # CONFIG_CHCON is not set | ||
736 | # CONFIG_FEATURE_CHCON_LONG_OPTIONS is not set | ||
737 | # CONFIG_GETENFORCE is not set | ||
738 | # CONFIG_GETSEBOOL is not set | ||
739 | # CONFIG_LOAD_POLICY is not set | ||
740 | # CONFIG_MATCHPATHCON is not set | ||
741 | # CONFIG_RESTORECON is not set | ||
742 | # CONFIG_RUNCON is not set | ||
743 | # CONFIG_FEATURE_RUNCON_LONG_OPTIONS is not set | ||
744 | # CONFIG_SELINUXENABLED is not set | ||
745 | # CONFIG_SETENFORCE is not set | ||
746 | # CONFIG_SETFILES is not set | ||
747 | # CONFIG_FEATURE_SETFILES_CHECK_OPTION is not set | ||
748 | |||
749 | # | ||
750 | # ipsvd utilities | ||
751 | # | ||
752 | # CONFIG_TCPSVD is not set | ||
753 | # CONFIG_UDPSVD is not set | ||
diff --git a/meta/packages/busybox/busybox-1.7.2/run_parts.c b/meta/packages/busybox/busybox-1.7.2/run_parts.c new file mode 100644 index 0000000000..56f70c6eea --- /dev/null +++ b/meta/packages/busybox/busybox-1.7.2/run_parts.c | |||
@@ -0,0 +1,174 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
2 | /* | ||
3 | * Mini run-parts implementation for busybox | ||
4 | * | ||
5 | * Copyright (C) 2007 Bernhard Fischer | ||
6 | * | ||
7 | * Based on a older version that was in busybox which was 1k big.. | ||
8 | * Copyright (C) 2001 by Emanuele Aina <emanuele.aina@tiscali.it> | ||
9 | * | ||
10 | * Based on the Debian run-parts program, version 1.15 | ||
11 | * Copyright (C) 1996 Jeff Noxon <jeff@router.patch.net>, | ||
12 | * Copyright (C) 1996-1999 Guy Maor <maor@debian.org> | ||
13 | * | ||
14 | * | ||
15 | * Licensed under GPL v2 or later, see file LICENSE in this tarball for details. | ||
16 | */ | ||
17 | |||
18 | /* This is my first attempt to write a program in C (well, this is my first | ||
19 | * attempt to write a program! :-) . */ | ||
20 | |||
21 | /* This piece of code is heavily based on the original version of run-parts, | ||
22 | * taken from debian-utils. I've only removed the long options and a the | ||
23 | * report mode. As the original run-parts support only long options, I've | ||
24 | * broken compatibility because the BusyBox policy doesn't allow them. | ||
25 | * The supported options are: | ||
26 | * -t test. Print the name of the files to be executed, without | ||
27 | * execute them. | ||
28 | * -a ARG argument. Pass ARG as an argument the program executed. It can | ||
29 | * be repeated to pass multiple arguments. | ||
30 | * -u MASK umask. Set the umask of the program executed to MASK. | ||
31 | */ | ||
32 | |||
33 | #include <getopt.h> | ||
34 | |||
35 | #include "libbb.h" | ||
36 | |||
37 | struct globals { | ||
38 | char **names; | ||
39 | int cur; | ||
40 | char *cmd[1]; | ||
41 | }; | ||
42 | #define G (*(struct globals*)&bb_common_bufsiz1) | ||
43 | #define names (G.names) | ||
44 | #define cur (G.cur ) | ||
45 | #define cmd (G.cmd ) | ||
46 | |||
47 | enum { NUM_CMD = (COMMON_BUFSIZE - sizeof(struct globals)) / sizeof(cmd[0]) }; | ||
48 | |||
49 | enum { | ||
50 | RUN_PARTS_OPT_a = (1 << 0), | ||
51 | RUN_PARTS_OPT_u = (1 << 1), | ||
52 | RUN_PARTS_OPT_t = (1 << 2), | ||
53 | RUN_PARTS_OPT_l = (1 << 3) * ENABLE_FEATURE_RUN_PARTS_FANCY, | ||
54 | }; | ||
55 | |||
56 | #if ENABLE_FEATURE_RUN_PARTS_FANCY | ||
57 | #define list_mode (option_mask32 & RUN_PARTS_OPT_l) | ||
58 | #else | ||
59 | #define list_mode 0 | ||
60 | #endif | ||
61 | |||
62 | /* Is this a valid filename (upper/lower alpha, digits, | ||
63 | * underscores, and hyphens only?) | ||
64 | */ | ||
65 | static bool invalid_name(const char *c) | ||
66 | { | ||
67 | c = bb_basename(c); | ||
68 | |||
69 | while (*c && (isalnum(*c) || *c == '_' || *c == '-')) | ||
70 | c++; | ||
71 | |||
72 | return *c; /* TRUE (!0) if terminating NUL is not reached */ | ||
73 | } | ||
74 | |||
75 | static int bb_alphasort(const void *p1, const void *p2) | ||
76 | { | ||
77 | return strcmp(*(char **) p1, *(char **) p2); | ||
78 | } | ||
79 | |||
80 | static int act(const char *file, struct stat *statbuf, void *args, int depth) | ||
81 | { | ||
82 | if (depth == 1) | ||
83 | return TRUE; | ||
84 | |||
85 | if (depth == 2 | ||
86 | && ( !(statbuf->st_mode & (S_IFREG | S_IFLNK)) | ||
87 | || invalid_name(file) | ||
88 | || (!list_mode && access(file, X_OK) != 0)) | ||
89 | ) { | ||
90 | return SKIP; | ||
91 | } | ||
92 | |||
93 | names = xrealloc(names, (cur + 2) * sizeof(names[0])); | ||
94 | names[cur++] = xstrdup(file); | ||
95 | names[cur] = NULL; | ||
96 | |||
97 | return TRUE; | ||
98 | } | ||
99 | |||
100 | #if ENABLE_FEATURE_RUN_PARTS_LONG_OPTIONS | ||
101 | static const char runparts_longopts[] ALIGN1 = | ||
102 | "arg\0" Required_argument "a" | ||
103 | "umask\0" Required_argument "u" | ||
104 | "test\0" No_argument "t" | ||
105 | #if ENABLE_FEATURE_RUN_PARTS_FANCY | ||
106 | "list\0" No_argument "l" | ||
107 | //TODO: "reverse\0" No_argument "r" | ||
108 | //TODO: "verbose\0" No_argument "v" | ||
109 | #endif | ||
110 | ; | ||
111 | #endif | ||
112 | |||
113 | int run_parts_main(int argc, char **argv); | ||
114 | int run_parts_main(int argc, char **argv) | ||
115 | { | ||
116 | const char *umask_p = "22"; | ||
117 | llist_t *arg_list = NULL; | ||
118 | unsigned n; | ||
119 | int ret; | ||
120 | |||
121 | #if ENABLE_FEATURE_RUN_PARTS_LONG_OPTIONS | ||
122 | applet_long_options = runparts_longopts; | ||
123 | #endif | ||
124 | /* We require exactly one argument: the directory name */ | ||
125 | opt_complementary = "=1:a::"; | ||
126 | getopt32(argv, "a:u:t"USE_FEATURE_RUN_PARTS_FANCY("l"), &arg_list, &umask_p); | ||
127 | |||
128 | umask(xstrtou_range(umask_p, 8, 0, 07777)); | ||
129 | |||
130 | n = 1; | ||
131 | while (arg_list && n < NUM_CMD) { | ||
132 | cmd[n] = arg_list->data; | ||
133 | arg_list = arg_list->link; | ||
134 | n++; | ||
135 | } | ||
136 | /* cmd[n] = NULL; - is already zeroed out */ | ||
137 | |||
138 | /* run-parts has to sort executables by name before running them */ | ||
139 | |||
140 | recursive_action(argv[optind], | ||
141 | ACTION_RECURSE|ACTION_FOLLOWLINKS, | ||
142 | act, /* file action */ | ||
143 | act, /* dir action */ | ||
144 | NULL, /* user data */ | ||
145 | 1 /* depth */ | ||
146 | ); | ||
147 | |||
148 | if (!names) | ||
149 | return 0; | ||
150 | |||
151 | qsort(names, cur, sizeof(char *), bb_alphasort); | ||
152 | |||
153 | n = 0; | ||
154 | while (1) { | ||
155 | char *name = *names++; | ||
156 | if (!name) | ||
157 | break; | ||
158 | if (option_mask32 & (RUN_PARTS_OPT_t | RUN_PARTS_OPT_l)) { | ||
159 | puts(name); | ||
160 | continue; | ||
161 | } | ||
162 | cmd[0] = name; | ||
163 | ret = wait4pid(spawn(cmd)); | ||
164 | if (ret == 0) | ||
165 | continue; | ||
166 | n = 1; | ||
167 | if (ret < 0) | ||
168 | bb_perror_msg("failed to exec %s", name); | ||
169 | else /* ret > 0 */ | ||
170 | bb_error_msg("%s exited with return code %d", name, ret); | ||
171 | } | ||
172 | |||
173 | return n; | ||
174 | } | ||
diff --git a/meta/packages/busybox/busybox-1.7.2/udhcpscript.patch b/meta/packages/busybox/busybox-1.7.2/udhcpscript.patch new file mode 100644 index 0000000000..fc21d440cd --- /dev/null +++ b/meta/packages/busybox/busybox-1.7.2/udhcpscript.patch | |||
@@ -0,0 +1,17 @@ | |||
1 | |||
2 | # | ||
3 | # Patch managed by http://www.holgerschurig.de/patcher.html | ||
4 | # | ||
5 | |||
6 | --- busybox-1.00-rc3/examples/udhcp/simple.script~udhcpscript | ||
7 | +++ busybox-1.00-rc3/examples/udhcp/simple.script | ||
8 | @@ -17,8 +17,7 @@ | ||
9 | /sbin/ifconfig $interface $ip $BROADCAST $NETMASK | ||
10 | |||
11 | if [ -n "$router" ] ; then | ||
12 | - echo "deleting routers" | ||
13 | - while route del default gw 0.0.0.0 dev $interface ; do | ||
14 | + while route del default gw 0.0.0.0 dev $interface 2>/dev/null ; do | ||
15 | : | ||
16 | done | ||
17 | |||
diff --git a/meta/packages/busybox/busybox.inc b/meta/packages/busybox/busybox.inc new file mode 100644 index 0000000000..ab17d96db4 --- /dev/null +++ b/meta/packages/busybox/busybox.inc | |||
@@ -0,0 +1,64 @@ | |||
1 | DESCRIPTION = "BusyBox combines tiny versions of many common UNIX utilities into a single \ | ||
2 | small executable. It provides minimalist replacements for most of the \ | ||
3 | utilities you usually find in GNU fileutils, shellutils, etc. The utilities \ | ||
4 | in BusyBox generally have fewer options than their full-featured GNU \ | ||
5 | cousins; however, the options that are included provide the expected \ | ||
6 | functionality and behave very much like their GNU counterparts. BusyBox \ | ||
7 | provides a fairly complete POSIX environment for any small or embedded \ | ||
8 | system." | ||
9 | HOMEPAGE = "http://www.busybox.net" | ||
10 | LICENSE = "GPL" | ||
11 | SECTION = "base" | ||
12 | PRIORITY = "required" | ||
13 | |||
14 | SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.gz \ | ||
15 | file://busybox-cron \ | ||
16 | file://busybox-httpd \ | ||
17 | file://busybox-udhcpd \ | ||
18 | file://default.script \ | ||
19 | file://dhcp-hostname.patch;patch=1 \ | ||
20 | file://hwclock.sh \ | ||
21 | file://ifupdown-spurious-environ.patch;patch=1 \ | ||
22 | file://mount.busybox \ | ||
23 | file://syslog \ | ||
24 | file://syslog.conf \ | ||
25 | file://udhcpscript.patch;patch=1 \ | ||
26 | file://umount.busybox" | ||
27 | |||
28 | SRC_URI_append_nylon = " file://xargs-double-size.patch;patch=1" | ||
29 | |||
30 | export EXTRA_CFLAGS = "${CFLAGS}" | ||
31 | EXTRA_OEMAKE_append = " CROSS=${HOST_PREFIX}" | ||
32 | PACKAGES =+ "${PN}-httpd ${PN}-udhcpd" | ||
33 | |||
34 | FILES_${PN}-httpd = "${sysconfdir}/init.d/busybox-httpd /srv/www" | ||
35 | FILES_${PN}-udhcpd = "${sysconfdir}/init.d/busybox-udhcpd" | ||
36 | |||
37 | FILES_${PN} += " ${datadir}/udhcpc" | ||
38 | |||
39 | INITSCRIPT_PACKAGES = "${PN} ${PN}-httpd ${PN}-udhcpd" | ||
40 | INITSCRIPT_NAME_${PN}-httpd = "busybox-httpd" | ||
41 | INITSCRIPT_NAME_${PN}-udhcpd = "busybox-udhcpd" | ||
42 | INITSCRIPT_NAME_${PN} = "syslog" | ||
43 | CONFFILES_${PN} = "${sysconfdir}/syslog.conf" | ||
44 | |||
45 | # This disables the syslog startup links in slugos (see slugos-init) | ||
46 | INITSCRIPT_PARAMS_${PN}_slugos = "start 20 ." | ||
47 | |||
48 | inherit cml1 update-rc.d | ||
49 | |||
50 | do_compile () { | ||
51 | unset CFLAGS | ||
52 | base_do_compile | ||
53 | } | ||
54 | |||
55 | pkg_postinst_${PN} () { | ||
56 | # If we are not making an image we create links for the utilities that doesn't exist | ||
57 | # so the update-alternatives script will get the utilities it needs | ||
58 | # (update-alternatives have no problem replacing links later anyway) | ||
59 | test -n 2> /dev/null || alias test='busybox test' | ||
60 | if test "x$D" = "x"; then while read link; do if test ! -h "$link"; then case "$link" in /*/*/*) to="../../bin/busybox";; /bin/*) to="busybox";; /*/*) to="../bin/busybox";; esac; busybox ln -s $to $link; fi; done </etc/busybox.links; fi | ||
61 | |||
62 | # This adds the links, remember that this has to work when building an image too, hence the $D | ||
63 | while read link; do case "$link" in /*/*/*) to="../../bin/busybox";; /bin/*) to="busybox";; /*/*) to="../bin/busybox";; esac; bn=`basename $link`; update-alternatives --install $link $bn $to 50; done <$D/etc/busybox.links | ||
64 | } | ||
diff --git a/meta/packages/busybox/busybox_1.7.2.bb b/meta/packages/busybox/busybox_1.7.2.bb new file mode 100644 index 0000000000..e446a19d96 --- /dev/null +++ b/meta/packages/busybox/busybox_1.7.2.bb | |||
@@ -0,0 +1,123 @@ | |||
1 | require busybox.inc | ||
2 | |||
3 | PR = "r2" | ||
4 | |||
5 | DEFAULT_PREFERENCE = "-1" | ||
6 | |||
7 | SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.gz \ | ||
8 | file://busybox-cron \ | ||
9 | file://busybox-httpd \ | ||
10 | file://busybox-udhcpd \ | ||
11 | file://default.script \ | ||
12 | file://hwclock.sh \ | ||
13 | file://mount.busybox \ | ||
14 | file://syslog \ | ||
15 | file://syslog.conf \ | ||
16 | file://udhcpscript.patch;patch=1 \ | ||
17 | file://umount.busybox \ | ||
18 | file://run_parts.c" | ||
19 | |||
20 | |||
21 | SRC_URI += "http://busybox.net/downloads/fixes-1.7.2/busybox-1.7.2-ash.patch;patch=1 \ | ||
22 | http://busybox.net/downloads/fixes-1.7.2/busybox-1.7.2-iptun.patch;patch=1 \ | ||
23 | http://busybox.net/downloads/fixes-1.7.2/busybox-1.7.2-logger.patch;patch=1 \ | ||
24 | http://busybox.net/downloads/fixes-1.7.2/busybox-1.7.2-tail.patch;patch=1 \ | ||
25 | file://defconfig" | ||
26 | |||
27 | EXTRA_OEMAKE_append = " V=1 ARCH=${TARGET_ARCH} CROSS_COMPILE=${TARGET_PREFIX}" | ||
28 | |||
29 | do_configure () { | ||
30 | # default run-parts does not sort entries == X11 session broken | ||
31 | install -m 0644 ${WORKDIR}/run_parts.c ${S}/debianutils/ | ||
32 | |||
33 | install -m 0644 ${WORKDIR}/defconfig ${S}/.config | ||
34 | cml1_do_configure | ||
35 | } | ||
36 | |||
37 | do_compile () { | ||
38 | unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS | ||
39 | base_do_compile | ||
40 | } | ||
41 | |||
42 | do_install () { | ||
43 | unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS | ||
44 | install -d ${D}${sysconfdir}/init.d | ||
45 | oe_runmake "PREFIX=${D}" install | ||
46 | cp -pPR ${S}/_install/* ${D}/ | ||
47 | |||
48 | # Move everything to /busybox (not supposed to end up in any package) | ||
49 | install -d ${D}/busybox | ||
50 | ls ${D} -R | ||
51 | |||
52 | cp -dPr ${D}${base_bindir} ${D}${base_sbindir} ${D}${prefix} ${D}/busybox/ | ||
53 | # Move the busybox binary back to /bin | ||
54 | install -d ${D}${base_bindir} | ||
55 | mv ${D}/busybox${base_bindir}/busybox ${D}${base_bindir}/ | ||
56 | # Move back the sh symlink | ||
57 | test -h ${D}/busybox${base_bindir}/sh && mv ${D}/busybox${base_bindir}/sh ${D}${base_bindir}/ | ||
58 | |||
59 | install -m 0755 ${WORKDIR}/syslog ${D}${sysconfdir}/init.d/ | ||
60 | install -m 644 ${WORKDIR}/syslog.conf ${D}${sysconfdir}/ | ||
61 | if grep "CONFIG_CROND=y" ${WORKDIR}/defconfig; then | ||
62 | # Move crond back to /usr/sbin/crond | ||
63 | install -d ${D}${sbindir} | ||
64 | mv ${D}/busybox${sbindir}/crond ${D}${sbindir}/ | ||
65 | |||
66 | install -m 0755 ${WORKDIR}/busybox-cron ${D}${sysconfdir}/init.d/ | ||
67 | fi | ||
68 | if grep "CONFIG_HTTPD=y" ${WORKDIR}/defconfig; then | ||
69 | # Move httpd back to /usr/sbin/httpd | ||
70 | install -d ${D}${sbindir} | ||
71 | mv ${D}/busybox${sbindir}/httpd ${D}${sbindir}/ | ||
72 | |||
73 | install -m 0755 ${WORKDIR}/busybox-httpd ${D}${sysconfdir}/init.d/ | ||
74 | install -d ${D}/srv/www | ||
75 | fi | ||
76 | if grep "CONFIG_APP_UDHCPD=y" ${WORKDIR}/defconfig; then | ||
77 | # Move udhcpd back to /usr/sbin/udhcpd | ||
78 | install -d ${D}${sbindir} | ||
79 | mv ${D}/busybox${sbindir}/udhcpd ${D}${sbindir}/ | ||
80 | |||
81 | install -m 0755 ${WORKDIR}/busybox-udhcpd ${D}${sysconfdir}/init.d/ | ||
82 | fi | ||
83 | if grep "CONFIG_HWCLOCK=y" ${WORKDIR}/defconfig; then | ||
84 | # Move hwclock back to /sbin/hwclock | ||
85 | install -d ${D}${base_sbindir} | ||
86 | mv ${D}/busybox${base_sbindir}/hwclock ${D}${base_sbindir}/ | ||
87 | |||
88 | install -m 0755 ${WORKDIR}/hwclock.sh ${D}${sysconfdir}/init.d/ | ||
89 | fi | ||
90 | if grep "CONFIG_APP_UDHCPC=y" ${WORKDIR}/defconfig; then | ||
91 | # Move dhcpc back to /usr/sbin/udhcpc | ||
92 | install -d ${D}${base_sbindir} | ||
93 | mv ${D}/busybox${base_sbindir}/udhcpc ${D}${base_sbindir}/ | ||
94 | |||
95 | install -d ${D}${sysconfdir}/udhcpc.d | ||
96 | install -d ${D}${datadir}/udhcpc | ||
97 | install -m 0755 ${S}/examples/udhcp/simple.script ${D}${sysconfdir}/udhcpc.d/50default | ||
98 | install -m 0755 ${WORKDIR}/default.script ${D}${datadir}/udhcpc/default.script | ||
99 | fi | ||
100 | |||
101 | install -m 0644 ${S}/busybox.links ${D}${sysconfdir} | ||
102 | } | ||
103 | |||
104 | pkg_prerm_${PN} () { | ||
105 | # This is so you can make busybox commit suicide - removing busybox with no other packages | ||
106 | # providing its files, this will make update-alternatives work, but the update-rc.d part | ||
107 | # for syslog, httpd and/or udhcpd will fail if there is no other package providing sh | ||
108 | tmpdir=`mktemp -d /tmp/busyboxrm-XXXXXX` | ||
109 | ln -s /bin/busybox $tmpdir/[ | ||
110 | ln -s /bin/busybox $tmpdir/test | ||
111 | ln -s /bin/busybox $tmpdir/head | ||
112 | ln -s /bin/busybox $tmpdir/sh | ||
113 | ln -s /bin/busybox $tmpdir/basename | ||
114 | ln -s /bin/busybox $tmpdir/echo | ||
115 | ln -s /bin/busybox $tmpdir/mv | ||
116 | ln -s /bin/busybox $tmpdir/ln | ||
117 | ln -s /bin/busybox $tmpdir/dirname | ||
118 | ln -s /bin/busybox $tmpdir/rm | ||
119 | ln -s /bin/busybox $tmpdir/sed | ||
120 | ln -s /bin/busybox $tmpdir/sort | ||
121 | export PATH=$PATH:$tmpdir | ||
122 | while read link; do case "$link" in /*/*/*) to="../../bin/busybox";; /bin/*) to="busybox";; /*/*) to="../bin/busybox";; esac; bn=`basename $link`; sh /usr/bin/update-alternatives --remove $bn $to; done </etc/busybox.links | ||
123 | } | ||