Creating Dynamic Root Filesystem with Busybox
Source Code
Compilation
Busybox has a default configuration, just use it directly
Simply run make
Then run make install CONFIG_PREFIX=/home/zk/work/zhengdianyuanzi/rootfs
After installing and creating missing directories
Add Directory Content
libc/lib
cp so *.a /home/zk/work/zhengdianyuanzi/rootfs/lib -d
Change the symbolic link to the original
lib
Continue copying the next directory
cp so *.a /home/zk/work/zhengdianyuanzi/rootfs/lib -d
usr/lib
cp so *.a /home/zk/work/zhengdianyuanzi/rootfs/usr/lib -d
/etc
Testing
Successfully entered the file system
Helloworld Source Code Compilation
Running Result
Network Testing