From d763002ac64b3c81c9140949a790c1b3e28b3141 Mon Sep 17 00:00:00 2001 From: Darren Shepherd Date: Thu, 19 Sep 2019 10:36:21 -0700 Subject: [PATCH] Drop coreutils and findutils --- Dockerfile | 7 ++----- buildroot/config | 4 ++-- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 12b930a..ac1252f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,15 +35,12 @@ RUN cd .. && \ cp buildroot/output/target/usr/sbin/xtables-multi bin/ && \ cp buildroot/output/target/usr/sbin/conntrack bin/ && \ cp buildroot/output/target/usr/sbin/ipset bin/ && \ - cp buildroot/output/target/usr/bin/find bin/ && \ cp buildroot/output/target/usr/bin/pigz bin/ && \ cp buildroot/output/target/usr/bin/slirp4netns bin/ && \ cp buildroot/output/target/usr/bin/socat bin/ && \ - cp buildroot/output/target/usr/bin/coreutils bin/ && \ cp buildroot/output/target/sbin/ip bin/ && \ cp buildroot/output/target/sbin/ebtables bin/ && \ cp buildroot/output/target/bin/busybox bin/ RUN cd ../bin && \ - for i in addgroup adduser ar arch arp arping ash awk basename blkid bunzip2 bzcat cat chattr chgrp chmod chown chroot chrt chvt cksum clear cmp cp cpio crond crontab cut date dc dd deallocvt delgroup deluser devmem df diff dirname dmesg dnsd dnsdomainname dos2unix du dumpkmap echo egrep eject env ether-wake expr factor fallocate false fbset fdflush fdformat fdisk fgrep flock fold free freeramdisk fsck fsfreeze fstrim fuser getopt getty grep gunzip gzip halt hdparm head hexdump hexedit hostid hostname hwclock i2cdetect i2cdump i2cget i2cset id ifconfig ifdown ifup inetd init insmod install ipaddr ipcrm ipcs iplink ipneigh iproute iprule iptunnel kill killall killall5 klogd last less link linux32 linux64 linuxrc ln loadfont loadkmap logger login logname losetup ls lsattr lsmod lsof lspci lsscsi lsusb lzcat lzma lzopcat makedevs md5sum mdev mesg microcom mkdir mkdosfs mke2fs mkfifo mknod mkpasswd mkswap mktemp modprobe more mount mountpoint mt mv nameif netstat nice nl nohup nproc nsenter nslookup nuke od openvt partprobe passwd paste patch pidof ping pipe_progress pivot_root poweroff printenv printf ps pwd rdate readlink readprofile realpath reboot renice reset resize resume rm rmdir rmmod route run-init run-parts runlevel sed seq setarch setconsole setfattr setkeycodes setlogcons setpriv setserial setsid sh sha1sum sha256sum sha3sum sha512sum shred sleep sort start-stop-daemon strings stty su sulogin svc svok swapoff swapon switch_root sync sysctl syslogd tail tar tc tee telnet test tftp time top touch tr traceroute true truncate tty ubirename udhcpc uevent umount uname uniq unix2dos unlink unlzma unlzop unxz unzip uptime usleep uudecode uuencode vconfig vi vlock w watch watchdog wc wget which who whoami xargs xxd xz xzcat yes zcat; do ln -s busybox $i; done && \ - for i in iptables iptables-save iptables-restore; do ln -s xtables-multi $i; done && \ - for i in b2sum base32 base64 basename cat chcon chgrp chmod chown chroot cksum comm cp csplit cut date dd df dir dircolors dirname du echo env expand expr factor false fmt fold ginstall groups head hostid id join kill link ln logname ls md5sum mkdir mkfifo mknod mktemp mv nice nl nohup nproc numfmt od paste pathchk pinky pr printenv printf ptx pwd readlink realpath rm rmdir runcon seq sha1sum sha224sum sha256sum sha384sum sha512sum shred shuf sleep sort split stat stty sum sync tac tail tee test timeout touch tr true truncate tsort tty uname unexpand uniq unlink uptime users vdir wc who whoami yes; do ln -sf coreutils $i; done + for i in '[' '[[' addgroup adduser ar arch arp arping ash awk basename blkid bunzip2 bzcat cat chattr chgrp chmod chown chroot chrt chvt cksum clear cmp cp cpio crond crontab cut date dc dd deallocvt delgroup deluser devmem df diff dirname dmesg dnsd dnsdomainname dos2unix du dumpkmap echo egrep eject env ether-wake expr factor fallocate false fbset fdflush fdformat fdisk fgrep find flock fold free freeramdisk fsck fsfreeze fstrim fuser getopt getty grep gunzip gzip halt hdparm head hexdump hexedit hostid hostname hwclock i2cdetect i2cdump i2cget i2cset id ifconfig ifdown ifup inetd init insmod install ip ipaddr ipcrm ipcs iplink ipneigh iproute iprule iptunnel kill killall killall5 klogd last less link linux32 linux64 linuxrc ln loadfont loadkmap logger login logname losetup ls lsattr lsmod lsof lspci lsscsi lsusb lzcat lzma lzopcat makedevs md5sum mdev mesg microcom mkdir mkdosfs mke2fs mkfifo mknod mkpasswd mkswap mktemp modprobe more mount mountpoint mt mv nameif netstat nice nl nohup nproc nsenter nslookup nuke od openvt partprobe passwd paste patch pidof ping pipe_progress pivot_root poweroff printenv printf ps pwd rdate readlink readprofile realpath reboot renice reset resize resume rm rmdir rmmod route run-init run-parts runlevel sed seq setarch setconsole setfattr setkeycodes setlogcons setpriv setserial setsid sh sha1sum sha256sum sha3sum sha512sum shred sleep sort start-stop-daemon strings stty su sulogin svc svok swapoff swapon switch_root sync sysctl syslogd tail tar tc tee telnet test tftp time top touch tr traceroute true truncate tty ubirename udhcpc uevent umount uname uniq unix2dos unlink unlzma unlzop unxz unzip uptime usleep uudecode uuencode vconfig vi vlock w watch watchdog wc wget which who whoami xargs xxd xz xzcat yes zcat; do ln -s busybox $i; done && \ + for i in iptables iptables-save iptables-restore; do ln -s xtables-multi $i; done diff --git a/buildroot/config b/buildroot/config index 317f8bd..2e24ae6 100644 --- a/buildroot/config +++ b/buildroot/config @@ -637,7 +637,7 @@ BR2_PACKAGE_CMAKE_ARCH_SUPPORTS=y # # BR2_PACKAGE_DIFFUTILS is not set # BR2_PACKAGE_DOS2UNIX is not set -BR2_PACKAGE_FINDUTILS=y +# BR2_PACKAGE_FINDUTILS is not set # BR2_PACKAGE_FLEX is not set # BR2_PACKAGE_GAWK is not set # BR2_PACKAGE_GETTEXT is not set @@ -3337,7 +3337,7 @@ BR2_PACKAGE_AUDIT_ARCH_SUPPORTS=y # # circus needs Python and a toolchain w/ C++, threads # -BR2_PACKAGE_COREUTILS=y +# BR2_PACKAGE_COREUTILS is not set # BR2_PACKAGE_CPULOAD is not set # BR2_PACKAGE_DAEMON is not set # BR2_PACKAGE_DC3DD is not set