一、更新dockers配置文件Dockerfile
修改文件:lib/functions/host/docker.sh
修改内容:修改容器内pip国内源

二、配置代码分支分支
修改文件:./config/boards/orangepizero2w.csc
修改内容:

三、修改代码源
修改文件:lib/functions/configuration/main-config.sh
修改内容:

四、编译配置参数
./compile.sh build BOARD=orangepizero2w BRANCH=current BUILD_DESKTOP=no BUILD_MINIMAL=no KERNEL_CONFIGURE=yes RELEASE=jammy UBOOT_MIRROR=gitee DOWNLOAD_MIRROR=china REGIONAL_MIRROR=china MAINLINE_MIRROR=bfsu GHCR_MIRROR=dockerproxy GITHUB_MIRROR=ghproxy
五、内核配置快捷方式
[ It still works, but please prefer the new way. First, run './compile.sh BOARD=orangepizero2w BRANCH=current kernel-config'; then commit your changes; then build the image as normal. This workflow ensures consistent hashing results. ]
六、内核定制
./compile.sh BOARD=orangepizero2w BRANCH=current kernel-config
七、uboot定制
./compile.sh BOARD=orangepizero2w BRANCH=current uboot-config