├── README.md ├── immortalwrt ├── build.sh └── docker-build.sh ├── snapshot ├── build.sh └── docker-build.sh └── stable ├── build.sh └── docker-build.sh /README.md: -------------------------------------------------------------------------------- 1 | # OpenWrt-Builder 2 | 根目录自行创建bin文件夹 3 | -------------------------------------------------------------------------------- /immortalwrt/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | PACKAGES="" 4 | PACKAGES="$PACKAGES curl" 5 | PACKAGES="$PACKAGES luci-i18n-base-zh-cn" 6 | PACKAGES="$PACKAGES luci-i18n-firewall-zh-cn" 7 | PACKAGES="$PACKAGES luci-i18n-package-manager-zh-cn" 8 | 9 | 10 | make image PACKAGES="$PACKAGES" ROOTFS_PARTSIZE="512" 11 | -------------------------------------------------------------------------------- /immortalwrt/docker-build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | docker run --rm -it \ 4 | -v ./bin:/home/build/immortalwrt/bin \ 5 | -v ./files:/home/build/immortalwrt/files \ 6 | -v ./build.sh:/home/build/immortalwrt/build.sh \ 7 | immortalwrt/imagebuilder:x86-64-openwrt-24.10.1 /home/build/immortalwrt/build.sh -------------------------------------------------------------------------------- /snapshot/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | [ -x ./setup.sh ] && ./setup.sh 4 | 5 | PACKAGES="" 6 | PACKAGES="$PACKAGES -dnsmasq" 7 | PACKAGES="$PACKAGES dnsmasq-full" 8 | PACKAGES="$PACKAGES luci" 9 | PACKAGES="$PACKAGES ca-bundle" 10 | PACKAGES="$PACKAGES curl" 11 | PACKAGES="$PACKAGES yq" 12 | PACKAGES="$PACKAGES ip-full" 13 | PACKAGES="$PACKAGES kmod-tun" 14 | PACKAGES="$PACKAGES kmod-inet-diag" 15 | PACKAGES="$PACKAGES kmod-nft-tproxy" 16 | PACKAGES="$PACKAGES luci-i18n-base-zh-cn" 17 | PACKAGES="$PACKAGES luci-i18n-firewall-zh-cn" 18 | PACKAGES="$PACKAGES luci-i18n-package-manager-zh-cn" 19 | 20 | make image PACKAGES="$PACKAGES" ROOTFS_PARTSIZE="512" -------------------------------------------------------------------------------- /snapshot/docker-build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | docker run --rm -it \ 4 | -v ./bin:/builder/bin \ 5 | -v ./files:/builder/files \ 6 | -v ./build.sh:/builder/build.sh \ 7 | openwrt/imagebuilder:x86-64-SNAPSHOT /builder/build.sh 8 | -------------------------------------------------------------------------------- /stable/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | [ -x ./setup.sh ] && ./setup.sh 4 | 5 | PACKAGES="" 6 | PACKAGES="$PACKAGES -dnsmasq" 7 | PACKAGES="$PACKAGES dnsmasq-full" 8 | PACKAGES="$PACKAGES luci" 9 | PACKAGES="$PACKAGES ca-bundle" 10 | PACKAGES="$PACKAGES curl" 11 | PACKAGES="$PACKAGES yq" 12 | PACKAGES="$PACKAGES ip-full" 13 | PACKAGES="$PACKAGES kmod-tun" 14 | PACKAGES="$PACKAGES kmod-inet-diag" 15 | PACKAGES="$PACKAGES kmod-nft-tproxy" 16 | PACKAGES="$PACKAGES luci-i18n-base-zh-cn" 17 | PACKAGES="$PACKAGES luci-i18n-firewall-zh-cn" 18 | PACKAGES="$PACKAGES luci-i18n-package-manager-zh-cn" 19 | 20 | make image PACKAGES="$PACKAGES" ROOTFS_PARTSIZE="512" -------------------------------------------------------------------------------- /stable/docker-build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | docker run --rm -it \ 4 | -v ./bin:/builder/bin \ 5 | -v ./files:/builder/files \ 6 | -v ./build.sh:/builder/build.sh \ 7 | openwrt/imagebuilder:x86-64-24.10.1 /builder/build.sh 8 | --------------------------------------------------------------------------------