By now, the whole build system is automated. This is just for historical documentary.
# this is my own script but you can get the installed packages with some hacking
# this is good if you want your own firmware
# that builds all packages you now have
opkg list-installed > opkg-list-installed.txt
By now, it is using faster with the helpers above, but below you can do it by hand to change everything easy.
You start with:
./build-docker
Make sure you know there are already build docker images, so you don't really need it.
The same, if you have a server instead cdn.corifeus.com
, you can change it at wish.
There is a newer mwlwifi
faster, newer package, they are in openwrt-insomnia/patches
, you can copy them safely into the /build/source
.
Target System
Subtarget
Target Profile
Target Devices (for now is only Linksys WRT Multiple)
Global build settings
Advanced configuration options
Build the OpenWrt Image Build
Image configuration - ENTER
Languages
Libraries
Network
Utililties
Exit
YES
Copy the .config file to {router-name}/source/.config
# for me using multiple cores the main build I always get errors, so I always use just 1 core
# I do this instead
# find out the PID
watch 'ps -aux | grep "make\|m4\|cc1"'
# end just to do this
sudo renice -20 -u 1000
# for docker I also added renice, I checked out the dockerd pid and I added in
ps -aux | grep dockerd
# you get the PID
sudo renice -20 10728 # this was the dockerd PID