summaryrefslogtreecommitdiffstats
path: root/recipes-core
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2020-09-22 12:37:04 -0700
committerBruce Ashfield <bruce.ashfield@gmail.com>2020-09-22 15:51:27 -0400
commitcdf6f553470b348430e6750473b19a13541ff2d8 (patch)
treed24a4c549a8da23faba10c9e16a3a8d060409b95 /recipes-core
parentb40be07bf0f9c463d2eff3609f507387942e61f1 (diff)
downloadmeta-virtualization-cdf6f553470b348430e6750473b19a13541ff2d8.tar.gz
runx: allow internal and external busybox
runx knows how to build its own copy of busybox for its initrd, adding a flag to allow us to select which mode we want. Signed-off-by: Bruce Ashfield <bruce.ashfield@xilinx.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-core')
-rw-r--r--recipes-core/runx/runx/0001-Add-busybox-cross-build-for-arm64.patch1273
-rw-r--r--recipes-core/runx/runx/0002-don-t-call-busybox-install.patch348
-rw-r--r--recipes-core/runx/runx_git.bb29
3 files changed, 1645 insertions, 5 deletions
diff --git a/recipes-core/runx/runx/0001-Add-busybox-cross-build-for-arm64.patch b/recipes-core/runx/runx/0001-Add-busybox-cross-build-for-arm64.patch
new file mode 100644
index 00000000..2f27e9d1
--- /dev/null
+++ b/recipes-core/runx/runx/0001-Add-busybox-cross-build-for-arm64.patch
@@ -0,0 +1,1273 @@
1From 33502707dd6ae154736ba4685abd89d45244797b Mon Sep 17 00:00:00 2001
2From: Stefano Stabellini <sstabellini@kernel.org>
3Date: Mon, 21 Sep 2020 12:35:05 -0700
4Subject: [PATCH 1/2] Add busybox (cross)build for arm64
5
6So far the busybox binary to use for the domU initrd has to be
7externally provided. While we still support that, also add the ability
8to fetch busybox and cross-compile it with the right config on arm64.
9
10Signed-off-by: Stefano Stabellini <stefano.stabellini@xilinx.com>
11---
12 initrd/config.arm64 | 1198 +++++++++++++++++++++++++++++++++++++++++++
13 initrd/make-initrd | 28 +-
14 2 files changed, 1224 insertions(+), 2 deletions(-)
15 create mode 100644 initrd/config.arm64
16
17diff --git a/initrd/config.arm64 b/initrd/config.arm64
18new file mode 100644
19index 0000000..5c01829
20--- /dev/null
21+++ b/initrd/config.arm64
22@@ -0,0 +1,1198 @@
23+#
24+# Automatically generated make config: don't edit
25+# Busybox version: 1.32.0
26+# Mon Sep 21 12:15:18 2020
27+#
28+CONFIG_HAVE_DOT_CONFIG=y
29+
30+#
31+# Settings
32+#
33+CONFIG_DESKTOP=y
34+# CONFIG_EXTRA_COMPAT is not set
35+# CONFIG_FEDORA_COMPAT is not set
36+# CONFIG_INCLUDE_SUSv2 is not set
37+CONFIG_LONG_OPTS=y
38+CONFIG_SHOW_USAGE=y
39+CONFIG_FEATURE_VERBOSE_USAGE=y
40+CONFIG_FEATURE_COMPRESS_USAGE=y
41+CONFIG_LFS=y
42+# CONFIG_PAM is not set
43+CONFIG_FEATURE_DEVPTS=y
44+# CONFIG_FEATURE_UTMP is not set
45+# CONFIG_FEATURE_WTMP is not set
46+CONFIG_FEATURE_PIDFILE=y
47+CONFIG_PID_FILE_PATH="/var/run"
48+CONFIG_BUSYBOX=y
49+# CONFIG_FEATURE_SHOW_SCRIPT is not set
50+CONFIG_FEATURE_INSTALLER=y
51+# CONFIG_INSTALL_NO_USR is not set
52+CONFIG_FEATURE_SUID=y
53+# CONFIG_FEATURE_SUID_CONFIG is not set
54+# CONFIG_FEATURE_SUID_CONFIG_QUIET is not set
55+# CONFIG_FEATURE_PREFER_APPLETS is not set
56+CONFIG_BUSYBOX_EXEC_PATH="/bin/busybox"
57+# CONFIG_SELINUX is not set
58+# CONFIG_FEATURE_CLEAN_UP is not set
59+CONFIG_FEATURE_SYSLOG_INFO=y
60+CONFIG_FEATURE_SYSLOG=y
61+CONFIG_PLATFORM_LINUX=y
62+
63+#
64+# Build Options
65+#
66+CONFIG_STATIC=y
67+# CONFIG_PIE is not set
68+# CONFIG_NOMMU is not set
69+# CONFIG_BUILD_LIBBUSYBOX is not set
70+# CONFIG_FEATURE_LIBBUSYBOX_STATIC is not set
71+# CONFIG_FEATURE_INDIVIDUAL is not set
72+# CONFIG_FEATURE_SHARED_BUSYBOX is not set
73+CONFIG_CROSS_COMPILER_PREFIX=""
74+CONFIG_SYSROOT=""
75+CONFIG_EXTRA_CFLAGS=""
76+CONFIG_EXTRA_LDFLAGS=""
77+CONFIG_EXTRA_LDLIBS=""
78+# CONFIG_USE_PORTABLE_CODE is not set
79+CONFIG_STACK_OPTIMIZATION_386=y
80+
81+#
82+# Installation Options ("make install" behavior)
83+#
84+# CONFIG_INSTALL_APPLET_SYMLINKS is not set
85+# CONFIG_INSTALL_APPLET_HARDLINKS is not set
86+# CONFIG_INSTALL_APPLET_SCRIPT_WRAPPERS is not set
87+CONFIG_INSTALL_APPLET_DONT=y
88+# CONFIG_INSTALL_SH_APPLET_SYMLINK is not set
89+# CONFIG_INSTALL_SH_APPLET_HARDLINK is not set
90+# CONFIG_INSTALL_SH_APPLET_SCRIPT_WRAPPER is not set
91+CONFIG_PREFIX="/home/ncopa/aports/main/busybox/pkg/busybox"
92+
93+#
94+# Debugging Options
95+#
96+# CONFIG_DEBUG is not set
97+# CONFIG_DEBUG_PESSIMIZE is not set
98+# CONFIG_DEBUG_SANITIZE is not set
99+# CONFIG_UNIT_TEST is not set
100+# CONFIG_WERROR is not set
101+# CONFIG_WARN_SIMPLE_MSG is not set
102+CONFIG_NO_DEBUG_LIB=y
103+# CONFIG_DMALLOC is not set
104+# CONFIG_EFENCE is not set
105+
106+#
107+# Library Tuning
108+#
109+# CONFIG_FEATURE_USE_BSS_TAIL is not set
110+CONFIG_FLOAT_DURATION=y
111+CONFIG_FEATURE_RTMINMAX=y
112+CONFIG_FEATURE_RTMINMAX_USE_LIBC_DEFINITIONS=y
113+CONFIG_FEATURE_BUFFERS_USE_MALLOC=y
114+# CONFIG_FEATURE_BUFFERS_GO_ON_STACK is not set
115+# CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set
116+CONFIG_PASSWORD_MINLEN=6
117+CONFIG_MD5_SMALL=0
118+CONFIG_SHA3_SMALL=0
119+CONFIG_FEATURE_FAST_TOP=y
120+# CONFIG_FEATURE_ETC_NETWORKS is not set
121+# CONFIG_FEATURE_ETC_SERVICES is not set
122+CONFIG_FEATURE_EDITING=y
123+CONFIG_FEATURE_EDITING_MAX_LEN=1024
124+CONFIG_FEATURE_EDITING_VI=y
125+CONFIG_FEATURE_EDITING_HISTORY=8192
126+CONFIG_FEATURE_EDITING_SAVEHISTORY=y
127+# CONFIG_FEATURE_EDITING_SAVE_ON_EXIT is not set
128+CONFIG_FEATURE_REVERSE_SEARCH=y
129+CONFIG_FEATURE_TAB_COMPLETION=y
130+CONFIG_FEATURE_USERNAME_COMPLETION=y
131+CONFIG_FEATURE_EDITING_FANCY_PROMPT=y
132+CONFIG_FEATURE_EDITING_WINCH=y
133+CONFIG_FEATURE_EDITING_ASK_TERMINAL=y
134+CONFIG_LOCALE_SUPPORT=y
135+CONFIG_UNICODE_SUPPORT=y
136+CONFIG_UNICODE_USING_LOCALE=y
137+# CONFIG_FEATURE_CHECK_UNICODE_IN_ENV is not set
138+CONFIG_SUBST_WCHAR=63
139+CONFIG_LAST_SUPPORTED_WCHAR=1114111
140+CONFIG_UNICODE_COMBINING_WCHARS=y
141+CONFIG_UNICODE_WIDE_WCHARS=y
142+# CONFIG_UNICODE_BIDI_SUPPORT is not set
143+# CONFIG_UNICODE_NEUTRAL_TABLE is not set
144+CONFIG_UNICODE_PRESERVE_BROKEN=y
145+CONFIG_FEATURE_NON_POSIX_CP=y
146+# CONFIG_FEATURE_VERBOSE_CP_MESSAGE is not set
147+CONFIG_FEATURE_USE_SENDFILE=y
148+CONFIG_FEATURE_COPYBUF_KB=16
149+CONFIG_FEATURE_SKIP_ROOTFS=y
150+CONFIG_MONOTONIC_SYSCALL=y
151+# CONFIG_IOCTL_HEX2STR_ERROR is not set
152+CONFIG_FEATURE_HWIB=y
153+
154+#
155+# Applets
156+#
157+
158+#
159+# Archival Utilities
160+#
161+CONFIG_FEATURE_SEAMLESS_XZ=y
162+CONFIG_FEATURE_SEAMLESS_LZMA=y
163+CONFIG_FEATURE_SEAMLESS_BZ2=y
164+CONFIG_FEATURE_SEAMLESS_GZ=y
165+CONFIG_FEATURE_SEAMLESS_Z=y
166+# CONFIG_AR is not set
167+# CONFIG_FEATURE_AR_LONG_FILENAMES is not set
168+# CONFIG_FEATURE_AR_CREATE is not set
169+# CONFIG_UNCOMPRESS is not set
170+CONFIG_GUNZIP=y
171+CONFIG_ZCAT=y
172+CONFIG_FEATURE_GUNZIP_LONG_OPTIONS=y
173+CONFIG_BUNZIP2=y
174+CONFIG_BZCAT=y
175+CONFIG_UNLZMA=y
176+CONFIG_LZCAT=y
177+CONFIG_LZMA=y
178+CONFIG_UNXZ=y
179+CONFIG_XZCAT=y
180+CONFIG_XZ=y
181+CONFIG_BZIP2=y
182+CONFIG_BZIP2_SMALL=8
183+CONFIG_FEATURE_BZIP2_DECOMPRESS=y
184+CONFIG_CPIO=y
185+CONFIG_FEATURE_CPIO_O=y
186+CONFIG_FEATURE_CPIO_P=y
187+# CONFIG_DPKG is not set
188+# CONFIG_DPKG_DEB is not set
189+CONFIG_GZIP=y
190+# CONFIG_FEATURE_GZIP_LONG_OPTIONS is not set
191+CONFIG_GZIP_FAST=2
192+CONFIG_FEATURE_GZIP_LEVELS=y
193+CONFIG_FEATURE_GZIP_DECOMPRESS=y
194+CONFIG_LZOP=y
195+CONFIG_UNLZOP=y
196+CONFIG_LZOPCAT=y
197+# CONFIG_LZOP_COMPR_HIGH is not set
198+# CONFIG_RPM is not set
199+# CONFIG_RPM2CPIO is not set
200+CONFIG_TAR=y
201+CONFIG_FEATURE_TAR_LONG_OPTIONS=y
202+CONFIG_FEATURE_TAR_CREATE=y
203+CONFIG_FEATURE_TAR_AUTODETECT=y
204+CONFIG_FEATURE_TAR_FROM=y
205+CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY=y
206+CONFIG_FEATURE_TAR_OLDSUN_COMPATIBILITY=y
207+CONFIG_FEATURE_TAR_GNU_EXTENSIONS=y
208+# CONFIG_FEATURE_TAR_TO_COMMAND is not set
209+CONFIG_FEATURE_TAR_UNAME_GNAME=y
210+CONFIG_FEATURE_TAR_NOPRESERVE_TIME=y
211+# CONFIG_FEATURE_TAR_SELINUX is not set
212+CONFIG_UNZIP=y
213+CONFIG_FEATURE_UNZIP_CDF=y
214+CONFIG_FEATURE_UNZIP_BZIP2=y
215+CONFIG_FEATURE_UNZIP_LZMA=y
216+CONFIG_FEATURE_UNZIP_XZ=y
217+CONFIG_FEATURE_LZMA_FAST=y
218+
219+#
220+# Coreutils
221+#
222+CONFIG_BASENAME=y
223+CONFIG_CAT=y
224+CONFIG_FEATURE_CATN=y
225+CONFIG_FEATURE_CATV=y
226+CONFIG_CHGRP=y
227+CONFIG_CHMOD=y
228+CONFIG_CHOWN=y
229+CONFIG_FEATURE_CHOWN_LONG_OPTIONS=y
230+CONFIG_CHROOT=y
231+CONFIG_CKSUM=y
232+CONFIG_COMM=y
233+CONFIG_CP=y
234+CONFIG_FEATURE_CP_LONG_OPTIONS=y
235+CONFIG_FEATURE_CP_REFLINK=y
236+CONFIG_CUT=y
237+CONFIG_DATE=y
238+CONFIG_FEATURE_DATE_ISOFMT=y
239+# CONFIG_FEATURE_DATE_NANO is not set
240+CONFIG_FEATURE_DATE_COMPAT=y
241+CONFIG_DD=y
242+CONFIG_FEATURE_DD_SIGNAL_HANDLING=y
243+# CONFIG_FEATURE_DD_THIRD_STATUS_LINE is not set
244+CONFIG_FEATURE_DD_IBS_OBS=y
245+CONFIG_FEATURE_DD_STATUS=y
246+CONFIG_DF=y
247+CONFIG_FEATURE_DF_FANCY=y
248+CONFIG_DIRNAME=y
249+CONFIG_DOS2UNIX=y
250+CONFIG_UNIX2DOS=y
251+CONFIG_DU=y
252+CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K=y
253+CONFIG_ECHO=y
254+CONFIG_FEATURE_FANCY_ECHO=y
255+CONFIG_ENV=y
256+CONFIG_EXPAND=y
257+CONFIG_UNEXPAND=y
258+CONFIG_EXPR=y
259+CONFIG_EXPR_MATH_SUPPORT_64=y
260+CONFIG_FACTOR=y
261+CONFIG_FALSE=y
262+CONFIG_FOLD=y
263+CONFIG_HEAD=y
264+CONFIG_FEATURE_FANCY_HEAD=y
265+CONFIG_HOSTID=y
266+CONFIG_ID=y
267+CONFIG_GROUPS=y
268+CONFIG_INSTALL=y
269+# CONFIG_FEATURE_INSTALL_LONG_OPTIONS is not set
270+CONFIG_LINK=y
271+CONFIG_LN=y
272+# CONFIG_LOGNAME is not set
273+CONFIG_LS=y
274+CONFIG_FEATURE_LS_FILETYPES=y
275+CONFIG_FEATURE_LS_FOLLOWLINKS=y
276+CONFIG_FEATURE_LS_RECURSIVE=y
277+CONFIG_FEATURE_LS_WIDTH=y
278+CONFIG_FEATURE_LS_SORTFILES=y
279+CONFIG_FEATURE_LS_TIMESTAMPS=y
280+CONFIG_FEATURE_LS_USERNAME=y
281+CONFIG_FEATURE_LS_COLOR=y
282+CONFIG_FEATURE_LS_COLOR_IS_DEFAULT=y
283+CONFIG_MD5SUM=y
284+CONFIG_SHA1SUM=y
285+CONFIG_SHA256SUM=y
286+CONFIG_SHA512SUM=y
287+CONFIG_SHA3SUM=y
288+
289+#
290+# Common options for md5sum, sha1sum, sha256sum, sha512sum, sha3sum
291+#
292+CONFIG_FEATURE_MD5_SHA1_SUM_CHECK=y
293+CONFIG_MKDIR=y
294+CONFIG_MKFIFO=y
295+CONFIG_MKNOD=y
296+CONFIG_MKTEMP=y
297+CONFIG_MV=y
298+CONFIG_NICE=y
299+CONFIG_NL=y
300+CONFIG_NOHUP=y
301+CONFIG_NPROC=y
302+CONFIG_OD=y
303+CONFIG_PASTE=y
304+CONFIG_PRINTENV=y
305+CONFIG_PRINTF=y
306+CONFIG_PWD=y
307+CONFIG_READLINK=y
308+CONFIG_FEATURE_READLINK_FOLLOW=y
309+CONFIG_REALPATH=y
310+CONFIG_RM=y
311+CONFIG_RMDIR=y
312+CONFIG_SEQ=y
313+CONFIG_SHRED=y
314+CONFIG_SHUF=y
315+CONFIG_SLEEP=y
316+CONFIG_FEATURE_FANCY_SLEEP=y
317+CONFIG_SORT=y
318+CONFIG_FEATURE_SORT_BIG=y
319+# CONFIG_FEATURE_SORT_OPTIMIZE_MEMORY is not set
320+CONFIG_SPLIT=y
321+# CONFIG_FEATURE_SPLIT_FANCY is not set
322+CONFIG_STAT=y
323+CONFIG_FEATURE_STAT_FORMAT=y
324+CONFIG_FEATURE_STAT_FILESYSTEM=y
325+CONFIG_STTY=y
326+CONFIG_SUM=y
327+CONFIG_SYNC=y
328+CONFIG_FEATURE_SYNC_FANCY=y
329+CONFIG_FSYNC=y
330+CONFIG_TAC=y
331+CONFIG_TAIL=y
332+CONFIG_FEATURE_FANCY_TAIL=y
333+CONFIG_TEE=y
334+CONFIG_FEATURE_TEE_USE_BLOCK_IO=y
335+CONFIG_TEST=y
336+CONFIG_TEST1=y
337+CONFIG_TEST2=y
338+CONFIG_FEATURE_TEST_64=y
339+CONFIG_TIMEOUT=y
340+CONFIG_TOUCH=y
341+CONFIG_FEATURE_TOUCH_NODEREF=y
342+CONFIG_FEATURE_TOUCH_SUSV3=y
343+CONFIG_TR=y
344+CONFIG_FEATURE_TR_CLASSES=y
345+CONFIG_FEATURE_TR_EQUIV=y
346+CONFIG_TRUE=y
347+CONFIG_TRUNCATE=y
348+CONFIG_TTY=y
349+CONFIG_UNAME=y
350+CONFIG_UNAME_OSNAME="Linux"
351+CONFIG_BB_ARCH=y
352+CONFIG_UNIQ=y
353+CONFIG_UNLINK=y
354+CONFIG_USLEEP=y
355+CONFIG_UUDECODE=y
356+CONFIG_BASE64=y
357+CONFIG_UUENCODE=y
358+CONFIG_WC=y
359+CONFIG_FEATURE_WC_LARGE=y
360+# CONFIG_WHO is not set
361+# CONFIG_W is not set
362+# CONFIG_USERS is not set
363+CONFIG_WHOAMI=y
364+CONFIG_YES=y
365+
366+#
367+# Common options
368+#
369+CONFIG_FEATURE_VERBOSE=y
370+
371+#
372+# Common options for cp and mv
373+#
374+CONFIG_FEATURE_PRESERVE_HARDLINKS=y
375+
376+#
377+# Common options for df, du, ls
378+#
379+CONFIG_FEATURE_HUMAN_READABLE=y
380+
381+#
382+# Console Utilities
383+#
384+CONFIG_CHVT=y
385+CONFIG_CLEAR=y
386+CONFIG_DEALLOCVT=y
387+CONFIG_DUMPKMAP=y
388+# CONFIG_FGCONSOLE is not set
389+CONFIG_KBD_MODE=y
390+CONFIG_LOADFONT=y
391+CONFIG_SETFONT=y
392+CONFIG_FEATURE_SETFONT_TEXTUAL_MAP=y
393+CONFIG_DEFAULT_SETFONT_DIR="/usr/share"
394+
395+#
396+# Common options for loadfont and setfont
397+#
398+CONFIG_FEATURE_LOADFONT_PSF2=y
399+CONFIG_FEATURE_LOADFONT_RAW=y
400+CONFIG_LOADKMAP=y
401+CONFIG_OPENVT=y
402+CONFIG_RESET=y
403+CONFIG_RESIZE=y
404+CONFIG_FEATURE_RESIZE_PRINT=y
405+CONFIG_SETCONSOLE=y
406+# CONFIG_FEATURE_SETCONSOLE_LONG_OPTIONS is not set
407+CONFIG_SETKEYCODES=y
408+CONFIG_SETLOGCONS=y
409+CONFIG_SHOWKEY=y
410+
411+#
412+# Debian Utilities
413+#
414+CONFIG_PIPE_PROGRESS=y
415+CONFIG_RUN_PARTS=y
416+CONFIG_FEATURE_RUN_PARTS_LONG_OPTIONS=y
417+# CONFIG_FEATURE_RUN_PARTS_FANCY is not set
418+# CONFIG_START_STOP_DAEMON is not set
419+# CONFIG_FEATURE_START_STOP_DAEMON_LONG_OPTIONS is not set
420+# CONFIG_FEATURE_START_STOP_DAEMON_FANCY is not set
421+CONFIG_WHICH=y
422+
423+#
424+# klibc-utils
425+#
426+# CONFIG_MINIPS is not set
427+# CONFIG_NUKE is not set
428+# CONFIG_RESUME is not set
429+# CONFIG_RUN_INIT is not set
430+
431+#
432+# Editors
433+#
434+CONFIG_AWK=y
435+CONFIG_FEATURE_AWK_LIBM=y
436+CONFIG_FEATURE_AWK_GNU_EXTENSIONS=y
437+CONFIG_CMP=y
438+CONFIG_DIFF=y
439+CONFIG_FEATURE_DIFF_LONG_OPTIONS=y
440+CONFIG_FEATURE_DIFF_DIR=y
441+CONFIG_ED=y
442+# CONFIG_PATCH is not set
443+CONFIG_SED=y
444+CONFIG_VI=y
445+CONFIG_FEATURE_VI_MAX_LEN=1024
446+CONFIG_FEATURE_VI_8BIT=y
447+CONFIG_FEATURE_VI_COLON=y
448+CONFIG_FEATURE_VI_YANKMARK=y
449+CONFIG_FEATURE_VI_SEARCH=y
450+# CONFIG_FEATURE_VI_REGEX_SEARCH is not set
451+CONFIG_FEATURE_VI_USE_SIGNALS=y
452+CONFIG_FEATURE_VI_DOT_CMD=y
453+CONFIG_FEATURE_VI_READONLY=y
454+CONFIG_FEATURE_VI_SETOPTS=y
455+CONFIG_FEATURE_VI_SET=y
456+CONFIG_FEATURE_VI_WIN_RESIZE=y
457+CONFIG_FEATURE_VI_ASK_TERMINAL=y
458+CONFIG_FEATURE_VI_UNDO=y
459+CONFIG_FEATURE_VI_UNDO_QUEUE=y
460+CONFIG_FEATURE_VI_UNDO_QUEUE_MAX=256
461+CONFIG_FEATURE_ALLOW_EXEC=y
462+
463+#
464+# Finding Utilities
465+#
466+CONFIG_FIND=y
467+CONFIG_FEATURE_FIND_PRINT0=y
468+CONFIG_FEATURE_FIND_MTIME=y
469+CONFIG_FEATURE_FIND_MMIN=y
470+CONFIG_FEATURE_FIND_PERM=y
471+CONFIG_FEATURE_FIND_TYPE=y
472+CONFIG_FEATURE_FIND_EXECUTABLE=y
473+CONFIG_FEATURE_FIND_XDEV=y
474+CONFIG_FEATURE_FIND_MAXDEPTH=y
475+CONFIG_FEATURE_FIND_NEWER=y
476+CONFIG_FEATURE_FIND_INUM=y
477+CONFIG_FEATURE_FIND_EXEC=y
478+CONFIG_FEATURE_FIND_EXEC_PLUS=y
479+CONFIG_FEATURE_FIND_USER=y
480+CONFIG_FEATURE_FIND_GROUP=y
481+CONFIG_FEATURE_FIND_NOT=y
482+CONFIG_FEATURE_FIND_DEPTH=y
483+CONFIG_FEATURE_FIND_PAREN=y
484+CONFIG_FEATURE_FIND_SIZE=y
485+CONFIG_FEATURE_FIND_PRUNE=y
486+CONFIG_FEATURE_FIND_QUIT=y
487+CONFIG_FEATURE_FIND_DELETE=y
488+CONFIG_FEATURE_FIND_EMPTY=y
489+CONFIG_FEATURE_FIND_PATH=y
490+CONFIG_FEATURE_FIND_REGEX=y
491+# CONFIG_FEATURE_FIND_CONTEXT is not set
492+CONFIG_FEATURE_FIND_LINKS=y
493+CONFIG_GREP=y
494+CONFIG_EGREP=y
495+CONFIG_FGREP=y
496+CONFIG_FEATURE_GREP_CONTEXT=y
497+CONFIG_XARGS=y
498+CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION=y
499+CONFIG_FEATURE_XARGS_SUPPORT_QUOTES=y
500+CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT=y
501+CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM=y
502+CONFIG_FEATURE_XARGS_SUPPORT_REPL_STR=y
503+CONFIG_FEATURE_XARGS_SUPPORT_PARALLEL=y
504+CONFIG_FEATURE_XARGS_SUPPORT_ARGS_FILE=y
505+
506+#
507+# Init Utilities
508+#
509+# CONFIG_BOOTCHARTD is not set
510+# CONFIG_FEATURE_BOOTCHARTD_BLOATED_HEADER is not set
511+# CONFIG_FEATURE_BOOTCHARTD_CONFIG_FILE is not set
512+CONFIG_HALT=y
513+CONFIG_POWEROFF=y
514+CONFIG_REBOOT=y
515+CONFIG_FEATURE_WAIT_FOR_INIT=y
516+# CONFIG_FEATURE_CALL_TELINIT is not set
517+CONFIG_TELINIT_PATH=""
518+CONFIG_INIT=y
519+CONFIG_LINUXRC=y
520+CONFIG_FEATURE_USE_INITTAB=y
521+CONFIG_FEATURE_KILL_REMOVED=y
522+CONFIG_FEATURE_KILL_DELAY=0
523+CONFIG_FEATURE_INIT_SCTTY=y
524+CONFIG_FEATURE_INIT_SYSLOG=y
525+CONFIG_FEATURE_INIT_QUIET=y
526+# CONFIG_FEATURE_INIT_COREDUMPS is not set
527+CONFIG_INIT_TERMINAL_TYPE="linux"
528+# CONFIG_FEATURE_INIT_MODIFY_CMDLINE is not set
529+
530+#
531+# Login/Password Management Utilities
532+#
533+# CONFIG_FEATURE_SHADOWPASSWDS is not set
534+CONFIG_USE_BB_PWD_GRP=y
535+# CONFIG_USE_BB_SHADOW is not set
536+CONFIG_USE_BB_CRYPT=y
537+CONFIG_USE_BB_CRYPT_SHA=y
538+CONFIG_ADD_SHELL=y
539+CONFIG_REMOVE_SHELL=y
540+CONFIG_ADDGROUP=y
541+CONFIG_FEATURE_ADDUSER_TO_GROUP=y
542+CONFIG_ADDUSER=y
543+CONFIG_FEATURE_CHECK_NAMES=y
544+CONFIG_LAST_ID=256000
545+CONFIG_FIRST_SYSTEM_ID=100
546+CONFIG_LAST_SYSTEM_ID=999
547+CONFIG_CHPASSWD=y
548+CONFIG_FEATURE_DEFAULT_PASSWD_ALGO="sha512"
549+CONFIG_CRYPTPW=y
550+CONFIG_MKPASSWD=y
551+CONFIG_DELUSER=y
552+CONFIG_DELGROUP=y
553+CONFIG_FEATURE_DEL_USER_FROM_GROUP=y
554+CONFIG_GETTY=y
555+CONFIG_LOGIN=y
556+CONFIG_LOGIN_SESSION_AS_CHILD=y
557+CONFIG_LOGIN_SCRIPTS=y
558+CONFIG_FEATURE_NOLOGIN=y
559+CONFIG_FEATURE_SECURETTY=y
560+CONFIG_PASSWD=y
561+# CONFIG_FEATURE_PASSWD_WEAK_CHECK is not set
562+CONFIG_SU=y
563+CONFIG_FEATURE_SU_SYSLOG=y
564+# CONFIG_FEATURE_SU_CHECKS_SHELLS is not set
565+# CONFIG_FEATURE_SU_BLANK_PW_NEEDS_SECURE_TTY is not set
566+# CONFIG_SULOGIN is not set
567+CONFIG_VLOCK=y
568+
569+#
570+# Linux Ext2 FS Progs
571+#
572+# CONFIG_CHATTR is not set
573+CONFIG_FSCK=y
574+# CONFIG_LSATTR is not set
575+# CONFIG_TUNE2FS is not set
576+
577+#
578+# Linux Module Utilities
579+#
580+# CONFIG_MODPROBE_SMALL is not set
581+CONFIG_DEPMOD=y
582+CONFIG_INSMOD=y
583+CONFIG_LSMOD=y
584+CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT=y
585+CONFIG_MODINFO=y
586+CONFIG_MODPROBE=y
587+CONFIG_FEATURE_MODPROBE_BLACKLIST=y
588+CONFIG_RMMOD=y
589+
590+#
591+# Options common to multiple modutils
592+#
593+CONFIG_FEATURE_CMDLINE_MODULE_OPTIONS=y
594+# CONFIG_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED is not set
595+# CONFIG_FEATURE_2_4_MODULES is not set
596+# CONFIG_FEATURE_INSMOD_VERSION_CHECKING is not set
597+# CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS is not set
598+# CONFIG_FEATURE_INSMOD_LOADINKMEM is not set
599+# CONFIG_FEATURE_INSMOD_LOAD_MAP is not set
600+# CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL is not set
601+CONFIG_FEATURE_CHECK_TAINTED_MODULE=y
602+# CONFIG_FEATURE_INSMOD_TRY_MMAP is not set
603+CONFIG_FEATURE_MODUTILS_ALIAS=y
604+CONFIG_FEATURE_MODUTILS_SYMBOLS=y
605+CONFIG_DEFAULT_MODULES_DIR="/lib/modules"
606+CONFIG_DEFAULT_DEPMOD_FILE="modules.dep"
607+
608+#
609+# Linux System Utilities
610+#
611+CONFIG_ACPID=y
612+CONFIG_FEATURE_ACPID_COMPAT=y
613+CONFIG_BLKDISCARD=y
614+CONFIG_BLKID=y
615+CONFIG_FEATURE_BLKID_TYPE=y
616+CONFIG_BLOCKDEV=y
617+CONFIG_CAL=y
618+# CONFIG_CHRT is not set
619+CONFIG_DMESG=y
620+CONFIG_FEATURE_DMESG_PRETTY=y
621+CONFIG_EJECT=y
622+CONFIG_FEATURE_EJECT_SCSI=y
623+CONFIG_FALLOCATE=y
624+CONFIG_FATATTR=y
625+CONFIG_FBSET=y
626+CONFIG_FEATURE_FBSET_FANCY=y
627+CONFIG_FEATURE_FBSET_READMODE=y
628+CONFIG_FDFORMAT=y
629+CONFIG_FDISK=y
630+# CONFIG_FDISK_SUPPORT_LARGE_DISKS is not set
631+CONFIG_FEATURE_FDISK_WRITABLE=y
632+CONFIG_FEATURE_AIX_LABEL=y
633+CONFIG_FEATURE_SGI_LABEL=y
634+CONFIG_FEATURE_SUN_LABEL=y
635+CONFIG_FEATURE_OSF_LABEL=y
636+CONFIG_FEATURE_GPT_LABEL=y
637+CONFIG_FEATURE_FDISK_ADVANCED=y
638+CONFIG_FINDFS=y
639+CONFIG_FLOCK=y
640+CONFIG_FDFLUSH=y
641+# CONFIG_FREERAMDISK is not set
642+# CONFIG_FSCK_MINIX is not set
643+# CONFIG_FSFREEZE is not set
644+CONFIG_FSTRIM=y
645+CONFIG_GETOPT=y
646+CONFIG_FEATURE_GETOPT_LONG=y
647+CONFIG_HEXDUMP=y
648+CONFIG_FEATURE_HEXDUMP_REVERSE=y
649+CONFIG_HD=y
650+CONFIG_XXD=y
651+CONFIG_HWCLOCK=y
652+CONFIG_FEATURE_HWCLOCK_ADJTIME_FHS=y
653+CONFIG_IONICE=y
654+CONFIG_IPCRM=y
655+CONFIG_IPCS=y
656+# CONFIG_LAST is not set
657+# CONFIG_FEATURE_LAST_FANCY is not set
658+CONFIG_LOSETUP=y
659+CONFIG_LSPCI=y
660+CONFIG_LSUSB=y
661+CONFIG_MDEV=y
662+CONFIG_FEATURE_MDEV_CONF=y
663+CONFIG_FEATURE_MDEV_RENAME=y
664+CONFIG_FEATURE_MDEV_RENAME_REGEXP=y
665+CONFIG_FEATURE_MDEV_EXEC=y
666+CONFIG_FEATURE_MDEV_LOAD_FIRMWARE=y
667+# CONFIG_FEATURE_MDEV_DAEMON is not set
668+CONFIG_MESG=y
669+CONFIG_FEATURE_MESG_ENABLE_ONLY_GROUP=y
670+# CONFIG_MKE2FS is not set
671+# CONFIG_MKFS_EXT2 is not set
672+# CONFIG_MKFS_MINIX is not set
673+# CONFIG_FEATURE_MINIX2 is not set
674+# CONFIG_MKFS_REISER is not set
675+CONFIG_MKDOSFS=y
676+CONFIG_MKFS_VFAT=y
677+CONFIG_MKSWAP=y
678+CONFIG_FEATURE_MKSWAP_UUID=y
679+CONFIG_MORE=y
680+CONFIG_MOUNT=y
681+CONFIG_FEATURE_MOUNT_FAKE=y
682+CONFIG_FEATURE_MOUNT_VERBOSE=y
683+CONFIG_FEATURE_MOUNT_HELPERS=y
684+CONFIG_FEATURE_MOUNT_LABEL=y
685+# CONFIG_FEATURE_MOUNT_NFS is not set
686+CONFIG_FEATURE_MOUNT_CIFS=y
687+CONFIG_FEATURE_MOUNT_FLAGS=y
688+CONFIG_FEATURE_MOUNT_FSTAB=y
689+# CONFIG_FEATURE_MOUNT_OTHERTAB is not set
690+CONFIG_MOUNTPOINT=y
691+CONFIG_NOLOGIN=y
692+CONFIG_NOLOGIN_DEPENDENCIES=y
693+CONFIG_NSENTER=y
694+CONFIG_PIVOT_ROOT=y
695+CONFIG_RDATE=y
696+CONFIG_RDEV=y
697+CONFIG_READPROFILE=y
698+CONFIG_RENICE=y
699+CONFIG_REV=y
700+# CONFIG_RTCWAKE is not set
701+# CONFIG_SCRIPT is not set
702+# CONFIG_SCRIPTREPLAY is not set
703+# CONFIG_SETARCH is not set
704+CONFIG_LINUX32=y
705+CONFIG_LINUX64=y
706+CONFIG_SETPRIV=y
707+CONFIG_FEATURE_SETPRIV_DUMP=y
708+CONFIG_FEATURE_SETPRIV_CAPABILITIES=y
709+CONFIG_FEATURE_SETPRIV_CAPABILITY_NAMES=y
710+CONFIG_SETSID=y
711+CONFIG_SWAPON=y
712+CONFIG_FEATURE_SWAPON_DISCARD=y
713+CONFIG_FEATURE_SWAPON_PRI=y
714+CONFIG_SWAPOFF=y
715+CONFIG_FEATURE_SWAPONOFF_LABEL=y
716+CONFIG_SWITCH_ROOT=y
717+# CONFIG_TASKSET is not set
718+# CONFIG_FEATURE_TASKSET_FANCY is not set
719+# CONFIG_FEATURE_TASKSET_CPULIST is not set
720+# CONFIG_UEVENT is not set
721+CONFIG_UMOUNT=y
722+CONFIG_FEATURE_UMOUNT_ALL=y
723+CONFIG_UNSHARE=y
724+# CONFIG_WALL is not set
725+
726+#
727+# Common options for mount/umount
728+#
729+CONFIG_FEATURE_MOUNT_LOOP=y
730+CONFIG_FEATURE_MOUNT_LOOP_CREATE=y
731+# CONFIG_FEATURE_MTAB_SUPPORT is not set
732+CONFIG_VOLUMEID=y
733+
734+#
735+# Filesystem/Volume identification
736+#
737+CONFIG_FEATURE_VOLUMEID_BCACHE=y
738+CONFIG_FEATURE_VOLUMEID_BTRFS=y
739+CONFIG_FEATURE_VOLUMEID_CRAMFS=y
740+CONFIG_FEATURE_VOLUMEID_EXFAT=y
741+CONFIG_FEATURE_VOLUMEID_EXT=y
742+CONFIG_FEATURE_VOLUMEID_F2FS=y
743+CONFIG_FEATURE_VOLUMEID_FAT=y
744+# CONFIG_FEATURE_VOLUMEID_HFS is not set
745+CONFIG_FEATURE_VOLUMEID_ISO9660=y
746+CONFIG_FEATURE_VOLUMEID_JFS=y
747+CONFIG_FEATURE_VOLUMEID_LFS=y
748+CONFIG_FEATURE_VOLUMEID_LINUXRAID=y
749+CONFIG_FEATURE_VOLUMEID_LINUXSWAP=y
750+CONFIG_FEATURE_VOLUMEID_LUKS=y
751+CONFIG_FEATURE_VOLUMEID_MINIX=y
752+CONFIG_FEATURE_VOLUMEID_NILFS=y
753+CONFIG_FEATURE_VOLUMEID_NTFS=y
754+CONFIG_FEATURE_VOLUMEID_OCFS2=y
755+CONFIG_FEATURE_VOLUMEID_REISERFS=y
756+# CONFIG_FEATURE_VOLUMEID_ROMFS is not set
757+CONFIG_FEATURE_VOLUMEID_SQUASHFS=y
758+# CONFIG_FEATURE_VOLUMEID_SYSV is not set
759+CONFIG_FEATURE_VOLUMEID_UBIFS=y
760+CONFIG_FEATURE_VOLUMEID_UDF=y
761+CONFIG_FEATURE_VOLUMEID_XFS=y
762+
763+#
764+# Miscellaneous Utilities
765+#
766+CONFIG_ADJTIMEX=y
767+CONFIG_BBCONFIG=y
768+CONFIG_FEATURE_COMPRESS_BBCONFIG=y
769+CONFIG_BC=y
770+CONFIG_DC=y
771+CONFIG_FEATURE_DC_BIG=y
772+# CONFIG_FEATURE_DC_LIBM is not set
773+CONFIG_FEATURE_BC_INTERACTIVE=y
774+CONFIG_FEATURE_BC_LONG_OPTIONS=y
775+CONFIG_BEEP=y
776+CONFIG_FEATURE_BEEP_FREQ=440
777+CONFIG_FEATURE_BEEP_LENGTH_MS=30
778+# CONFIG_CHAT is not set
779+# CONFIG_FEATURE_CHAT_NOFAIL is not set
780+# CONFIG_FEATURE_CHAT_TTY_HIFI is not set
781+# CONFIG_FEATURE_CHAT_IMPLICIT_CR is not set
782+# CONFIG_FEATURE_CHAT_SWALLOW_OPTS is not set
783+# CONFIG_FEATURE_CHAT_SEND_ESCAPES is not set
784+# CONFIG_FEATURE_CHAT_VAR_ABORT_LEN is not set
785+# CONFIG_FEATURE_CHAT_CLR_ABORT is not set
786+CONFIG_CONSPY=y
787+CONFIG_CROND=y
788+CONFIG_FEATURE_CROND_D=y
789+CONFIG_FEATURE_CROND_CALL_SENDMAIL=y
790+CONFIG_FEATURE_CROND_SPECIAL_TIMES=y
791+CONFIG_FEATURE_CROND_DIR="/var/spool/cron"
792+CONFIG_CRONTAB=y
793+# CONFIG_DEVFSD is not set
794+# CONFIG_DEVFSD_MODLOAD is not set
795+# CONFIG_DEVFSD_FG_NP is not set
796+# CONFIG_DEVFSD_VERBOSE is not set
797+# CONFIG_FEATURE_DEVFS is not set
798+# CONFIG_DEVMEM is not set
799+CONFIG_FBSPLASH=y
800+# CONFIG_FLASH_ERASEALL is not set
801+# CONFIG_FLASH_LOCK is not set
802+# CONFIG_FLASH_UNLOCK is not set
803+# CONFIG_FLASHCP is not set
804+CONFIG_HDPARM=y
805+# CONFIG_FEATURE_HDPARM_GET_IDENTITY is not set
806+# CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF is not set
807+# CONFIG_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF is not set
808+# CONFIG_FEATURE_HDPARM_HDIO_DRIVE_RESET is not set
809+# CONFIG_FEATURE_HDPARM_HDIO_TRISTATE_HWIF is not set
810+# CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA is not set
811+# CONFIG_HEXEDIT is not set
812+# CONFIG_I2CGET is not set
813+# CONFIG_I2CSET is not set
814+# CONFIG_I2CDUMP is not set
815+# CONFIG_I2CDETECT is not set
816+# CONFIG_I2CTRANSFER is not set
817+CONFIG_INOTIFYD=y
818+CONFIG_LESS=y
819+CONFIG_FEATURE_LESS_MAXLINES=9999999
820+CONFIG_FEATURE_LESS_BRACKETS=y
821+CONFIG_FEATURE_LESS_FLAGS=y
822+CONFIG_FEATURE_LESS_TRUNCATE=y
823+CONFIG_FEATURE_LESS_MARKS=y
824+CONFIG_FEATURE_LESS_REGEXP=y
825+CONFIG_FEATURE_LESS_WINCH=y
826+CONFIG_FEATURE_LESS_ASK_TERMINAL=y
827+CONFIG_FEATURE_LESS_DASHCMD=y
828+CONFIG_FEATURE_LESS_LINENUMS=y
829+CONFIG_FEATURE_LESS_RAW=y
830+CONFIG_FEATURE_LESS_ENV=y
831+# CONFIG_LSSCSI is not set
832+# CONFIG_MAKEDEVS is not set
833+# CONFIG_FEATURE_MAKEDEVS_LEAF is not set
834+# CONFIG_FEATURE_MAKEDEVS_TABLE is not set
835+# CONFIG_MAN is not set
836+CONFIG_MICROCOM=y
837+# CONFIG_MIM is not set
838+# CONFIG_MT is not set
839+CONFIG_NANDWRITE=y
840+CONFIG_NANDDUMP=y
841+CONFIG_PARTPROBE=y
842+CONFIG_RAIDAUTORUN=y
843+CONFIG_READAHEAD=y
844+CONFIG_RFKILL=y
845+# CONFIG_RUNLEVEL is not set
846+# CONFIG_RX is not set
847+# CONFIG_SETFATTR is not set
848+CONFIG_SETSERIAL=y
849+CONFIG_STRINGS=y
850+CONFIG_TIME=y
851+# CONFIG_TS is not set
852+CONFIG_TTYSIZE=y
853+# CONFIG_UBIATTACH is not set
854+# CONFIG_UBIDETACH is not set
855+# CONFIG_UBIMKVOL is not set
856+# CONFIG_UBIRMVOL is not set
857+# CONFIG_UBIRSVOL is not set
858+# CONFIG_UBIUPDATEVOL is not set
859+# CONFIG_UBIRENAME is not set
860+CONFIG_VOLNAME=y
861+CONFIG_WATCHDOG=y
862+
863+#
864+# Networking Utilities
865+#
866+CONFIG_FEATURE_IPV6=y
867+CONFIG_FEATURE_UNIX_LOCAL=y
868+# CONFIG_FEATURE_PREFER_IPV4_ADDRESS is not set
869+CONFIG_VERBOSE_RESOLUTION_ERRORS=y
870+# CONFIG_FEATURE_TLS_SHA1 is not set
871+CONFIG_ARP=y
872+CONFIG_ARPING=y
873+CONFIG_BRCTL=y
874+CONFIG_FEATURE_BRCTL_FANCY=y
875+CONFIG_FEATURE_BRCTL_SHOW=y
876+# CONFIG_DNSD is not set
877+CONFIG_ETHER_WAKE=y
878+# CONFIG_FTPD is not set
879+# CONFIG_FEATURE_FTPD_WRITE is not set
880+# CONFIG_FEATURE_FTPD_ACCEPT_BROKEN_LIST is not set
881+# CONFIG_FEATURE_FTPD_AUTHENTICATION is not set
882+# CONFIG_FTPGET is not set
883+# CONFIG_FTPPUT is not set
884+# CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS is not set
885+CONFIG_HOSTNAME=y
886+CONFIG_DNSDOMAINNAME=y
887+# CONFIG_HTTPD is not set
888+# CONFIG_FEATURE_HTTPD_RANGES is not set
889+# CONFIG_FEATURE_HTTPD_SETUID is not set
890+# CONFIG_FEATURE_HTTPD_BASIC_AUTH is not set
891+# CONFIG_FEATURE_HTTPD_AUTH_MD5 is not set
892+# CONFIG_FEATURE_HTTPD_CGI is not set
893+# CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR is not set
894+# CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV is not set
895+# CONFIG_FEATURE_HTTPD_ENCODE_URL_STR is not set
896+# CONFIG_FEATURE_HTTPD_ERROR_PAGES is not set
897+# CONFIG_FEATURE_HTTPD_PROXY is not set
898+# CONFIG_FEATURE_HTTPD_GZIP is not set
899+CONFIG_IFCONFIG=y
900+CONFIG_FEATURE_IFCONFIG_STATUS=y
901+CONFIG_FEATURE_IFCONFIG_SLIP=y
902+CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ=y
903+CONFIG_FEATURE_IFCONFIG_HW=y
904+CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS=y
905+CONFIG_IFENSLAVE=y
906+# CONFIG_IFPLUGD is not set
907+CONFIG_IFUP=y
908+CONFIG_IFDOWN=y
909+CONFIG_IFUPDOWN_IFSTATE_PATH="/var/run/ifstate"
910+CONFIG_FEATURE_IFUPDOWN_IP=y
911+CONFIG_FEATURE_IFUPDOWN_IPV4=y
912+CONFIG_FEATURE_IFUPDOWN_IPV6=y
913+# CONFIG_FEATURE_IFUPDOWN_MAPPING is not set
914+CONFIG_FEATURE_IFUPDOWN_EXTERNAL_DHCP=y
915+# CONFIG_INETD is not set
916+# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_ECHO is not set
917+# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD is not set
918+# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_TIME is not set
919+# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME is not set
920+# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN is not set
921+# CONFIG_FEATURE_INETD_RPC is not set
922+CONFIG_IP=y
923+CONFIG_IPADDR=y
924+CONFIG_IPLINK=y
925+CONFIG_IPROUTE=y
926+CONFIG_IPTUNNEL=y
927+CONFIG_IPRULE=y
928+CONFIG_IPNEIGH=y
929+CONFIG_FEATURE_IP_ADDRESS=y
930+CONFIG_FEATURE_IP_LINK=y
931+CONFIG_FEATURE_IP_ROUTE=y
932+CONFIG_FEATURE_IP_ROUTE_DIR="/etc/iproute2"
933+CONFIG_FEATURE_IP_TUNNEL=y
934+CONFIG_FEATURE_IP_RULE=y
935+CONFIG_FEATURE_IP_NEIGH=y
936+CONFIG_FEATURE_IP_RARE_PROTOCOLS=y
937+CONFIG_IPCALC=y
938+# CONFIG_FEATURE_IPCALC_LONG_OPTIONS is not set
939+CONFIG_FEATURE_IPCALC_FANCY=y
940+# CONFIG_FAKEIDENTD is not set
941+CONFIG_NAMEIF=y
942+CONFIG_FEATURE_NAMEIF_EXTENDED=y
943+CONFIG_NBDCLIENT=y
944+CONFIG_NC=y
945+# CONFIG_NETCAT is not set
946+CONFIG_NC_SERVER=y
947+CONFIG_NC_EXTRA=y
948+CONFIG_NC_110_COMPAT=y
949+CONFIG_NETSTAT=y
950+CONFIG_FEATURE_NETSTAT_WIDE=y
951+CONFIG_FEATURE_NETSTAT_PRG=y
952+CONFIG_NSLOOKUP=y
953+CONFIG_FEATURE_NSLOOKUP_BIG=y
954+CONFIG_FEATURE_NSLOOKUP_LONG_OPTIONS=y
955+CONFIG_NTPD=y
956+CONFIG_FEATURE_NTPD_SERVER=y
957+CONFIG_FEATURE_NTPD_CONF=y
958+CONFIG_FEATURE_NTP_AUTH=y
959+CONFIG_PING=y
960+CONFIG_PING6=y
961+CONFIG_FEATURE_FANCY_PING=y
962+CONFIG_PSCAN=y
963+CONFIG_ROUTE=y
964+CONFIG_SLATTACH=y
965+# CONFIG_SSL_CLIENT is not set
966+# CONFIG_TC is not set
967+# CONFIG_FEATURE_TC_INGRESS is not set
968+# CONFIG_TCPSVD is not set
969+# CONFIG_UDPSVD is not set
970+# CONFIG_TELNET is not set
971+# CONFIG_FEATURE_TELNET_TTYPE is not set
972+# CONFIG_FEATURE_TELNET_AUTOLOGIN is not set
973+# CONFIG_FEATURE_TELNET_WIDTH is not set
974+# CONFIG_TELNETD is not set
975+# CONFIG_FEATURE_TELNETD_STANDALONE is not set
976+# CONFIG_FEATURE_TELNETD_INETD_WAIT is not set
977+# CONFIG_TFTP is not set
978+# CONFIG_FEATURE_TFTP_PROGRESS_BAR is not set
979+# CONFIG_FEATURE_TFTP_HPA_COMPAT is not set
980+# CONFIG_TFTPD is not set
981+# CONFIG_FEATURE_TFTP_GET is not set
982+# CONFIG_FEATURE_TFTP_PUT is not set
983+# CONFIG_FEATURE_TFTP_BLOCKSIZE is not set
984+# CONFIG_TFTP_DEBUG is not set
985+CONFIG_TLS=y
986+CONFIG_TRACEROUTE=y
987+CONFIG_TRACEROUTE6=y
988+CONFIG_FEATURE_TRACEROUTE_VERBOSE=y
989+CONFIG_FEATURE_TRACEROUTE_USE_ICMP=y
990+CONFIG_TUNCTL=y
991+CONFIG_FEATURE_TUNCTL_UG=y
992+CONFIG_VCONFIG=y
993+CONFIG_WGET=y
994+CONFIG_FEATURE_WGET_LONG_OPTIONS=y
995+CONFIG_FEATURE_WGET_STATUSBAR=y
996+CONFIG_FEATURE_WGET_AUTHENTICATION=y
997+CONFIG_FEATURE_WGET_TIMEOUT=y
998+CONFIG_FEATURE_WGET_HTTPS=y
999+# CONFIG_FEATURE_WGET_OPENSSL is not set
1000+CONFIG_WHOIS=y
1001+# CONFIG_ZCIP is not set
1002+# CONFIG_UDHCPD is not set
1003+# CONFIG_FEATURE_UDHCPD_BASE_IP_ON_MAC is not set
1004+# CONFIG_FEATURE_UDHCPD_WRITE_LEASES_EARLY is not set
1005+CONFIG_DHCPD_LEASES_FILE=""
1006+CONFIG_DUMPLEASES=y
1007+# CONFIG_DHCPRELAY is not set
1008+CONFIG_UDHCPC=y
1009+CONFIG_FEATURE_UDHCPC_ARPING=y
1010+CONFIG_FEATURE_UDHCPC_SANITIZEOPT=y
1011+CONFIG_UDHCPC_DEFAULT_SCRIPT="/usr/share/udhcpc/default.script"
1012+CONFIG_UDHCPC6=y
1013+CONFIG_FEATURE_UDHCPC6_RFC3646=y
1014+CONFIG_FEATURE_UDHCPC6_RFC4704=y
1015+CONFIG_FEATURE_UDHCPC6_RFC4833=y
1016+CONFIG_FEATURE_UDHCPC6_RFC5970=y
1017+
1018+#
1019+# Common options for DHCP applets
1020+#
1021+# CONFIG_FEATURE_UDHCP_PORT is not set
1022+CONFIG_UDHCP_DEBUG=0
1023+CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=80
1024+CONFIG_FEATURE_UDHCP_RFC3397=y
1025+CONFIG_FEATURE_UDHCP_8021Q=y
1026+CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-b -R"
1027+
1028+#
1029+# Print Utilities
1030+#
1031+# CONFIG_LPD is not set
1032+# CONFIG_LPR is not set
1033+# CONFIG_LPQ is not set
1034+
1035+#
1036+# Mail Utilities
1037+#
1038+CONFIG_MAKEMIME=y
1039+# CONFIG_POPMAILDIR is not set
1040+# CONFIG_FEATURE_POPMAILDIR_DELIVERY is not set
1041+CONFIG_REFORMIME=y
1042+CONFIG_FEATURE_REFORMIME_COMPAT=y
1043+CONFIG_SENDMAIL=y
1044+CONFIG_FEATURE_MIME_CHARSET="us-ascii"
1045+
1046+#
1047+# Process Utilities
1048+#
1049+CONFIG_FREE=y
1050+CONFIG_FUSER=y
1051+CONFIG_IOSTAT=y
1052+CONFIG_KILL=y
1053+CONFIG_KILLALL=y
1054+CONFIG_KILLALL5=y
1055+CONFIG_LSOF=y
1056+CONFIG_MPSTAT=y
1057+CONFIG_NMETER=y
1058+CONFIG_PGREP=y
1059+CONFIG_PKILL=y
1060+CONFIG_PIDOF=y
1061+CONFIG_FEATURE_PIDOF_SINGLE=y
1062+CONFIG_FEATURE_PIDOF_OMIT=y
1063+CONFIG_PMAP=y
1064+CONFIG_POWERTOP=y
1065+CONFIG_FEATURE_POWERTOP_INTERACTIVE=y
1066+CONFIG_PS=y
1067+# CONFIG_FEATURE_PS_WIDE is not set
1068+# CONFIG_FEATURE_PS_LONG is not set
1069+CONFIG_FEATURE_PS_TIME=y
1070+# CONFIG_FEATURE_PS_UNUSUAL_SYSTEMS is not set
1071+CONFIG_FEATURE_PS_ADDITIONAL_COLUMNS=y
1072+CONFIG_PSTREE=y
1073+CONFIG_PWDX=y
1074+CONFIG_SMEMCAP=y
1075+CONFIG_BB_SYSCTL=y
1076+CONFIG_TOP=y
1077+CONFIG_FEATURE_TOP_INTERACTIVE=y
1078+CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE=y
1079+CONFIG_FEATURE_TOP_CPU_GLOBAL_PERCENTS=y
1080+CONFIG_FEATURE_TOP_SMP_CPU=y
1081+# CONFIG_FEATURE_TOP_DECIMALS is not set
1082+CONFIG_FEATURE_TOP_SMP_PROCESS=y
1083+CONFIG_FEATURE_TOPMEM=y
1084+CONFIG_UPTIME=y
1085+# CONFIG_FEATURE_UPTIME_UTMP_SUPPORT is not set
1086+CONFIG_WATCH=y
1087+# CONFIG_FEATURE_SHOW_THREADS is not set
1088+
1089+#
1090+# Runit Utilities
1091+#
1092+# CONFIG_CHPST is not set
1093+# CONFIG_SETUIDGID is not set
1094+# CONFIG_ENVUIDGID is not set
1095+# CONFIG_ENVDIR is not set
1096+# CONFIG_SOFTLIMIT is not set
1097+# CONFIG_RUNSV is not set
1098+# CONFIG_RUNSVDIR is not set
1099+# CONFIG_FEATURE_RUNSVDIR_LOG is not set
1100+# CONFIG_SV is not set
1101+CONFIG_SV_DEFAULT_SERVICE_DIR=""
1102+# CONFIG_SVC is not set
1103+# CONFIG_SVOK is not set
1104+# CONFIG_SVLOGD is not set
1105+# CONFIG_CHCON is not set
1106+# CONFIG_GETENFORCE is not set
1107+# CONFIG_GETSEBOOL is not set
1108+# CONFIG_LOAD_POLICY is not set
1109+# CONFIG_MATCHPATHCON is not set
1110+# CONFIG_RUNCON is not set
1111+# CONFIG_SELINUXENABLED is not set
1112+# CONFIG_SESTATUS is not set
1113+# CONFIG_SETENFORCE is not set
1114+# CONFIG_SETFILES is not set
1115+# CONFIG_FEATURE_SETFILES_CHECK_OPTION is not set
1116+# CONFIG_RESTORECON is not set
1117+# CONFIG_SETSEBOOL is not set
1118+
1119+#
1120+# Shells
1121+#
1122+CONFIG_SH_IS_ASH=y
1123+# CONFIG_SH_IS_HUSH is not set
1124+# CONFIG_SH_IS_NONE is not set
1125+# CONFIG_BASH_IS_ASH is not set
1126+# CONFIG_BASH_IS_HUSH is not set
1127+CONFIG_BASH_IS_NONE=y
1128+CONFIG_SHELL_ASH=y
1129+CONFIG_ASH=y
1130+CONFIG_ASH_OPTIMIZE_FOR_SIZE=y
1131+CONFIG_ASH_INTERNAL_GLOB=y
1132+CONFIG_ASH_BASH_COMPAT=y
1133+CONFIG_ASH_BASH_SOURCE_CURDIR=y
1134+CONFIG_ASH_BASH_NOT_FOUND_HOOK=y
1135+CONFIG_ASH_JOB_CONTROL=y
1136+CONFIG_ASH_ALIAS=y
1137+CONFIG_ASH_RANDOM_SUPPORT=y
1138+CONFIG_ASH_EXPAND_PRMT=y
1139+CONFIG_ASH_IDLE_TIMEOUT=y
1140+CONFIG_ASH_MAIL=y
1141+CONFIG_ASH_ECHO=y
1142+CONFIG_ASH_PRINTF=y
1143+CONFIG_ASH_TEST=y
1144+CONFIG_ASH_HELP=y
1145+CONFIG_ASH_GETOPTS=y
1146+CONFIG_ASH_CMDCMD=y
1147+# CONFIG_CTTYHACK is not set
1148+# CONFIG_HUSH is not set
1149+# CONFIG_SHELL_HUSH is not set
1150+# CONFIG_HUSH_BASH_COMPAT is not set
1151+# CONFIG_HUSH_BRACE_EXPANSION is not set
1152+# CONFIG_HUSH_LINENO_VAR is not set
1153+# CONFIG_HUSH_BASH_SOURCE_CURDIR is not set
1154+# CONFIG_HUSH_INTERACTIVE is not set
1155+# CONFIG_HUSH_SAVEHISTORY is not set
1156+# CONFIG_HUSH_JOB is not set
1157+# CONFIG_HUSH_TICK is not set
1158+# CONFIG_HUSH_IF is not set
1159+# CONFIG_HUSH_LOOPS is not set
1160+# CONFIG_HUSH_CASE is not set
1161+# CONFIG_HUSH_FUNCTIONS is not set
1162+# CONFIG_HUSH_LOCAL is not set
1163+# CONFIG_HUSH_RANDOM_SUPPORT is not set
1164+# CONFIG_HUSH_MODE_X is not set
1165+# CONFIG_HUSH_ECHO is not set
1166+# CONFIG_HUSH_PRINTF is not set
1167+# CONFIG_HUSH_TEST is not set
1168+# CONFIG_HUSH_HELP is not set
1169+# CONFIG_HUSH_EXPORT is not set
1170+# CONFIG_HUSH_EXPORT_N is not set
1171+# CONFIG_HUSH_READONLY is not set
1172+# CONFIG_HUSH_KILL is not set
1173+# CONFIG_HUSH_WAIT is not set
1174+# CONFIG_HUSH_COMMAND is not set
1175+# CONFIG_HUSH_TRAP is not set
1176+# CONFIG_HUSH_TYPE is not set
1177+# CONFIG_HUSH_TIMES is not set
1178+# CONFIG_HUSH_READ is not set
1179+# CONFIG_HUSH_SET is not set
1180+# CONFIG_HUSH_UNSET is not set
1181+# CONFIG_HUSH_ULIMIT is not set
1182+# CONFIG_HUSH_UMASK is not set
1183+# CONFIG_HUSH_GETOPTS is not set
1184+# CONFIG_HUSH_MEMLEAK is not set
1185+
1186+#
1187+# Options common to all shells
1188+#
1189+CONFIG_FEATURE_SH_MATH=y
1190+CONFIG_FEATURE_SH_MATH_64=y
1191+CONFIG_FEATURE_SH_MATH_BASE=y
1192+CONFIG_FEATURE_SH_EXTRA_QUIET=y
1193+# CONFIG_FEATURE_SH_STANDALONE is not set
1194+# CONFIG_FEATURE_SH_NOFORK is not set
1195+CONFIG_FEATURE_SH_READ_FRAC=y
1196+CONFIG_FEATURE_SH_HISTFILESIZE=y
1197+CONFIG_FEATURE_SH_EMBEDDED_SCRIPTS=y
1198+
1199+#
1200+# System Logging Utilities
1201+#
1202+CONFIG_KLOGD=y
1203+
1204+#
1205+# klogd should not be used together with syslog to kernel printk buffer
1206+#
1207+CONFIG_FEATURE_KLOGD_KLOGCTL=y
1208+CONFIG_LOGGER=y
1209+CONFIG_LOGREAD=y
1210+CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING=y
1211+CONFIG_SYSLOGD=y
1212+CONFIG_FEATURE_ROTATE_LOGFILE=y
1213+CONFIG_FEATURE_REMOTE_LOG=y
1214+CONFIG_FEATURE_SYSLOGD_DUP=y
1215+CONFIG_FEATURE_SYSLOGD_CFG=y
1216+# CONFIG_FEATURE_SYSLOGD_PRECISE_TIMESTAMPS is not set
1217+CONFIG_FEATURE_SYSLOGD_READ_BUFFER_SIZE=2048
1218+CONFIG_FEATURE_IPC_SYSLOG=y
1219+CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=16
1220+CONFIG_FEATURE_KMSG_SYSLOG=y
1221diff --git a/initrd/make-initrd b/initrd/make-initrd
1222index ffe3702..6439a54 100755
1223--- a/initrd/make-initrd
1224+++ b/initrd/make-initrd
1225@@ -1,6 +1,7 @@
1226 #!/bin/bash
1227
1228 base="`pwd`/initrd"
1229+builddir="$base"/build
1230 outpath="$base"/out
1231 tmpdir=`mktemp -d`
1232 tmpfile=`mktemp`
1233@@ -8,12 +9,35 @@ initrd=$outpath/initrd
1234 init="$base"/init-initrd
1235 rm -rf $tmpdir
1236
1237+
1238 if test -z "$busybox"
1239 then
1240- busybox=$(which busybox)
1241+ busybox_version=1.32.0
1242+ busybox_name=busybox-$busybox_version
1243+ busybox_tarball="$busybox_name".tar.bz2
1244+ busybox_url="https://busybox.net/downloads/""$busybox_tarball"
1245+ busybox_src_config="$base"/config."$ARCH"
1246+ busybox_image="$builddir"/"$busybox_name"/busybox
1247+
1248+ rm -rf $outpath
1249+ mkdir -p $outpath
1250+ mkdir -p $builddir
1251+
1252+ if [[ ! -f $builddir/$busybox_tarball ]]
1253+ then
1254+ wget -O $builddir/$busybox_tarball --tries=20 $busybox_url
1255+ fi
1256+ if [[ ! -d $builddir/$busybox_name ]]
1257+ then
1258+ tar --extract --bzip2 --touch --file="$builddir/$busybox_tarball" --directory="$builddir"
1259+ fi
1260+ cd $builddir/$busybox_name
1261+ cp $busybox_src_config .config
1262+ make -j "$(getconf _NPROCESSORS_ONLN)"
1263+ export busybox="$busybox_image"
1264 fi
1265
1266-mkdir -p $outpath
1267+
1268 mkdir -p $tmpdir/bin
1269 mkdir -p $tmpdir/sbin
1270 mkdir -p $tmpdir/etc
1271--
12722.17.1
1273
diff --git a/recipes-core/runx/runx/0002-don-t-call-busybox-install.patch b/recipes-core/runx/runx/0002-don-t-call-busybox-install.patch
new file mode 100644
index 00000000..6daeac01
--- /dev/null
+++ b/recipes-core/runx/runx/0002-don-t-call-busybox-install.patch
@@ -0,0 +1,348 @@
1From d6df537fe5098c0e9f50deecab85b2102049030a Mon Sep 17 00:00:00 2001
2From: Stefano Stabellini <sstabellini@kernel.org>
3Date: Mon, 21 Sep 2020 13:15:53 -0700
4Subject: [PATCH 2/2] don't call busybox --install
5
6Busybox --install is very convenient but has the problem that it only
7works for native builds. If busybox is of a different arch compared to
8the target, it cannot be run at build time.
9
10Solve the problem by install busybox, and creating links to it, by hand.
11
12Signed-off-by: Stefano Stabellini <stefano.stabellini@xilinx.com>
13---
14 initrd/applet-list | 308 +++++++++++++++++++++++++++++++++++++++++++++
15 initrd/make-initrd | 5 +-
16 2 files changed, 312 insertions(+), 1 deletion(-)
17 create mode 100644 initrd/applet-list
18
19Index: git/initrd/applet-list
20===================================================================
21--- /dev/null 1970-01-01 00:00:00.000000000 +0000
22+++ git/initrd/applet-list 2020-09-21 18:29:35.560281087 -0700
23@@ -0,0 +1,308 @@
24+ipneigh
25+tee
26+mpstat
27+lzop
28+ip
29+inotifyd
30+rdate
31+nslookup
32+switch_root
33+sendmail
34+slattach
35+sum
36+od
37+less
38+vlock
39+cmp
40+dnsdomainname
41+renice
42+fsync
43+unlzop
44+xxd
45+stat
46+flock
47+fbset
48+bzip2
49+fdisk
50+fallocate
51+deallocvt
52+cat
53+mkdir
54+traceroute
55+dc
56+loadfont
57+nohup
58+wc
59+ping6
60+login
61+ifdown
62+shred
63+false
64+pwd
65+uname
66+hd
67+hdparm
68+expand
69+lspci
70+shuf
71+time
72+tunctl
73+sha3sum
74+sed
75+ed
76+makemime
77+factor
78+ls
79+volname
80+stty
81+truncate
82+nproc
83+openvt
84+hexdump
85+mountpoint
86+nl
87+more
88+wget
89+traceroute6
90+linuxrc
91+fbsplash
92+pstree
93+kill
94+df
95+uptime
96+split
97+arch
98+getty
99+syslogd
100+cpio
101+unexpand
102+sha512sum
103+sha256sum
104+clear
105+rdev
106+md5sum
107+egrep
108+lzma
109+rmdir
110+tail
111+netstat
112+mkswap
113+pkill
114+fstrim
115+bzcat
116+chmod
117+mount
118+paste
119+rev
120+fsck
121+ping
122+ifup
123+mesg
124+gzip
125+setconsole
126+printenv
127+swapoff
128+unxz
129+sort
130+chpasswd
131+true
132+linux32
133+blkid
134+env
135+dd
136+fatattr
137+bc
138+[[
139+mkfifo
140+route
141+xz
142+setkeycodes
143+install
144+mkpasswd
145+awk
146+rm
147+nsenter
148+which
149+sh
150+ln
151+fdflush
152+test
153+ttysize
154+fuser
155+base64
156+run-parts
157+ntpd
158+mv
159+printf
160+nanddump
161+zcat
162+basename
163+xzcat
164+unlzma
165+ipcs
166+ash
167+tar
168+iplink
169+sysctl
170+crontab
171+chown
172+watchdog
173+partprobe
174+ifconfig
175+chvt
176+readahead
177+add-shell
178+ipaddr
179+link
180+getopt
181+reboot
182+blkdiscard
183+pscan
184+nandwrite
185+cksum
186+iostat
187+deluser
188+du
189+tty
190+iprule
191+setserial
192+eject
193+unix2dos
194+free
195+conspy
196+pivot_root
197+setfont
198+kbd_mode
199+strings
200+groups
201+ionice
202+swapon
203+smemcap
204+brctl
205+yes
206+cal
207+bbconfig
208+uudecode
209+logger
210+watch
211+[
212+udhcpc
213+acpid
214+echo
215+setsid
216+expr
217+readlink
218+linux64
219+sync
220+uuencode
221+insmod
222+rmmod
223+raidautorun
224+nbd-client
225+ipcrm
226+modinfo
227+adjtimex
228+unzip
229+cp
230+killall
231+delgroup
232+blockdev
233+halt
234+modprobe
235+showkey
236+setlogcons
237+whois
238+lsof
239+vi
240+grep
241+sha1sum
242+ps
243+timeout
244+crond
245+hwclock
246+unlink
247+touch
248+losetup
249+iptunnel
250+fold
251+id
252+chroot
253+rfkill
254+mdev
255+lzcat
256+microcom
257+chgrp
258+date
259+udhcpc6
260+init
261+su
262+head
263+remove-shell
264+reset
265+realpath
266+xargs
267+cut
268+poweroff
269+killall5
270+addgroup
271+logread
272+resize
273+pipe_progress
274+findfs
275+dumpkmap
276+reformime
277+fdformat
278+arping
279+nologin
280+lsmod
281+mkdosfs
282+klogd
283+dirname
284+umount
285+setpriv
286+cryptpw
287+usleep
288+pgrep
289+hostname
290+powertop
291+dos2unix
292+iproute
293+ether-wake
294+nice
295+vconfig
296+gunzip
297+hostid
298+top
299+tr
300+sleep
301+mkfs.vfat
302+comm
303+lzopcat
304+depmod
305+arp
306+mktemp
307+uniq
308+dumpleases
309+adduser
310+mknod
311+dmesg
312+nmeter
313+lsusb
314+find
315+unshare
316+nameif
317+whoami
318+ifenslave
319+pwdx
320+loadkmap
321+pmap
322+ipcalc
323+tac
324+bunzip2
325+beep
326+pidof
327+nc
328+fgrep
329+readprofile
330+seq
331+diff
332Index: git/initrd/make-initrd
333===================================================================
334--- git.orig/initrd/make-initrd 2020-09-21 18:29:35.564281091 -0700
335+++ git/initrd/make-initrd 2020-09-21 18:30:42.528356223 -0700
336@@ -58,7 +58,11 @@
337 if [ -n "$QEMU_USER" ]; then
338 $QEMU_USER $tmpdir/bin/busybox --install $tmpdir/bin
339 else
340- echo "QEMU_USER is not defined, no binary symlinks will be available"
341+ echo "QEMU_USER is not defined, default binary symlinks will be available"
342+ for i in `cat "$base"/applet-list`
343+ do
344+ ln -s /bin/busybox $tmpdir/bin/$i
345+ done
346 fi
347 else
348 $tmpdir/bin/busybox --install $tmpdir/bin
diff --git a/recipes-core/runx/runx_git.bb b/recipes-core/runx/runx_git.bb
index 53c24641..48a57766 100644
--- a/recipes-core/runx/runx_git.bb
+++ b/recipes-core/runx/runx_git.bb
@@ -14,6 +14,11 @@ SRC_URI = "\
14 file://0001-make-initrd-cross-install-tweaks.patch \ 14 file://0001-make-initrd-cross-install-tweaks.patch \
15 file://0001-runX-add-bounded-looping-timeout.patch \ 15 file://0001-runX-add-bounded-looping-timeout.patch \
16 " 16 "
17
18SRC_URI += "file://0001-Add-busybox-cross-build-for-arm64.patch \
19 file://0002-don-t-call-busybox-install.patch \
20 "
21
17SRC_URI[md5sum] = "ce9b2d974d27408a61c53a30d3f98fb9" 22SRC_URI[md5sum] = "ce9b2d974d27408a61c53a30d3f98fb9"
18SRC_URI[sha256sum] = "bf338980b1670bca287f9994b7441c2361907635879169c64ae78364efc5f491" 23SRC_URI[sha256sum] = "bf338980b1670bca287f9994b7441c2361907635879169c64ae78364efc5f491"
19 24
@@ -33,6 +38,7 @@ inherit kernel-arch
33# we have a busybox bbappend that makes /bin available to the 38# we have a busybox bbappend that makes /bin available to the
34# sysroot, and hence gets us the target binary that we need 39# sysroot, and hence gets us the target binary that we need
35DEPENDS = "busybox-initrd go-build" 40DEPENDS = "busybox-initrd go-build"
41DEPENDS += "resolvconf"
36 42
37# for the kernel build phase 43# for the kernel build phase
38DEPENDS += "openssl-native coreutils-native util-linux-native xz-native bc-native" 44DEPENDS += "openssl-native coreutils-native util-linux-native xz-native bc-native"
@@ -42,6 +48,8 @@ RDEPENDS_${PN} += " jq bash"
42RDEPENDS_${PN} += " xen-tools-xl go-build socat daemonize" 48RDEPENDS_${PN} += " xen-tools-xl go-build socat daemonize"
43RDEPENDS_${PN} += " qemu-system-i386 ca-certificates qemu qemu-keymaps" 49RDEPENDS_${PN} += " qemu-system-i386 ca-certificates qemu qemu-keymaps"
44 50
51RUNX_USE_INTERNAL_BUSYBOX ?= ""
52
45do_compile() { 53do_compile() {
46 # we'll need this for the initrd later, so lets error if it isn't what 54 # we'll need this for the initrd later, so lets error if it isn't what
47 # we expect (statically linked) 55 # we expect (statically linked)
@@ -77,11 +85,22 @@ do_compile() {
77 ${S}/kernel/make-kernel 85 ${S}/kernel/make-kernel
78 86
79 # construct the initrd 87 # construct the initrd
80 echo "[INFO]: runx: constructing the initrd" 88 bbnote "runx: constructing the initrd"
81 cp ${STAGING_DIR_HOST}/bin/busybox.nosuid ${WORKDIR}/busybox 89 if [ -z "${RUNX_USE_INTERNAL_BUSYBOX}" ]; then
82 export QEMU_USER="`which qemu-${HOST_ARCH}` -L ${STAGING_BASELIBDIR}/.." 90 bbnote "runx: using external busybox"
83 export BUSYBOX="${WORKDIR}/busybox" 91 cp ${STAGING_DIR_HOST}/bin/busybox.nosuid ${WORKDIR}/busybox
84 export CROSS_COMPILE="t" 92 export QEMU_USER="`which qemu-${HOST_ARCH}` -L ${STAGING_BASELIBDIR}/.."
93 export BUSYBOX="${WORKDIR}/busybox"
94 export CROSS_COMPILE="${TARGET_PREFIX}"
95 else
96 bbnote "runx: using internal busybox"
97 export CC="${CC}"
98 export LD="${LD}"
99 export CFLAGS="${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS} ${CFLAGS}"
100 export LDFLAGS="${TOOLCHAIN_OPTIONS} ${HOST_LD_ARCH} ${LDFLAGS}"
101 export HOSTCFLAGS="${BUILD_CFLAGS} ${BUILD_LDFLAGS}"
102 export CROSS_COMPILE="${TARGET_PREFIX}"
103 fi
85 ${S}/initrd/make-initrd 104 ${S}/initrd/make-initrd
86} 105}
87 106