From 900d0ebf9c46dfd2b25c4c9dab9eff106ca9ceb0 Mon Sep 17 00:00:00 2001 From: Mikko Ylinen Date: Wed, 6 Sep 2023 12:24:31 +0300 Subject: [PATCH] images: have base image specific toybox config Our *.Dockefile's allow builders to specify FINAL_BASE base image to which static binaries are copied for the final image. Initcontainers install toybox with a minimum set of "coreutils" needed but with some final base images the minimum set can be even smaller since they may already have /bin/sh, ls etc. installed. Make initcontainers to have base image specific toybox-config. For now, "static" for distroles/static and "ubi8-micro" for UBI base image configs are created. At the same time, move the toybox build to "usrmerge" based setup where everything is installed to /usr/bin and /bin is a symlink to /usr/bin. buildkit does not seem to like it so disable buildkit usage for now. Signed-off-by: Mikko Ylinen --- build/docker/build-image.sh | 2 +- .../docker/intel-dlb-initcontainer.Dockerfile | 4 +- .../intel-fpga-initcontainer.Dockerfile | 4 +- .../docker/intel-gpu-initcontainer.Dockerfile | 4 +- .../docker/intel-qat-initcontainer.Dockerfile | 4 +- .../docker/intel-sgx-initcontainer.Dockerfile | 4 +- build/docker/lib/toybox_build.docker | 4 +- .../{toybox-config => toybox-config-static} | 0 build/docker/toybox-config-ubi9-micro | 390 ++++++++++++++++++ 9 files changed, 409 insertions(+), 7 deletions(-) rename build/docker/{toybox-config => toybox-config-static} (100%) create mode 100644 build/docker/toybox-config-ubi9-micro diff --git a/build/docker/build-image.sh b/build/docker/build-image.sh index f13a9cf5..f070a7b1 100755 --- a/build/docker/build-image.sh +++ b/build/docker/build-image.sh @@ -31,7 +31,7 @@ fi BUILD_ARGS="${BUILD_ARGS} --build-arg FINAL_BASE=gcr.io/distroless/static" if [ -z "${BUILDER}" -o "${BUILDER}" = 'docker' -o "${BUILDER}" = 'podman' ] ; then - ${BUILDER} build --pull -t ${IMG}:${TAG} ${BUILD_ARGS} -f ${DOCKERFILE} . + DOCKER_BUILDKIT=0 ${BUILDER} build --pull -t ${IMG}:${TAG} ${BUILD_ARGS} -f ${DOCKERFILE} . elif [ "${BUILDER}" = 'buildah' ] ; then BUILDAH_RUNTIME=runc buildah bud --pull-always -t ${IMG}:${TAG} ${BUILD_ARGS} -f ${DOCKERFILE} . else diff --git a/build/docker/intel-dlb-initcontainer.Dockerfile b/build/docker/intel-dlb-initcontainer.Dockerfile index 39915cf5..bbc4b3f6 100644 --- a/build/docker/intel-dlb-initcontainer.Dockerfile +++ b/build/docker/intel-dlb-initcontainer.Dockerfile @@ -44,12 +44,14 @@ ARG TOYBOX_SHA256="3c31e235fe87e74e6c6cf7cd7299fcbffb0f4a4834dae607aa26bb4f15835 ARG ROOT=/install_root RUN apt-get update && apt-get --no-install-recommends -y install musl musl-tools musl-dev SHELL ["/bin/bash", "-o", "pipefail", "-c"] +ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest RUN curl -SL https://github.com/landley/toybox/archive/refs/tags/$TOYBOX_VERSION.tar.gz -o toybox.tar.gz \ && echo "$TOYBOX_SHA256 toybox.tar.gz" | sha256sum -c - \ && tar -xzf toybox.tar.gz \ && rm toybox.tar.gz \ && cd toybox-$TOYBOX_VERSION \ - && KCONFIG_CONFIG=${DIR}/build/docker/toybox-config LDFLAGS="--static" CC=musl-gcc PREFIX=$ROOT V=2 make toybox install \ + && KCONFIG_CONFIG=${DIR}/build/docker/toybox-config-$(echo ${FINAL_BASE} | xargs basename -s :latest) LDFLAGS="--static" CC=musl-gcc PREFIX=$ROOT/usr/bin V=2 make toybox install_flat \ + && cd $ROOT && ln -fs usr/bin bin && cd - \ && install -D LICENSE $ROOT/licenses/toybox \ && cp -r /usr/share/doc/musl $ROOT/licenses/ ### diff --git a/build/docker/intel-fpga-initcontainer.Dockerfile b/build/docker/intel-fpga-initcontainer.Dockerfile index 2176df7a..668ed27a 100644 --- a/build/docker/intel-fpga-initcontainer.Dockerfile +++ b/build/docker/intel-fpga-initcontainer.Dockerfile @@ -75,12 +75,14 @@ ARG TOYBOX_SHA256="3c31e235fe87e74e6c6cf7cd7299fcbffb0f4a4834dae607aa26bb4f15835 ARG ROOT=/install_root RUN apt-get update && apt-get --no-install-recommends -y install musl musl-tools musl-dev SHELL ["/bin/bash", "-o", "pipefail", "-c"] +ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest RUN curl -SL https://github.com/landley/toybox/archive/refs/tags/$TOYBOX_VERSION.tar.gz -o toybox.tar.gz \ && echo "$TOYBOX_SHA256 toybox.tar.gz" | sha256sum -c - \ && tar -xzf toybox.tar.gz \ && rm toybox.tar.gz \ && cd toybox-$TOYBOX_VERSION \ - && KCONFIG_CONFIG=${DIR}/build/docker/toybox-config LDFLAGS="--static" CC=musl-gcc PREFIX=$ROOT V=2 make toybox install \ + && KCONFIG_CONFIG=${DIR}/build/docker/toybox-config-$(echo ${FINAL_BASE} | xargs basename -s :latest) LDFLAGS="--static" CC=musl-gcc PREFIX=$ROOT/usr/bin V=2 make toybox install_flat \ + && cd $ROOT && ln -fs usr/bin bin && cd - \ && install -D LICENSE $ROOT/licenses/toybox \ && cp -r /usr/share/doc/musl $ROOT/licenses/ ### diff --git a/build/docker/intel-gpu-initcontainer.Dockerfile b/build/docker/intel-gpu-initcontainer.Dockerfile index 2d4a524c..eaaf5f07 100644 --- a/build/docker/intel-gpu-initcontainer.Dockerfile +++ b/build/docker/intel-gpu-initcontainer.Dockerfile @@ -58,12 +58,14 @@ ARG TOYBOX_SHA256="3c31e235fe87e74e6c6cf7cd7299fcbffb0f4a4834dae607aa26bb4f15835 ARG ROOT=/install_root RUN apt-get update && apt-get --no-install-recommends -y install musl musl-tools musl-dev SHELL ["/bin/bash", "-o", "pipefail", "-c"] +ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest RUN curl -SL https://github.com/landley/toybox/archive/refs/tags/$TOYBOX_VERSION.tar.gz -o toybox.tar.gz \ && echo "$TOYBOX_SHA256 toybox.tar.gz" | sha256sum -c - \ && tar -xzf toybox.tar.gz \ && rm toybox.tar.gz \ && cd toybox-$TOYBOX_VERSION \ - && KCONFIG_CONFIG=${DIR}/build/docker/toybox-config LDFLAGS="--static" CC=musl-gcc PREFIX=$ROOT V=2 make toybox install \ + && KCONFIG_CONFIG=${DIR}/build/docker/toybox-config-$(echo ${FINAL_BASE} | xargs basename -s :latest) LDFLAGS="--static" CC=musl-gcc PREFIX=$ROOT/usr/bin V=2 make toybox install_flat \ + && cd $ROOT && ln -fs usr/bin bin && cd - \ && install -D LICENSE $ROOT/licenses/toybox \ && cp -r /usr/share/doc/musl $ROOT/licenses/ ### diff --git a/build/docker/intel-qat-initcontainer.Dockerfile b/build/docker/intel-qat-initcontainer.Dockerfile index 3b68b02e..70745b7f 100644 --- a/build/docker/intel-qat-initcontainer.Dockerfile +++ b/build/docker/intel-qat-initcontainer.Dockerfile @@ -44,12 +44,14 @@ ARG TOYBOX_SHA256="3c31e235fe87e74e6c6cf7cd7299fcbffb0f4a4834dae607aa26bb4f15835 ARG ROOT=/install_root RUN apt-get update && apt-get --no-install-recommends -y install musl musl-tools musl-dev SHELL ["/bin/bash", "-o", "pipefail", "-c"] +ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest RUN curl -SL https://github.com/landley/toybox/archive/refs/tags/$TOYBOX_VERSION.tar.gz -o toybox.tar.gz \ && echo "$TOYBOX_SHA256 toybox.tar.gz" | sha256sum -c - \ && tar -xzf toybox.tar.gz \ && rm toybox.tar.gz \ && cd toybox-$TOYBOX_VERSION \ - && KCONFIG_CONFIG=${DIR}/build/docker/toybox-config LDFLAGS="--static" CC=musl-gcc PREFIX=$ROOT V=2 make toybox install \ + && KCONFIG_CONFIG=${DIR}/build/docker/toybox-config-$(echo ${FINAL_BASE} | xargs basename -s :latest) LDFLAGS="--static" CC=musl-gcc PREFIX=$ROOT/usr/bin V=2 make toybox install_flat \ + && cd $ROOT && ln -fs usr/bin bin && cd - \ && install -D LICENSE $ROOT/licenses/toybox \ && cp -r /usr/share/doc/musl $ROOT/licenses/ ### diff --git a/build/docker/intel-sgx-initcontainer.Dockerfile b/build/docker/intel-sgx-initcontainer.Dockerfile index d75d002f..c81bf6c3 100644 --- a/build/docker/intel-sgx-initcontainer.Dockerfile +++ b/build/docker/intel-sgx-initcontainer.Dockerfile @@ -58,12 +58,14 @@ ARG TOYBOX_SHA256="3c31e235fe87e74e6c6cf7cd7299fcbffb0f4a4834dae607aa26bb4f15835 ARG ROOT=/install_root RUN apt-get update && apt-get --no-install-recommends -y install musl musl-tools musl-dev SHELL ["/bin/bash", "-o", "pipefail", "-c"] +ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest RUN curl -SL https://github.com/landley/toybox/archive/refs/tags/$TOYBOX_VERSION.tar.gz -o toybox.tar.gz \ && echo "$TOYBOX_SHA256 toybox.tar.gz" | sha256sum -c - \ && tar -xzf toybox.tar.gz \ && rm toybox.tar.gz \ && cd toybox-$TOYBOX_VERSION \ - && KCONFIG_CONFIG=${DIR}/build/docker/toybox-config LDFLAGS="--static" CC=musl-gcc PREFIX=$ROOT V=2 make toybox install \ + && KCONFIG_CONFIG=${DIR}/build/docker/toybox-config-$(echo ${FINAL_BASE} | xargs basename -s :latest) LDFLAGS="--static" CC=musl-gcc PREFIX=$ROOT/usr/bin V=2 make toybox install_flat \ + && cd $ROOT && ln -fs usr/bin bin && cd - \ && install -D LICENSE $ROOT/licenses/toybox \ && cp -r /usr/share/doc/musl $ROOT/licenses/ ### diff --git a/build/docker/lib/toybox_build.docker b/build/docker/lib/toybox_build.docker index 3fb08156..0bb5bbe5 100644 --- a/build/docker/lib/toybox_build.docker +++ b/build/docker/lib/toybox_build.docker @@ -5,12 +5,14 @@ ARG ROOT=/install_root RUN apt-get update && apt-get --no-install-recommends -y install musl musl-tools musl-dev SHELL ["/bin/bash", "-o", "pipefail", "-c"] +ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest RUN curl -SL https://github.com/landley/toybox/archive/refs/tags/$TOYBOX_VERSION.tar.gz -o toybox.tar.gz \N && echo "$TOYBOX_SHA256 toybox.tar.gz" | sha256sum -c - \N && tar -xzf toybox.tar.gz \N && rm toybox.tar.gz \N && cd toybox-$TOYBOX_VERSION \N - && KCONFIG_CONFIG=${DIR}/build/docker/toybox-config LDFLAGS="--static" CC=musl-gcc PREFIX=$ROOT V=2 make toybox install \N + && KCONFIG_CONFIG=${DIR}/build/docker/toybox-config-$(echo ${FINAL_BASE} | xargs basename -s :latest) LDFLAGS="--static" CC=musl-gcc PREFIX=$ROOT/usr/bin V=2 make toybox install_flat \N + && cd $ROOT && ln -fs usr/bin bin && cd - \N && install -D LICENSE $ROOT/licenses/toybox \N && cp -r /usr/share/doc/musl $ROOT/licenses/ ### diff --git a/build/docker/toybox-config b/build/docker/toybox-config-static similarity index 100% rename from build/docker/toybox-config rename to build/docker/toybox-config-static diff --git a/build/docker/toybox-config-ubi9-micro b/build/docker/toybox-config-ubi9-micro new file mode 100644 index 00000000..b734a952 --- /dev/null +++ b/build/docker/toybox-config-ubi9-micro @@ -0,0 +1,390 @@ +# +# Automatically generated make config: don't edit +# ToyBox version: KCONFIG_VERSION +# Wed Sep 6 10:24:35 2023 +# +# CONFIG_TOYBOX_ON_ANDROID is not set +CONFIG_TOYBOX_FORK=y + +# +# Posix commands +# +# CONFIG_BASENAME is not set +# CONFIG_CAL is not set +# CONFIG_CAT is not set +# CONFIG_CHGRP is not set +# CONFIG_CHOWN is not set +# CONFIG_CHMOD is not set +# CONFIG_CKSUM is not set +# CONFIG_CRC32 is not set +# CONFIG_CMP is not set +# CONFIG_COMM is not set +# CONFIG_CP is not set +# CONFIG_MV is not set +# CONFIG_INSTALL is not set +# CONFIG_CPIO is not set +# CONFIG_CUT is not set +# CONFIG_DATE is not set +# CONFIG_DD is not set +# CONFIG_DF is not set +# CONFIG_DIRNAME is not set +# CONFIG_DU is not set +# CONFIG_ECHO is not set +# CONFIG_ENV is not set +# CONFIG_EXPAND is not set +# CONFIG_FALSE is not set +# CONFIG_FILE is not set +# CONFIG_FIND is not set +# CONFIG_GETCONF is not set +CONFIG_GREP=y +CONFIG_EGREP=y +CONFIG_FGREP=y +# CONFIG_HEAD is not set +# CONFIG_ICONV is not set +# CONFIG_ID is not set +# CONFIG_ID_Z is not set +# CONFIG_GROUPS is not set +# CONFIG_LOGNAME is not set +# CONFIG_WHOAMI is not set +# CONFIG_KILL is not set +# CONFIG_KILLALL5 is not set +# CONFIG_LINK is not set +# CONFIG_LN is not set +# CONFIG_LOGGER is not set +# CONFIG_LS is not set +# CONFIG_MKDIR is not set +# CONFIG_MKDIR_Z is not set +# CONFIG_MKFIFO is not set +# CONFIG_MKFIFO_Z is not set +# CONFIG_NICE is not set +# CONFIG_NL is not set +# CONFIG_NOHUP is not set +# CONFIG_OD is not set +# CONFIG_PASTE is not set +# CONFIG_PATCH is not set +# CONFIG_PRINTF is not set +# CONFIG_PS is not set +# CONFIG_TOP is not set +# CONFIG_IOTOP is not set +# CONFIG_PGREP is not set +# CONFIG_PKILL is not set +# CONFIG_PWD is not set +# CONFIG_RENICE is not set +# CONFIG_RM is not set +# CONFIG_RMDIR is not set +# CONFIG_SED is not set +# CONFIG_SLEEP is not set +# CONFIG_SORT is not set +# CONFIG_SORT_FLOAT is not set +# CONFIG_SPLIT is not set +# CONFIG_STRINGS is not set +# CONFIG_TAIL is not set +# CONFIG_TAR is not set +# CONFIG_TEE is not set +# CONFIG_TEST is not set +# CONFIG_TEST_GLUE is not set +# CONFIG_TIME is not set +# CONFIG_TOUCH is not set +# CONFIG_TRUE is not set +# CONFIG_TTY is not set +# CONFIG_ULIMIT is not set +# CONFIG_ARCH is not set +# CONFIG_LINUX32 is not set +# CONFIG_UNAME is not set +# CONFIG_UNIQ is not set +# CONFIG_UNLINK is not set +# CONFIG_UUDECODE is not set +# CONFIG_UUENCODE is not set +# CONFIG_WC is not set +# CONFIG_WHO is not set +# CONFIG_XARGS is not set + +# +# Pending (unfinished) commands +# +# CONFIG_ARP is not set +# CONFIG_ARPING is not set +# CONFIG_BC is not set +# CONFIG_BOOTCHARTD is not set +# CONFIG_BRCTL is not set +# CONFIG_CHSH is not set +# CONFIG_CROND is not set +# CONFIG_CRONTAB is not set +# CONFIG_DHCP is not set +# CONFIG_DHCP6 is not set +# CONFIG_DHCPD is not set +# CONFIG_DEBUG_DHCP is not set +# CONFIG_DIFF is not set +# CONFIG_DUMPLEASES is not set +# CONFIG_EXPR is not set +# CONFIG_FDISK is not set +# CONFIG_FOLD is not set +# CONFIG_FSCK is not set +# CONFIG_GETFATTR is not set +# CONFIG_GETOPT is not set +# CONFIG_GETTY is not set +# CONFIG_GITCOMPAT is not set +# CONFIG_GITCLONE is not set +# CONFIG_GITINIT is not set +# CONFIG_GITREMOTE is not set +# CONFIG_GITFETCH is not set +# CONFIG_GITCHECKOUT is not set +# CONFIG_GROUPADD is not set +# CONFIG_GROUPDEL is not set +# CONFIG_HEXDUMP is not set +# CONFIG_HD is not set +# CONFIG_INIT is not set +# CONFIG_IP is not set +# CONFIG_IPCRM is not set +# CONFIG_IPCS is not set +# CONFIG_KLOGD is not set +# CONFIG_KLOGD_SOURCE_RING_BUFFER is not set +# CONFIG_LAST is not set +# CONFIG_LSOF is not set +# CONFIG_MAN is not set +# CONFIG_MDEV is not set +# CONFIG_MDEV_CONF is not set +# CONFIG_MKE2FS is not set +# CONFIG_MKE2FS_JOURNAL is not set +# CONFIG_MKE2FS_GEN is not set +# CONFIG_MKE2FS_LABEL is not set +# CONFIG_MKE2FS_EXTENDED is not set +# CONFIG_MODPROBE is not set +# CONFIG_MORE is not set +# CONFIG_ROUTE is not set +# CONFIG_SH is not set +# CONFIG_CD is not set +# CONFIG_DECLARE is not set +# CONFIG_EXIT is not set +# CONFIG_SET is not set +# CONFIG_UNSET is not set +# CONFIG_EVAL is not set +# CONFIG_EXEC is not set +# CONFIG_EXPORT is not set +# CONFIG_JOBS is not set +# CONFIG_LOCAL is not set +# CONFIG_SHIFT is not set +# CONFIG_SOURCE is not set +# CONFIG_WAIT is not set +# CONFIG_STRACE is not set +# CONFIG_STTY is not set +# CONFIG_SULOGIN is not set +# CONFIG_SYSLOGD is not set +# CONFIG_TCPSVD is not set +# CONFIG_TELNET is not set +# CONFIG_TELNETD is not set +# CONFIG_TFTP is not set +# CONFIG_TFTPD is not set +# CONFIG_TR is not set +# CONFIG_TRACEROUTE is not set +# CONFIG_USERADD is not set +# CONFIG_USERDEL is not set +# CONFIG_VI is not set +# CONFIG_XZCAT is not set + +# +# Other commands +# +# CONFIG_ACPI is not set +# CONFIG_ASCII is not set +# CONFIG_UNICODE is not set +# CONFIG_BASE64 is not set +# CONFIG_BASE32 is not set +# CONFIG_BLKDISCARD is not set +# CONFIG_BLKID is not set +# CONFIG_FSTYPE is not set +# CONFIG_BLOCKDEV is not set +# CONFIG_BUNZIP2 is not set +# CONFIG_BZCAT is not set +# CONFIG_CHCON is not set +# CONFIG_CHROOT is not set +# CONFIG_CHRT is not set +# CONFIG_CLEAR is not set +# CONFIG_COUNT is not set +# CONFIG_DEVMEM is not set +# CONFIG_DOS2UNIX is not set +# CONFIG_UNIX2DOS is not set +# CONFIG_EJECT is not set +# CONFIG_FACTOR is not set +# CONFIG_FALLOCATE is not set +# CONFIG_FLOCK is not set +# CONFIG_FMT is not set +# CONFIG_FREE is not set +# CONFIG_FREERAMDISK is not set +# CONFIG_FSFREEZE is not set +# CONFIG_FSYNC is not set +# CONFIG_GPIODETECT is not set +# CONFIG_GPIOFIND is not set +# CONFIG_GPIOINFO is not set +# CONFIG_GPIOGET is not set +# CONFIG_GPIOSET is not set +# CONFIG_HELP is not set +# CONFIG_HEXEDIT is not set +# CONFIG_HWCLOCK is not set +# CONFIG_I2CDETECT is not set +# CONFIG_I2CDUMP is not set +# CONFIG_I2CGET is not set +# CONFIG_I2CSET is not set +# CONFIG_I2CTRANSFER is not set +# CONFIG_INOTIFYD is not set +# CONFIG_INSMOD is not set +# CONFIG_IONICE is not set +# CONFIG_IORENICE is not set +# CONFIG_LOGIN is not set +# CONFIG_LOSETUP is not set +# CONFIG_LSATTR is not set +# CONFIG_CHATTR is not set +# CONFIG_LSMOD is not set +CONFIG_LSPCI=y +# CONFIG_LSUSB is not set +# CONFIG_MAKEDEVS is not set +# CONFIG_MCOOKIE is not set +# CONFIG_MIX is not set +# CONFIG_MKPASSWD is not set +# CONFIG_MKSWAP is not set +# CONFIG_MODINFO is not set +# CONFIG_MOUNTPOINT is not set +# CONFIG_NBD_CLIENT is not set +# CONFIG_NBD_SERVER is not set +# CONFIG_UNSHARE is not set +# CONFIG_NSENTER is not set +# CONFIG_ONEIT is not set +# CONFIG_OPENVT is not set +# CONFIG_CHVT is not set +# CONFIG_DEALLOCVT is not set +# CONFIG_PARTPROBE is not set +# CONFIG_PIVOT_ROOT is not set +# CONFIG_PMAP is not set +# CONFIG_PRINTENV is not set +# CONFIG_PWDX is not set +# CONFIG_PWGEN is not set +# CONFIG_READAHEAD is not set +# CONFIG_READELF is not set +# CONFIG_READLINK is not set +# CONFIG_REALPATH is not set +# CONFIG_REBOOT is not set +# CONFIG_RESET is not set +# CONFIG_REV is not set +# CONFIG_RMMOD is not set +# CONFIG_RTCWAKE is not set +# CONFIG_SETFATTR is not set +# CONFIG_SETSID is not set +# CONFIG_SHA3SUM is not set +# CONFIG_SHRED is not set +# CONFIG_SHUF is not set +# CONFIG_STAT is not set +# CONFIG_SWAPOFF is not set +# CONFIG_SWAPON is not set +# CONFIG_SWITCH_ROOT is not set +# CONFIG_SYSCTL is not set +# CONFIG_TAC is not set +# CONFIG_NPROC is not set +# CONFIG_TASKSET is not set +# CONFIG_TIMEOUT is not set +# CONFIG_TRUNCATE is not set +# CONFIG_UCLAMPSET is not set +# CONFIG_UPTIME is not set +# CONFIG_USLEEP is not set +# CONFIG_UUIDGEN is not set +# CONFIG_VCONFIG is not set +# CONFIG_VMSTAT is not set +# CONFIG_W is not set +# CONFIG_WATCH is not set +# CONFIG_WATCHDOG is not set +# CONFIG_WHICH is not set +# CONFIG_XXD is not set +# CONFIG_YES is not set + +# +# Networking commands +# +# CONFIG_FTPGET is not set +# CONFIG_FTPPUT is not set +# CONFIG_HOST is not set +# CONFIG_HTTPD is not set +# CONFIG_IFCONFIG is not set +# CONFIG_MICROCOM is not set +# CONFIG_NETCAT is not set +# CONFIG_NETSTAT is not set +# CONFIG_PING is not set +# CONFIG_RFKILL is not set +# CONFIG_SNTP is not set +# CONFIG_TUNCTL is not set +# CONFIG_WGET is not set +# CONFIG_WGET_LIBTLS is not set + +# +# Linux Standard Base commands +# +# CONFIG_DMESG is not set +# CONFIG_GZIP is not set +# CONFIG_GUNZIP is not set +# CONFIG_ZCAT is not set +# CONFIG_HOSTNAME is not set +# CONFIG_DNSDOMAINNAME is not set +# CONFIG_KILLALL is not set +# CONFIG_MD5SUM is not set +# CONFIG_SHA1SUM is not set +# CONFIG_SHA224SUM is not set +# CONFIG_SHA256SUM is not set +# CONFIG_SHA384SUM is not set +# CONFIG_SHA512SUM is not set +# CONFIG_MKNOD is not set +# CONFIG_MKNOD_Z is not set +# CONFIG_MKTEMP is not set +# CONFIG_MOUNT is not set +# CONFIG_PASSWD is not set +# CONFIG_PASSWD_SAD is not set +# CONFIG_PIDOF is not set +# CONFIG_SEQ is not set +# CONFIG_SU is not set +# CONFIG_SYNC is not set +# CONFIG_UMOUNT is not set + +# +# Example commands +# +# CONFIG_DEMO_MANY_OPTIONS is not set +# CONFIG_DEMO_NUMBER is not set +# CONFIG_DEMO_SCANKEY is not set +# CONFIG_DEMO_UTF8TOWC is not set +# CONFIG_HELLO is not set +# CONFIG_HOSTID is not set +# CONFIG_LOGPATH is not set +# CONFIG_SKELETON is not set +# CONFIG_SKELETON_ALIAS is not set + +# +# Android commands +# +# CONFIG_GETENFORCE is not set +# CONFIG_LOAD_POLICY is not set +# CONFIG_LOG is not set +# CONFIG_RESTORECON is not set +# CONFIG_RUNCON is not set +# CONFIG_SENDEVENT is not set +# CONFIG_SETENFORCE is not set + +# +# +# + +# +# Toybox global settings +# +CONFIG_TOYBOX=y +# CONFIG_TOYBOX_SUID is not set +CONFIG_TOYBOX_LSM_NONE=y +# CONFIG_TOYBOX_SELINUX is not set +# CONFIG_TOYBOX_SMACK is not set +# CONFIG_TOYBOX_LIBCRYPTO is not set +# CONFIG_TOYBOX_LIBZ is not set +# CONFIG_TOYBOX_FLOAT is not set +# CONFIG_TOYBOX_HELP is not set +# CONFIG_TOYBOX_HELP_DASHDASH is not set +# CONFIG_TOYBOX_FREE is not set +# CONFIG_TOYBOX_NORECURSE is not set +# CONFIG_TOYBOX_DEBUG is not set +CONFIG_TOYBOX_UID_SYS=100 +CONFIG_TOYBOX_UID_USR=500 +# CONFIG_TOYBOX_FORCE_NOMMU is not set