Skip to content

hohland-18/busybox_configs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

busybox_configs

(ADSL modem/router *****v4)

### .config >> busybox-1.*/
sudo apt install gcc-mips-linux-gnu
tar -xjf busybox-1*.tar.bz2
cd busybox-1.*/
make -j4 menuconfig
make -j4
sudo make -j4 install DESTDIR=/PATH/to/squashfs-root/
sudo sh ./clear_addons_other-dir.sh                 // Edit for youre dir '_install'
--------------------------------------------------
You will probably need to make your busybox binary
setuid root to ensure all configured applets will
work properly.
--------------------------------------------------
sudo chmod +s _install/bin/busybox    // По желанию!
sudo cp -ar _install/* /PATH/to/squashfs-root/
sudo mksquashfs squashfs-root/ gpon.squashfs -comp lzma -b 131072 -nopad

QEMU test rootfs

cd /PATH/to/squashfs-root/
sudo cp /usr/bin/qemu-mips-static .
sudo chroot . ./qemu-mips-static bin/busybox bash

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%