1.3: Coreutils To simply get most coreutils,
we will simply clone them from github
into /usr/bin.
mkdir -p ~/lfz/rootfs/usr/bin
cd ~/lfz/rootfs/usr/bin
git clone https://github.com/droberson/linux_amd64_static_tools
cd linux_amd64_static_tools
mv ./* ..
cd ~/lfz/rootfs/usr/bin
rm -rf linux_amd64_static_tools/

Now your coreutils are statically linked in /usr/bin.
You can use this method to copy any statically linked tool into your /usr/bin

Next page...