├── scripts ├── enable-rpi4-wifi.sh ├── remove-upx.sh ├── project-openwrt.sh ├── convert-translation.sh ├── old │ ├── convert_translation.sh │ ├── lean-openwrt.sh │ └── offical-openwrt.sh ├── lean-openwrt.sh └── offical-openwrt.sh ├── config ├── opkg │ ├── distfeeds-19.07-local.conf │ ├── distfeeds-18.06-local.conf │ ├── distfeeds-19.07-remote.conf │ └── distfeeds-18.06-remote.conf ├── old │ ├── rpi4-lean-openwrt.config │ ├── rpi3-lean-openwrt.config │ ├── rpi4-offical-openwrt.config │ └── rpi3-offical-openwrt.config ├── lean │ ├── rpi4-lean-openwrt.config │ └── rpi3-lean-openwrt.config ├── offical-19.07 │ ├── rpi4-offical-openwrt.config │ └── rpi3-offical-openwrt.config ├── offical │ ├── rpi3-offical-openwrt.config │ └── rpi4-offical-openwrt.config └── project │ ├── rpi4-project-openwrt.config │ └── rpi3-project-openwrt.config ├── LICENSE ├── README.md ├── old-workflows ├── build-rpi4-offical-openwrt.yml ├── build-rpi3-offical-openwrt.yml ├── build-rpi3-lean-openwrt.yml └── build-rpi4-lean-openwrt.yml └── .github └── workflows ├── build-rpi3-lean-openwrt.yml ├── build-rpi4-lean-openwrt.yml ├── build-rpi4-project-openwrt.yml ├── build-rpi3-project-openwrt.yml └── build-rpi4-offical-openwrt.yml /scripts/enable-rpi4-wifi.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # This script is only for Raspberry Pi 4, Thanks @xmapst 4 | 5 | sed -i 's/36/44/g;s/VHT80/VHT40/g' package/kernel/mac80211/files/lib/wifi/mac80211.sh 6 | sed -i 's/disabled=1/disabled=0/g' package/kernel/mac80211/files/lib/wifi/mac80211.sh 7 | -------------------------------------------------------------------------------- /scripts/remove-upx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # [CTCGFW]Project-OpenWrt 3 | # Use it under GPLv3, please. 4 | # -------------------------------------------------------- 5 | # Remove upx commands 6 | 7 | makefile_file="$({ find package|grep Makefile |sed "/Makefile./d"; } 2>"/dev/null")" 8 | for a in ${makefile_file} 9 | do 10 | [ -n "$(grep "upx" "$a")" ] && sed -i "/upx/d" "$a" 11 | done 12 | exit 0 13 | -------------------------------------------------------------------------------- /config/opkg/distfeeds-19.07-local.conf: -------------------------------------------------------------------------------- 1 | src/gz openwrt_core http://127.0.0.1/snapshots/targets/target/subtarget/packages 2 | src/gz openwrt_base https://mirrors.cloud.tencent.com/openwrt/snapshots/packages/platform/base 3 | src/gz openwrt_luci https://mirrors.cloud.tencent.com/openwrt/releases/19.07.2/packages/platform/luci 4 | src/gz openwrt_packages https://mirrors.cloud.tencent.com/openwrt/snapshots/packages/platform/packages 5 | src/gz openwrt_routing https://mirrors.cloud.tencent.com/openwrt/snapshots/packages/platform/routing 6 | -------------------------------------------------------------------------------- /config/opkg/distfeeds-18.06-local.conf: -------------------------------------------------------------------------------- 1 | src/gz openwrt_core http://127.0.0.1/snapshots/targets/target/subtarget/packages 2 | src/gz openwrt_base https://mirrors.cloud.tencent.com/openwrt/snapshots/packages/platform/base 3 | src/gz openwrt_luci https://mirrors.cloud.tencent.com/openwrt/releases/18.06.8/packages/platform/luci 4 | src/gz openwrt_packages https://mirrors.cloud.tencent.com/openwrt/releases/18.06.8/packages/platform/packages 5 | src/gz openwrt_routing https://mirrors.cloud.tencent.com/openwrt/snapshots/packages/platform/routing 6 | -------------------------------------------------------------------------------- /config/opkg/distfeeds-19.07-remote.conf: -------------------------------------------------------------------------------- 1 | src/gz openwrt_core https://mirrors.cloud.tencent.com/openwrt/snapshots/targets/target/subtarget/packages 2 | src/gz openwrt_base https://mirrors.cloud.tencent.com/openwrt/snapshots/packages/platform/base 3 | src/gz openwrt_luci https://mirrors.cloud.tencent.com/openwrt/releases/19.07.2/packages/platform/luci 4 | src/gz openwrt_packages https://mirrors.cloud.tencent.com/openwrt/snapshots/packages/platform/packages 5 | src/gz openwrt_routing https://mirrors.cloud.tencent.com/openwrt/snapshots/packages/platform/routing 6 | -------------------------------------------------------------------------------- /config/opkg/distfeeds-18.06-remote.conf: -------------------------------------------------------------------------------- 1 | src/gz openwrt_core https://mirrors.cloud.tencent.com/openwrt/snapshots/targets/target/subtarget/packages 2 | src/gz openwrt_base https://mirrors.cloud.tencent.com/openwrt/snapshots/packages/platform/base 3 | src/gz openwrt_luci https://mirrors.cloud.tencent.com/openwrt/releases/18.06.8/packages/platform/luci 4 | src/gz openwrt_packages https://mirrors.cloud.tencent.com/openwrt/releases/18.06.8/packages/platform/packages 5 | src/gz openwrt_routing https://mirrors.cloud.tencent.com/openwrt/snapshots/packages/platform/routing 6 | -------------------------------------------------------------------------------- /scripts/project-openwrt.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | #================================================= 3 | # Description: DIY script 4 | # Lisence: MIT 5 | # Author: P3TERX 6 | # Blog: https://p3terx.com 7 | #================================================= 8 | # Modify default IP 9 | #sed -i 's/192.168.1.1/192.168.50.5/g' package/base-files/files/bin/config_generate 10 | 11 | # Remove r8168 driver 12 | rm -rf package/ctcgfw/r8168 13 | 14 | # Add po2lmo 15 | git clone https://github.com/openwrt-dev/po2lmo.git 16 | pushd po2lmo 17 | make && sudo make install 18 | popd 19 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 scenerycm 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /scripts/convert-translation.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # [CTCGFW]Project-OpenWrt 3 | # Use it under GPLv3, please. 4 | # -------------------------------------------------------- 5 | # Convert translation files zh-cn to zh_Hans 6 | # The script is still in testing, welcome to report bugs. 7 | 8 | po_file="$({ find |grep -E "[a-z0-9]+\.zh\-cn.+po"; } 2>"/dev/null")" 9 | for a in ${po_file} 10 | do 11 | [ -n "$(grep "Language: zh_CN" "$a")" ] && sed -i "s/Language: zh_CN/Language: zh_Hans/g" "$a" 12 | po_new_file="$(echo -e "$a"|sed "s/zh-cn/zh_Hans/g")" 13 | mv "$a" "${po_new_file}" 2>"/dev/null" 14 | done 15 | 16 | po_file2="$({ find |grep "/zh-cn/" |grep "\.po"; } 2>"/dev/null")" 17 | for b in ${po_file2} 18 | do 19 | [ -n "$(grep "Language: zh_CN" "$b")" ] && sed -i "s/Language: zh_CN/Language: zh_Hans/g" "$b" 20 | po_new_file2="$(echo -e "$b"|sed "s/zh-cn/zh_Hans/g")" 21 | mv "$b" "${po_new_file2}" 2>"/dev/null" 22 | done 23 | 24 | lmo_file="$({ find |grep -E "[a-z0-9]+\.zh_Hans.+lmo"; } 2>"/dev/null")" 25 | for c in ${lmo_file} 26 | do 27 | lmo_new_file="$(echo -e "$c"|sed "s/zh_Hans/zh-cn/g")" 28 | mv "$c" "${lmo_new_file}" 2>"/dev/null" 29 | done 30 | 31 | lmo_file2="$({ find |grep "/zh_Hans/" |grep "\.lmo"; } 2>"/dev/null")" 32 | for d in ${lmo_file2} 33 | do 34 | lmo_new_file2="$(echo -e "$d"|sed "s/zh_Hans/zh-cn/g")" 35 | mv "$d" "${lmo_new_file2}" 2>"/dev/null" 36 | done 37 | 38 | po_dir="$({ find |grep "/zh-cn" |sed "/\.po/d" |sed "/\.lmo/d"; } 2>"/dev/null")" 39 | for e in ${po_dir} 40 | do 41 | po_new_dir="$(echo -e "$e"|sed "s/zh-cn/zh_Hans/g")" 42 | mv "$e" "${po_new_dir}" 2>"/dev/null" 43 | done 44 | 45 | makefile_file="$({ find|grep Makefile |sed "/Makefile./d"; } 2>"/dev/null")" 46 | for f in ${makefile_file} 47 | do 48 | [ -n "$(grep "zh-cn" "$f")" ] && sed -i "s/zh-cn/zh_Hans/g" "$f" 49 | [ -n "$(grep "zh_Hans.lmo" "$f")" ] && sed -i "s/zh_Hans.lmo/zh-cn.lmo/g" "$f" 50 | done -------------------------------------------------------------------------------- /scripts/old/convert_translation.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # [CTCGFW]Project-OpenWrt 3 | # Use it under GPLv3, please. 4 | # -------------------------------------------------------- 5 | # Convert translation files zh-cn to zh_Hans 6 | # The script is still in testing, welcome to report bugs. 7 | 8 | po_file="$({ find |grep -E "[a-z0-9]+\.zh\-cn.+po"; } 2>"/dev/null")" 9 | for a in ${po_file} 10 | do 11 | [ -n "$(grep "Language: zh_CN" "$a")" ] && sed -i "s/Language: zh_CN/Language: zh_Hans/g" "$a" 12 | po_new_file="$(echo -e "$a"|sed "s/zh-cn/zh_Hans/g")" 13 | mv "$a" "${po_new_file}" 2>"/dev/null" 14 | done 15 | 16 | po_file2="$({ find |grep "/zh-cn/" |grep "\.po"; } 2>"/dev/null")" 17 | for b in ${po_file2} 18 | do 19 | [ -n "$(grep "Language: zh_CN" "$b")" ] && sed -i "s/Language: zh_CN/Language: zh_Hans/g" "$b" 20 | po_new_file2="$(echo -e "$b"|sed "s/zh-cn/zh_Hans/g")" 21 | mv "$b" "${po_new_file2}" 2>"/dev/null" 22 | done 23 | 24 | lmo_file="$({ find |grep -E "[a-z0-9]+\.zh_Hans.+lmo"; } 2>"/dev/null")" 25 | for c in ${lmo_file} 26 | do 27 | lmo_new_file="$(echo -e "$c"|sed "s/zh_Hans/zh-cn/g")" 28 | mv "$c" "${lmo_new_file}" 2>"/dev/null" 29 | done 30 | 31 | lmo_file2="$({ find |grep "/zh_Hans/" |grep "\.lmo"; } 2>"/dev/null")" 32 | for d in ${lmo_file2} 33 | do 34 | lmo_new_file2="$(echo -e "$d"|sed "s/zh_Hans/zh-cn/g")" 35 | mv "$d" "${lmo_new_file2}" 2>"/dev/null" 36 | done 37 | 38 | po_dir="$({ find |grep "/zh-cn" |sed "/\.po/d" |sed "/\.lmo/d"; } 2>"/dev/null")" 39 | for e in ${po_dir} 40 | do 41 | po_new_dir="$(echo -e "$e"|sed "s/zh-cn/zh_Hans/g")" 42 | mv "$e" "${po_new_dir}" 2>"/dev/null" 43 | done 44 | 45 | makefile_file="$({ find|grep Makefile |sed "/Makefile./d"; } 2>"/dev/null")" 46 | for f in ${makefile_file} 47 | do 48 | [ -n "$(grep "zh-cn" "$f")" ] && sed -i "s/zh-cn/zh_Hans/g" "$f" 49 | [ -n "$(grep "zh_Hans.lmo" "$f")" ] && sed -i "s/zh_Hans.lmo/zh-cn.lmo/g" "$f" 50 | done -------------------------------------------------------------------------------- /scripts/old/lean-openwrt.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | #================================================= 3 | # Description: DIY script 4 | # Lisence: MIT 5 | # Author: P3TERX 6 | # Blog: https://p3terx.com 7 | #================================================= 8 | # Modify default IP 9 | #sed -i 's/192.168.1.1/192.168.50.5/g' package/base-files/files/bin/config_generate 10 | 11 | # Clone community packages to package/community 12 | mkdir package/community 13 | pushd package/community 14 | 15 | # Add mentohust & luci-app-mentohust. 16 | git clone https://github.com/BoringCat/luci-app-mentohust 17 | git clone https://github.com/KyleRicardo/MentoHUST-OpenWrt-ipk 18 | 19 | # Add ServerChan 20 | git clone https://github.com/tty228/luci-app-serverchan 21 | 22 | # Add OpenClash 23 | git clone https://github.com/vernesong/OpenClash 24 | 25 | # Add luci-app-koolproxyR 26 | git clone https://github.com/Leo-Jo/luci-app-koolproxyR 27 | 28 | # Add luci-app-onliner (need luci-app-nlbwmon) 29 | git clone https://github.com/rufengsuixing/luci-app-onliner 30 | 31 | # Add luci-app-adguardhome 32 | git clone https://github.com/rufengsuixing/luci-app-adguardhome 33 | 34 | # Add Rclone-OpenWrt 35 | git clone https://github.com/ElonH/Rclone-OpenWrt 36 | 37 | # Add luci-app-diskman 38 | git clone https://github.com/lisaac/luci-app-diskman 39 | mkdir parted 40 | cp luci-app-diskman/Parted.Makefile parted/Makefile 41 | 42 | # Add luci-theme-argon 43 | git clone -b 18.06 https://github.com/jerrykuku/luci-theme-argon 44 | rm -rf ../lean/luci-theme-argon 45 | 46 | # Add smartdns 47 | svn co https://github.com/pymumu/smartdns/trunk/package/openwrt ../smartdns 48 | git clone https://github.com/SuLingGG/luci-app-smartdns ../luci-app-smartdns 49 | 50 | # Add OpenAppFilter 51 | git clone https://github.com/destan19/OpenAppFilter 52 | popd 53 | 54 | # Change timezone 55 | sed -i "s/'UTC'/'CST-8'\n set system.@system[-1].zonename='Asia\/Shanghai'/g" package/base-files/files/bin/config_generate 56 | 57 | # Change default theme 58 | sed -i 's/config internal themes/config internal themes\n option Argon \"\/luci-static\/argon\"/g' feeds/luci/modules/luci-base/root/etc/config/luci 59 | 60 | # Remove bootstrap theme 61 | sed -i '/set luci.main.mediaurlbase=\/luci-static\/bootstrap/d' feeds/luci/themes/luci-theme-bootstrap/root/etc/uci-defaults/30_luci-theme-bootstrap 62 | -------------------------------------------------------------------------------- /scripts/lean-openwrt.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | #================================================= 3 | # Description: DIY script 4 | # Lisence: MIT 5 | # Author: P3TERX 6 | # Blog: https://p3terx.com 7 | #================================================= 8 | # Modify default IP 9 | #sed -i 's/192.168.1.1/192.168.50.5/g' package/base-files/files/bin/config_generate 10 | 11 | # Add luci-app-ssr-plus 12 | pushd package/lean 13 | git clone --depth=1 https://github.com/fw876/helloworld 14 | popd 15 | 16 | # Clone community packages to package/community 17 | mkdir package/community 18 | pushd package/community 19 | 20 | # Add Lienol's Packages 21 | git clone --depth=1 https://github.com/SuLingGG/openwrt-package 22 | 23 | # Add mentohust & luci-app-mentohust. 24 | git clone --depth=1 https://github.com/BoringCat/luci-app-mentohust 25 | git clone --depth=1 https://github.com/KyleRicardo/MentoHUST-OpenWrt-ipk 26 | 27 | # Add ServerChan 28 | git clone --depth=1 https://github.com/tty228/luci-app-serverchan 29 | 30 | # Add OpenClash 31 | git clone --depth=1 -b master https://github.com/vernesong/OpenClash 32 | 33 | # Add luci-app-onliner (need luci-app-nlbwmon) 34 | git clone --depth=1 https://github.com/rufengsuixing/luci-app-onliner 35 | 36 | # Add luci-app-adguardhome 37 | git clone --depth=1 https://github.com/rufengsuixing/luci-app-adguardhome 38 | 39 | # Add luci-app-diskman 40 | git clone --depth=1 https://github.com/lisaac/luci-app-diskman 41 | mkdir parted 42 | cp luci-app-diskman/Parted.Makefile parted/Makefile 43 | 44 | # Add luci-app-dockerman 45 | git clone --depth=1 https://github.com/KFERMercer/luci-app-dockerman 46 | mkdir luci-lib-docker 47 | curl -s -o ./luci-lib-docker/Makefile https://raw.githubusercontent.com/lisaac/luci-lib-docker/master/Makefile 48 | rm -rf ../lean/luci-app-docker 49 | 50 | # Add luci-app-gowebdav 51 | git clone --depth=1 https://github.com/project-openwrt/openwrt-gowebdav 52 | 53 | # Add luci-theme-argon 54 | git clone --depth=1 -b 18.06 https://github.com/jerrykuku/luci-theme-argon 55 | rm -rf ../lean/luci-theme-argon 56 | 57 | # Add tmate 58 | svn co https://github.com/project-openwrt/openwrt/trunk/package/ctcgfw/tmate 59 | svn co https://github.com/project-openwrt/openwrt/trunk/package/ctcgfw/msgpack-c 60 | 61 | # Add gotop 62 | svn co https://github.com/project-openwrt/openwrt/trunk/package/ctcgfw/gotop 63 | 64 | # Subscribe converters 65 | svn co https://github.com/project-openwrt/openwrt/trunk/package/ctcgfw/subconverter 66 | svn co https://github.com/project-openwrt/openwrt/trunk/package/ctcgfw/jpcre2 67 | svn co https://github.com/project-openwrt/openwrt/trunk/package/ctcgfw/rapidjson 68 | 69 | # Add smartdns 70 | svn co https://github.com/pymumu/smartdns/trunk/package/openwrt ../smartdns 71 | svn co https://github.com/project-openwrt/openwrt/trunk/package/ntlf9t/luci-app-smartdns ../luci-app-smartdns 72 | 73 | # Add udptools 74 | git clone --depth=1 https://github.com/bao3/openwrt-udp2raw 75 | git clone --depth=1 https://github.com/bao3/openwrt-udpspeeder 76 | git clone --depth=1 https://github.com/bao3/luci-udptools 77 | 78 | # Add OpenAppFilter 79 | git clone --depth=1 https://github.com/destan19/OpenAppFilter 80 | popd 81 | 82 | # Fix default-settings for local opkg sources 83 | sed -i '/http/d' package/lean/default-settings/files/zzz-default-settings 84 | 85 | # Fix libssh 86 | pushd feeds/packages/libs 87 | rm -rf libssh 88 | svn co https://github.com/openwrt/packages/trunk/libs/libssh 89 | popd 90 | 91 | # Add po2lmo 92 | git clone https://github.com/openwrt-dev/po2lmo.git 93 | pushd po2lmo 94 | make && sudo make install 95 | popd 96 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## 树莓派 3B/3B+/4B OpenWrt 固件全自动编译 & 发布 Docker 镜像到 Dockerhub 2 | 3 | 4 | 5 | 此项目参考 [SuLingGG/OpenWrt-Rpi](https://github.com/SuLingGG/OpenWrt-Rpi),**在此表示感谢!** 6 | 7 | **由于树莓派坏了,无法做固件测试,本项目不在编译树莓派固件,dockerhub 上的旧镜像依然可用,最新固件的下载可以移步大佬的项目 https://github.com/SuLingGG/OpenWrt-Rpi ,使用 docker 的原理不变相关教程依然适用。** 8 | 9 | 本说明只包含此项目相关信息说明,包括但不限于:设备型号、源码版本、Docker镜像信息。 10 | 11 | **关于固件及Docker镜像的详细使用说明请前往博客文章:**[树莓派 | Docker上运行 OpenWrt 做旁路由](https://blog.sillyson.com/archives/7.html) 12 | 13 | *此博客将会持续更新关于树莓派与OpenWrt的相关文章,如果您觉得项目不错请持续关注哦~~* 14 | 15 | ### 项目支持设备与编译状态: 16 | 17 | --- 18 | 19 | | 固件类型 | 支持设备 | 编译状态 | 源码地址 | 固件地址 | Docker 镜像地址 | 20 | | --------------- | ------------------------------------- | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | --------------------------------------------------- | 21 | | Lean | 树莓派 3B/3B+/4B | ![Build Raspberry Pi 3 Lean's OpenWrt](https://github.com/scenerycm/OpenWrt-Raspi/workflows/Build%20Raspberry%20Pi%203%20Lean's%20OpenWrt/badge.svg)![](https://github.com/scenerycm/OpenWrt-Raspi/workflows/Build%20Raspberry%20Pi%204%20Lean's%20OpenWrt/badge.svg) | [coolsnowwolf/lede](https://github.com/coolsnowwolf/lede) | [Actions](https://github.com/scenerycm/OpenWrt-Raspi/actions) | [Dockerhub](https://hub.docker.com/u/scenerycmopen) | 22 | | Offical-19.07 | 树莓派 3B/3B+
Docker镜像可用于4B | ![Build Raspberry Pi 3 Offical-19.07 OpenWrt](https://github.com/scenerycm/OpenWrt-Raspi/workflows/Build%20Raspberry%20Pi%203%20Offical-19.07%20OpenWrt/badge.svg)![Build Raspberry Pi 4 Offical-19.07 OpenWrt](https://github.com/scenerycm/OpenWrt-Raspi/workflows/Build%20Raspberry%20Pi%204%20Offical-19.07%20OpenWrt/badge.svg) | [openwrt/openwrt](https://github.com/openwrt/openwrt/tree/openwrt-19.07) | [Actions](https://github.com/scenerycm/OpenWrt-Raspi/actions) | [Dockerhub](https://hub.docker.com/u/scenerycmopen) | 23 | | Project-OpenWrt | 树莓派 3B/3B+/4B | ![Build Raspberry Pi 3 Project OpenWrt](https://github.com/scenerycm/OpenWrt-Raspi/workflows/Build%20Raspberry%20Pi%203%20Project%20OpenWrt/badge.svg)![Build Raspberry Pi 4 Project OpenWrt](https://github.com/scenerycm/OpenWrt-Raspi/workflows/Build%20Raspberry%20Pi%204%20Project%20OpenWrt/badge.svg) | [project-openwrt/openwrt](https://github.com/project-openwrt/openwrt/tree/18.06-kernel5.4) | [Actions](https://github.com/scenerycm/OpenWrt-Raspi/actions) | [Dockerhub](https://hub.docker.com/u/scenerycmopen) | 24 | 25 | 固件说明: 26 | 27 | - Lean 版固件基于 Lean 大源码编译 (Luci 采用 Lean 版 Luci 18.06 ) 28 | - Offical-19.07 版固件基于 OpenWrt 官方 19.07 源码编译 29 | - Project-OpenWrt 版固件基于 Project-OpenWrt 源码18.06-kernel5.4 分支编译,基于此固件的 Docker 镜像也是我一直在 3B+ 上使用的固件,**较为推荐**。 30 | - 所有固件与 Docker镜像 **默认密码:password** 31 | - 所有固件与 Docker镜像包含三个主题:Argon、Bootstrap、Material 32 | 33 | - 其中基于各类固件的 Doker 镜像在树莓派 3B、3B+、4B 上通用。 34 | 35 | **下载固件与 Docker 镜像请点击表格中相应的栏位。** 36 | 37 | - Actions 提供编译好的所有固件与软件包、完整性校验文件、OpenWrt 编译配置等。 38 | - Dockerhub 提供基于每日编译的固件制作的最新版 Docker 镜像,同时也提供历史版本镜像下载。 39 | 40 | **注意**:由于国内到 github 与 dockerhub 的网络偶尔会抽风,建议在良好的网络环境下下载相关文件。 41 | 42 | ### 使用 Docker 运行 OpenWrt 的优势 43 | 44 | --- 45 | 46 | 这里多说两句,为什么要提供 Docker 镜像? 47 | 48 | 本人之前在树莓派 3 上用了一段时间发现 Open­Wrt 对资源的消耗还是很低的,毕竟我的带宽只有 100M,而且树莓派的硬件性能相比传统的路由器还是高了很多。如果让 Open­Wrt 运行在 dokcer 里将其与底层 linux 系统解耦,不仅可以利用树莓派的剩余性能去做一些其他的事情,对于 Open­Wrt 的备份及迁移来说也更方便。 49 | 50 | **更重要的一点是,我们可以同时让多个版本的 Open­Wrt 运行在 dokcer 中,可以同时完成对多个固件的测试工作。** 51 | 52 | ### 感谢 53 | 54 | --- 55 | 56 | - [SuLingGG/OpenWrt-Rpi](https://github.com/SuLingGG/OpenWrt-Rpi) 57 | 58 | - [OpenWrt Source Repository](https://github.com/openwrt/openwrt/) 59 | 60 | - [Lean's OpenWrt source](https://github.com/coolsnowwolf/lede) 61 | 62 | - [CTCGFW's Team](https://github.com/project-openwrt) 63 | -------------------------------------------------------------------------------- /scripts/old/offical-openwrt.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | #================================================= 3 | # Description: DIY script 4 | # Lisence: MIT 5 | # Author: P3TERX 6 | # Blog: https://p3terx.com 7 | #================================================= 8 | # Modify default IP 9 | #sed -i 's/192.168.1.1/192.168.50.5/g' package/base-files/files/bin/config_generate 10 | 11 | # Clone Lean's latest sources. (use --depth=1) 12 | pushd package 13 | git clone --depth=1 https://github.com/coolsnowwolf/lede 14 | popd 15 | 16 | # Copy Lean's packages to ./package/lean. 17 | mkdir package/lean 18 | pushd package/lede/package/lean 19 | cp -r {adbyby,automount,baidupcs-web,ddns-scripts_aliyun,ddns-scripts_dnspod,frp,ipt2socks,kcptun,luci-app-adbyby-plus,luci-app-autoreboot,luci-app-baidupcs-web,luci-app-familycloud,luci-app-flowoffload,luci-app-frpc,luci-app-kodexplorer,luci-app-mwan3helper,luci-app-n2n_v2,luci-app-netdata,luci-app-nps,luci-app-syncdial,luci-app-usb-printer,luci-app-unblockmusic,luci-app-verysync,luci-app-vsftpd,luci-app-xlnetacc,luci-app-zerotier,n2n_v2,npc,pdnsd-alt,shadowsocksr-libev,simple-obfs,srelay,trojan,UnblockNeteaseMusic,UnblockNeteaseMusicGo,v2ray,v2ray-plugin,verysync,vsftpd-alt,luci-app-dockerman,luci-lib-docker,microsocks} "../../../lean" 20 | popd 21 | 22 | # Add upx & ucl 23 | pushd package/lede/tools 24 | cp -r {upx,ucl} "../../../tools" 25 | popd 26 | sed -i 's/tools-\$(CONFIG_TARGET_x86) += qemu/tools-y += ucl upx\ntools-\$(CONFIG_TARGET_x86) += qemu/g' tools/Makefile 27 | 28 | # Clean Lean's code 29 | pushd package 30 | rm -rf lede 31 | popd 32 | 33 | # Clone community packages to package/community 34 | mkdir package/community 35 | pushd package/community 36 | 37 | 38 | # Add docker-ce 39 | # git clone https://github.com/openwrt/packages 40 | # git clone -b dev-19.07 https://github.com/Lienol/openwrt-packages 41 | # cp -r openwrt-packages/utils/docker-ce ./ 42 | # cp -r openwrt-packages/utils/cgroupfs-mount ./ 43 | # cp -r openwrt-packages/utils/containerd ./ 44 | # cp -r openwrt-packages/utils/libnetwork ./ 45 | # cp -r openwrt-packages/utils/tini ./ 46 | # cp -r openwrt-packages/utils/runc ./ 47 | # rm -rf openwrt-packages/ 48 | 49 | # Add mentohust & luci-app-mentohust. 50 | git clone https://github.com/BoringCat/luci-app-mentohust 51 | git clone https://github.com/KyleRicardo/MentoHUST-OpenWrt-ipk 52 | 53 | # Add ServerChan. 54 | git clone https://github.com/tty228/luci-app-serverchan 55 | 56 | # Add OpenClash. 57 | git clone https://github.com/vernesong/OpenClash 58 | 59 | # Add luci-app-koolproxyR. 60 | git clone https://github.com/Leo-Jo/luci-app-koolproxyR 61 | 62 | # Add luci-app-onliner. (need luci-app-nlbwmon) 63 | git clone https://github.com/rufengsuixing/luci-app-onliner 64 | 65 | # Add luci-app-adguardhome. 66 | git clone https://github.com/rufengsuixing/luci-app-adguardhome 67 | 68 | # Add openwrt-iptvhelper. 69 | git clone https://github.com/riverscn/openwrt-iptvhelper 70 | 71 | # Add luci-app-diskman. 72 | git clone https://github.com/lisaac/luci-app-diskman 73 | mkdir parted 74 | cp luci-app-diskman/Parted.Makefile parted/Makefile 75 | 76 | # Add luci-theme-argon 77 | git clone -b 19.07_stable https://github.com/jerrykuku/luci-theme-argon 78 | 79 | # Add smartdns 80 | svn co https://github.com/pymumu/smartdns/trunk/package/openwrt ../smartdns 81 | git clone https://github.com/SuLingGG/luci-app-smartdns ../luci-app-smartdns 82 | 83 | # Add OpenAppFilter 84 | git clone https://github.com/destan19/OpenAppFilter 85 | 86 | # Add default settings. 87 | git clone https://github.com/SuLingGG/default-settings 88 | 89 | # Add luci-app-vssr 90 | # git clone https://github.com/Leo-Jo-My/luci-app-vssr 91 | 92 | # Dependces & Optimizations for luci-app-vssr 93 | # git clone https://github.com/Leo-Jo-My/my 94 | # # cp -r my/dnscrypt-proxy-full ./ 95 | # cp -r my/openwrt-dnsforwarder ./ 96 | # cp -r my/openwrt-udp2raw-speeder ./ 97 | # cp -r my/GoQuiet ./ 98 | # cp -r my/chinadns ./ 99 | # rm -rf my/ 100 | # sed -i 's/mux = 1/mux = 0/g' luci-app-vssr/root/usr/share/vssr/subscribe.lua 101 | # rm -rf ../../feeds/packages/net/kcptun 102 | 103 | # Subscribe converters 104 | svn co https://github.com/project-openwrt/openwrt/trunk/package/ctcgfw/subconverter 105 | svn co https://github.com/project-openwrt/openwrt/trunk/package/ctcgfw/jpcre2 106 | svn co https://github.com/project-openwrt/openwrt/trunk/package/ctcgfw/rapidjson 107 | popd 108 | 109 | # Enable irqbalance 110 | sed -i 's/0/1/g' feeds/packages/utils/irqbalance/files/irqbalance.config 111 | 112 | # Max connections 113 | sed -i 's/16384/65536/g' package/kernel/linux/files/sysctl-nf-conntrack.conf 114 | 115 | # Change timezone 116 | sed -i "s/'UTC'/'CST-8'\n set system.@system[-1].zonename='Asia\/Shanghai'/g" package/base-files/files/bin/config_generate 117 | 118 | # Change default theme 119 | sed -i 's/config internal themes/config internal themes\n option Argon \"\/luci-static\/argon\"/g' feeds/luci/modules/luci-base/root/etc/config/luci 120 | 121 | # Remove bootstrap theme 122 | sed -i '/set luci.main.mediaurlbase=\/luci-static\/bootstrap/d' feeds/luci/themes/luci-theme-bootstrap/root/etc/uci-defaults/30_luci-theme-bootstrap 123 | 124 | # Convert Translation 125 | cp ../convert_translation.sh . 126 | chmod +x ./convert_translation.sh 127 | ./convert_translation.sh || true 128 | -------------------------------------------------------------------------------- /scripts/offical-openwrt.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | #================================================= 3 | # Description: DIY script 4 | # Lisence: MIT 5 | # Author: P3TERX 6 | # Blog: https://p3terx.com 7 | #================================================= 8 | # Modify default IP 9 | #sed -i 's/192.168.1.1/192.168.50.5/g' package/base-files/files/bin/config_generate 10 | 11 | # Clone Lean's latest sources. 12 | pushd package 13 | git clone --depth=1 https://github.com/coolsnowwolf/lede 14 | popd 15 | 16 | # Copy Lean's packages to ./package/lean. 17 | mkdir package/lean 18 | pushd package/lede/package/lean 19 | cp -r {adbyby,automount,autocore,baidupcs-web,ddns-scripts_aliyun,ddns-scripts_dnspod,dns2socks,frp,ipt2socks,ipv6-helper,kcptun,luci-app-adbyby-plus,luci-app-airplay2,luci-app-arpbind,luci-app-autoreboot,luci-app-baidupcs-web,luci-app-cifs-mount,luci-app-cpufreq,luci-app-familycloud,luci-app-filetransfer,luci-app-frpc,luci-app-frps,luci-app-n2n_v2,luci-app-netdata,luci-app-nfs,luci-app-nps,luci-app-ps3netsrv,luci-app-softethervpn,luci-app-usb-printer,luci-app-unblockmusic,luci-app-vsftpd,luci-app-webadmin,luci-app-xlnetacc,luci-app-zerotier,luci-lib-fs,microsocks,n2n_v2,npc,pdnsd-alt,proxychains-ng,ps3netsrv,redsocks2,shadowsocksr-libev,simple-obfs,softethervpn5,srelay,tcpping,trojan,UnblockNeteaseMusic,UnblockNeteaseMusicGo,v2ray,v2ray-plugin,vsftpd-alt} "../../../lean" 20 | popd 21 | 22 | # Default settings 23 | pushd package/lean 24 | git clone --depth=1 https://github.com/SuLingGG/default-settings 25 | 26 | # Add luci-app-ssr-plus 27 | git clone --depth=1 https://github.com/fw876/helloworld 28 | popd 29 | 30 | # Clean Lean's code 31 | pushd package 32 | rm -rf lede 33 | popd 34 | 35 | # Clone community packages to package/community 36 | mkdir package/community 37 | pushd package/community 38 | 39 | # Add Lienol's Packages 40 | git clone --depth=1 https://github.com/SuLingGG/openwrt-package 41 | rm -rf openwrt-package/lienol/luci-app-ssr-python-pro-server 42 | 43 | # Add mentohust & luci-app-mentohust. 44 | git clone --depth=1 https://github.com/BoringCat/luci-app-mentohust 45 | git clone --depth=1 https://github.com/KyleRicardo/MentoHUST-OpenWrt-ipk 46 | 47 | # Add ServerChan. 48 | git clone --depth=1 https://github.com/tty228/luci-app-serverchan 49 | 50 | # Add OpenClash. 51 | git clone -b master --depth=1 https://github.com/vernesong/OpenClash 52 | 53 | # Add luci-app-onliner. (need luci-app-nlbwmon) 54 | git clone --depth=1 https://github.com/rufengsuixing/luci-app-onliner 55 | 56 | # Add luci-app-adguardhome. 57 | git clone --depth=1 https://github.com/rufengsuixing/luci-app-adguardhome 58 | 59 | # Add openwrt-iptvhelper. 60 | git clone --depth=1 https://github.com/riverscn/openwrt-iptvhelper 61 | 62 | # Add luci-app-diskman. 63 | git clone --depth=1 https://github.com/lisaac/luci-app-diskman 64 | mkdir parted 65 | cp luci-app-diskman/Parted.Makefile parted/Makefile 66 | 67 | # Add luci-app-gowebdav 68 | git clone --depth=1 https://github.com/project-openwrt/openwrt-gowebdav 69 | 70 | # Add luci-theme-argon 71 | # git clone https://github.com/jerrykuku/luci-theme-argon 72 | git clone --depth=1 https://github.com/jerrykuku/luci-theme-argon 73 | 74 | # Add smartdns 75 | svn co https://github.com/pymumu/smartdns/trunk/package/openwrt ../smartdns 76 | svn co https://github.com/project-openwrt/openwrt/trunk/package/ntlf9t/luci-app-smartdns ../luci-app-smartdns 77 | 78 | # Add udptools 79 | git clone --depth=1 https://github.com/bao3/openwrt-udp2raw 80 | git clone --depth=1 https://github.com/bao3/openwrt-udpspeeder 81 | git clone --depth=1 https://github.com/bao3/luci-udptools 82 | 83 | # luci-app-dockerman 84 | mkdir luci-lib-docker 85 | wget https://raw.githubusercontent.com/lisaac/luci-lib-docker/master/Makefile -O luci-lib-docker/Makefile 86 | mkdir luci-app-dockerman 87 | wget https://raw.githubusercontent.com/lisaac/luci-app-dockerman/master/Makefile -O luci-app-dockerman/Makefile 88 | 89 | # Add tmate 90 | svn co https://github.com/project-openwrt/openwrt/trunk/package/ctcgfw/tmate 91 | svn co https://github.com/project-openwrt/openwrt/trunk/package/ctcgfw/msgpack-c 92 | 93 | # Add gotop 94 | svn co https://github.com/project-openwrt/openwrt/trunk/package/ctcgfw/gotop 95 | 96 | # Subscribe converters 97 | svn co https://github.com/project-openwrt/openwrt/trunk/package/ctcgfw/subconverter 98 | svn co https://github.com/project-openwrt/openwrt/trunk/package/ctcgfw/jpcre2 99 | svn co https://github.com/project-openwrt/openwrt/trunk/package/ctcgfw/rapidjson 100 | popd 101 | 102 | # Fix default-settings for local opkg sources 103 | sed -i '/http/d' package/lean/default-settings/files/zzz-default-settings 104 | 105 | # Remove orig kcptun 106 | rm -rf ./feeds/packages/net/kcptun 107 | 108 | # Enable irqbalance 109 | sed -i 's/0/1/g' feeds/packages/utils/irqbalance/files/irqbalance.config 110 | 111 | # Max connections 112 | sed -i 's/16384/65536/g' package/kernel/linux/files/sysctl-nf-conntrack.conf 113 | 114 | # Remove IPV6 115 | sed -i 's/ip6tables //g' include/target.mk 116 | sed -i 's/odhcpd-ipv6only odhcp6c //g' include/target.mk 117 | 118 | # Change dnsmasq to dnsmasq-full 119 | sed -i 's/dnsmasq i/dnsmasq-full i/g' include/target.mk 120 | 121 | # Add po2lmo 122 | git clone https://github.com/openwrt-dev/po2lmo.git 123 | pushd po2lmo 124 | make && sudo make install 125 | popd 126 | 127 | # Convert Translation 128 | cp ../scripts/convert-translation.sh . 129 | chmod +x ./convert-translation.sh 130 | ./convert-translation.sh || true 131 | 132 | # Remove upx 133 | cp ../scripts/remove-upx.sh . 134 | chmod +x ./remove-upx.sh 135 | ./remove-upx.sh || true 136 | -------------------------------------------------------------------------------- /old-workflows/build-rpi4-offical-openwrt.yml: -------------------------------------------------------------------------------- 1 | #================================================= 2 | # https://github.com/P3TERX/Actions-OpenWrt 3 | # Description: Build OpenWrt using GitHub Actions 4 | # Lisence: MIT 5 | # Author: P3TERX 6 | # Blog: https://p3terx.com 7 | #================================================= 8 | 9 | name: Build Raspberry Pi 4 Offical OpenWrt 10 | 11 | on: 12 | release: 13 | types: [published] 14 | push: 15 | branches: 16 | - master 17 | paths: 18 | - 'rpi4-offical-openwrt.config' 19 | # schedule: 20 | # - cron: 0 18 * * * 21 | # watch: 22 | # types: [started] 23 | 24 | env: 25 | REPO_URL: https://github.com/openwrt/openwrt 26 | REPO_BRANCH: openwrt-19.07 27 | CONFIG_FILE: rpi4-offical-openwrt.config 28 | DIY_SH: offical-openwrt.sh 29 | FREE_UP_DISK: true 30 | SSH_ACTIONS: false 31 | TZ: Asia/Shanghai 32 | 33 | jobs: 34 | build: 35 | runs-on: ubuntu-latest 36 | 37 | steps: 38 | - name: Checkout 39 | uses: actions/checkout@master 40 | 41 | - name: Initialization environment 42 | env: 43 | DEBIAN_FRONTEND: noninteractive 44 | run: | 45 | sudo swapoff /swapfile 46 | sudo rm -rf /swapfile /etc/apt/sources.list.d/* 47 | sudo -E apt-get -qq update 48 | sudo -E apt-get -qq install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib g++-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler 49 | curl -fsSL https://raw.githubusercontent.com/P3TERX/dotfiles/master/.bashrc >> ~/.bashrc 50 | 51 | - name: Free up disk space 52 | if: env.FREE_UP_DISK == 'true' 53 | env: 54 | DEBIAN_FRONTEND: noninteractive 55 | run: | 56 | sudo rm -rf /usr/share/dotnet 57 | docker rmi `docker images -q` 58 | sudo -E apt-get -q purge azure-cli ghc* zulu* hhvm llvm* firefox google* dotnet* powershell openjdk* mysql* php* 59 | sudo -E apt-get -qq autoremove --purge 60 | sudo -E apt-get -qq clean 61 | 62 | - name: Clone source code 63 | run: git clone --depth 1 $REPO_URL -b $REPO_BRANCH openwrt 64 | 65 | - name: Update Feeds 66 | run: | 67 | cd openwrt 68 | ./scripts/feeds update -a 69 | 70 | - name: Install feeds 71 | run: cd openwrt && ./scripts/feeds install -a 72 | 73 | - name: Load custom configuration 74 | run: | 75 | [ -e files ] && mv files openwrt/files 76 | [ -e $CONFIG_FILE ] && mv $CONFIG_FILE openwrt/.config 77 | chmod +x $DIY_SH 78 | cd openwrt 79 | ../$DIY_SH 80 | make defconfig 81 | 82 | - name: SSH connection to Actions 83 | uses: P3TERX/debugger-action@master 84 | if: env.SSH_ACTIONS == 'true' 85 | 86 | - name: Download package 87 | id: package 88 | run: | 89 | cd openwrt 90 | make download -j8 91 | find dl -size -1024c -exec ls -l {} \; 92 | find dl -size -1024c -exec rm -f {} \; 93 | 94 | - name: Compile the firmware 95 | id: compile 96 | run: | 97 | cd openwrt 98 | echo -e "$(nproc) thread compile" 99 | make -j$(nproc) || make -j1 V=s 100 | echo "::set-output name=status::success" 101 | 102 | - name: Extract Gz Files 103 | run: | 104 | cd openwrt/bin/targets/bcm27xx/bcm2711 105 | gzip -q -d openwrt-bcm27xx-bcm2711-rpi-4-squashfs-factory.img.gz || true 106 | gzip -q -d openwrt-bcm27xx-bcm2711-rpi-4-squashfs-sysupgrade.img.gz || true 107 | gzip -q -d openwrt-bcm27xx-bcm2711-rpi-4-ext4-factory.img.gz || true 108 | gzip -q -d openwrt-bcm27xx-bcm2711-rpi-4-ext4-sysupgrade.img.gz || true 109 | 110 | - name: Generate Sha256sum File 111 | run: | 112 | cd openwrt/bin/targets/bcm27xx/bcm2711 113 | rm -rf sha256sums 114 | sha256sum openwrt* > sha256sums 115 | 116 | - name: Upload Config 117 | uses: actions/upload-artifact@master 118 | if: steps.compile.outputs.status == 'success' 119 | with: 120 | name: config.buildinfo 121 | path: openwrt/bin/targets/bcm27xx/bcm2711/config.buildinfo 122 | 123 | - name: Upload Packages 124 | uses: actions/upload-artifact@master 125 | if: steps.compile.outputs.status == 'success' 126 | with: 127 | name: packages 128 | path: openwrt/bin/packages/aarch64_cortex-a72/ 129 | 130 | - name: Upload Packages Info 131 | uses: actions/upload-artifact@master 132 | if: steps.compile.outputs.status == 'success' 133 | with: 134 | name: openwrt-bcm27xx-bcm2711-rpi-4.manifest 135 | path: openwrt/bin/targets/bcm27xx/bcm2711/openwrt-bcm27xx-bcm2711-rpi-4.manifest 136 | 137 | - name: Upload Kernel Packages 138 | uses: actions/upload-artifact@master 139 | if: steps.compile.outputs.status == 'success' 140 | with: 141 | name: kernel-packages 142 | path: openwrt/bin/targets/bcm27xx/bcm2711/packages/ 143 | 144 | - name: Upload RootFS Archive 145 | uses: actions/upload-artifact@master 146 | if: steps.compile.outputs.status == 'success' 147 | with: 148 | name: openwrt-bcm27xx-bcm2711-rpi-4-rootfs.tar.gz 149 | path: openwrt/bin/targets/bcm27xx/bcm2711/openwrt-bcm27xx-bcm2711-rpi-4-rootfs.tar.gz 150 | 151 | - name: Upload SquashFS Factory Image 152 | uses: actions/upload-artifact@master 153 | if: steps.compile.outputs.status == 'success' 154 | with: 155 | name: openwrt-bcm27xx-bcm2711-rpi-4-squashfs-factory.img 156 | path: openwrt/bin/targets/bcm27xx/bcm2711/openwrt-bcm27xx-bcm2711-rpi-4-squashfs-factory.img 157 | 158 | - name: Upload SquashFS Sysupgrade Image 159 | uses: actions/upload-artifact@master 160 | if: steps.compile.outputs.status == 'success' 161 | with: 162 | name: openwrt-bcm27xx-bcm2711-rpi-4-squashfs-sysupgrade.img 163 | path: openwrt/bin/targets/bcm27xx/bcm2711/openwrt-bcm27xx-bcm2711-rpi-4-squashfs-sysupgrade.img 164 | 165 | - name: Upload Ext4 Factory Image 166 | uses: actions/upload-artifact@master 167 | if: steps.compile.outputs.status == 'success' 168 | with: 169 | name: openwrt-bcm27xx-bcm2711-rpi-4-ext4-factory.img 170 | path: openwrt/bin/targets/bcm27xx/bcm2711/openwrt-bcm27xx-bcm2711-rpi-4-ext4-factory.img 171 | 172 | - name: Upload Ext4 Sysupgrade Image 173 | uses: actions/upload-artifact@master 174 | if: steps.compile.outputs.status == 'success' 175 | with: 176 | name: openwrt-bcm27xx-bcm2711-rpi-4-ext4-sysupgrade.img 177 | path: openwrt/bin/targets/bcm27xx/bcm2711/openwrt-bcm27xx-bcm2711-rpi-4-ext4-sysupgrade.img 178 | 179 | - name: Upload Images Sha256sums 180 | uses: actions/upload-artifact@master 181 | if: steps.compile.outputs.status == 'success' 182 | with: 183 | name: sha256sums 184 | path: openwrt/bin/targets/bcm27xx/bcm2711/sha256sums 185 | -------------------------------------------------------------------------------- /old-workflows/build-rpi3-offical-openwrt.yml: -------------------------------------------------------------------------------- 1 | #================================================= 2 | # https://github.com/P3TERX/Actions-OpenWrt 3 | # Description: Build OpenWrt using GitHub Actions 4 | # Lisence: MIT 5 | # Author: P3TERX 6 | # Blog: https://p3terx.com 7 | #================================================= 8 | 9 | name: Build Raspberry Pi 3 Offical OpenWrt 10 | 11 | on: 12 | release: 13 | types: [published] 14 | push: 15 | branches: 16 | - master 17 | paths: 18 | - 'rpi3-offical-openwrt.config' 19 | # schedule: 20 | # - cron: 0 18 * * * 21 | # watch: 22 | # types: [started] 23 | 24 | env: 25 | REPO_URL: https://github.com/openwrt/openwrt 26 | REPO_BRANCH: v19.07.2 27 | CONFIG_FILE: rpi3-offical-openwrt.config 28 | DIY_SH: offical-openwrt.sh 29 | FREE_UP_DISK: true 30 | SSH_ACTIONS: false 31 | TZ: Asia/Shanghai 32 | 33 | jobs: 34 | build: 35 | runs-on: ubuntu-latest 36 | 37 | steps: 38 | - name: Checkout 39 | uses: actions/checkout@master 40 | 41 | - name: Initialization environment 42 | env: 43 | DEBIAN_FRONTEND: noninteractive 44 | run: | 45 | sudo swapoff /swapfile 46 | sudo rm -rf /swapfile /etc/apt/sources.list.d/* 47 | sudo -E apt-get -qq update 48 | sudo -E apt-get -qq install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib g++-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler 49 | curl -fsSL https://raw.githubusercontent.com/P3TERX/dotfiles/master/.bashrc >> ~/.bashrc 50 | 51 | - name: Free up disk space 52 | if: env.FREE_UP_DISK == 'true' 53 | env: 54 | DEBIAN_FRONTEND: noninteractive 55 | run: | 56 | sudo rm -rf /usr/share/dotnet 57 | docker rmi `docker images -q` 58 | sudo -E apt-get -q purge azure-cli ghc* zulu* hhvm llvm* firefox google* dotnet* powershell openjdk* mysql* php* 59 | sudo -E apt-get -qq autoremove --purge 60 | sudo -E apt-get -qq clean 61 | 62 | - name: Clone source code 63 | run: git clone --depth 1 $REPO_URL -b $REPO_BRANCH openwrt 64 | 65 | - name: Update Feeds 66 | run: | 67 | cd openwrt 68 | echo "src-git lienol https://github.com/Lienol/openwrt-package" >> feeds.conf.default 69 | ./scripts/feeds update -a 70 | 71 | - name: Install feeds 72 | run: cd openwrt && ./scripts/feeds install -a 73 | 74 | - name: Load custom configuration 75 | run: | 76 | [ -e files ] && mv files openwrt/files 77 | [ -e $CONFIG_FILE ] && mv $CONFIG_FILE openwrt/.config 78 | chmod +x $DIY_SH 79 | cd openwrt 80 | ../$DIY_SH 81 | make defconfig 82 | 83 | - name: SSH connection to Actions 84 | uses: P3TERX/debugger-action@master 85 | if: env.SSH_ACTIONS == 'true' 86 | 87 | - name: Download package 88 | id: package 89 | run: | 90 | cd openwrt 91 | make download -j8 92 | find dl -size -1024c -exec ls -l {} \; 93 | find dl -size -1024c -exec rm -f {} \; 94 | 95 | - name: Compile the firmware 96 | id: compile 97 | run: | 98 | cd openwrt 99 | echo -e "$(nproc) thread compile" 100 | make -j$(nproc) || make -j1 V=s 101 | echo "::set-output name=status::success" 102 | 103 | - name: Extract Gz Files 104 | run: | 105 | cd openwrt/bin/targets/brcm2708/bcm2710 106 | ls -l 107 | gzip -q -d openwrt-brcm2708-bcm2710-rpi-3-squashfs-factory.img.gz || true 108 | gzip -q -d openwrt-brcm2708-bcm2710-rpi-3-squashfs-sysupgrade.img.gz || true 109 | gzip -q -d openwrt-brcm2708-bcm2710-rpi-3-ext4-factory.img.gz || true 110 | gzip -q -d openwrt-brcm2708-bcm2710-rpi-3-ext4-sysupgrade.img.gz || true 111 | 112 | - name: Generate Sha256sum File 113 | run: | 114 | cd openwrt/bin/targets/brcm2708/bcm2710 115 | rm -rf sha256sums 116 | sha256sum openwrt* > sha256sums 117 | 118 | - name: Upload Config 119 | uses: actions/upload-artifact@master 120 | if: steps.compile.outputs.status == 'success' 121 | with: 122 | name: config.buildinfo 123 | path: openwrt/bin/targets/brcm2708/bcm2710/config.buildinfo 124 | 125 | - name: Upload Packages 126 | uses: actions/upload-artifact@master 127 | if: steps.compile.outputs.status == 'success' 128 | with: 129 | name: packages 130 | path: openwrt/bin/packages/aarch64_cortex-a53/ 131 | 132 | - name: Upload Packages Info 133 | uses: actions/upload-artifact@master 134 | if: steps.compile.outputs.status == 'success' 135 | with: 136 | name: openwrt-brcm2708-bcm2710-device-rpi-3.manifest 137 | path: openwrt/bin/targets/brcm2708/bcm2710/openwrt-brcm2708-bcm2710-device-rpi-3.manifest 138 | 139 | - name: Upload Kernel Packages 140 | uses: actions/upload-artifact@master 141 | if: steps.compile.outputs.status == 'success' 142 | with: 143 | name: kernel-packages 144 | path: openwrt/bin/targets/brcm2708/bcm2710/packages/ 145 | 146 | - name: Upload RootFS Archive 147 | uses: actions/upload-artifact@master 148 | if: steps.compile.outputs.status == 'success' 149 | with: 150 | name: openwrt-brcm2708-bcm2710-device-rpi-3-rootfs.tar.gz 151 | path: openwrt/bin/targets/brcm2708/bcm2710/openwrt-brcm2708-bcm2710-device-rpi-3-rootfs.tar.gz 152 | 153 | - name: Upload SquashFS Factory Image 154 | uses: actions/upload-artifact@master 155 | if: steps.compile.outputs.status == 'success' 156 | with: 157 | name: openwrt-brcm2708-bcm2710-rpi-3-squashfs-factory.img 158 | path: openwrt/bin/targets/brcm2708/bcm2710/openwrt-brcm2708-bcm2710-rpi-3-squashfs-factory.img 159 | 160 | - name: Upload SquashFS Sysupgrade Image 161 | uses: actions/upload-artifact@master 162 | if: steps.compile.outputs.status == 'success' 163 | with: 164 | name: openwrt-brcm2708-bcm2710-rpi-3-squashfs-sysupgrade.img 165 | path: openwrt/bin/targets/brcm2708/bcm2710/openwrt-brcm2708-bcm2710-rpi-3-squashfs-sysupgrade.img 166 | 167 | - name: Upload Ext4 Factory Image 168 | uses: actions/upload-artifact@master 169 | if: steps.compile.outputs.status == 'success' 170 | with: 171 | name: openwrt-brcm2708-bcm2710-rpi-3-ext4-factory.img 172 | path: openwrt/bin/targets/brcm2708/bcm2710/openwrt-brcm2708-bcm2710-rpi-3-ext4-factory.img 173 | 174 | - name: Upload Ext4 Sysupgrade Image 175 | uses: actions/upload-artifact@master 176 | if: steps.compile.outputs.status == 'success' 177 | with: 178 | name: openwrt-brcm2708-bcm2710-rpi-3-ext4-sysupgrade.img 179 | path: openwrt/bin/targets/brcm2708/bcm2710/openwrt-brcm2708-bcm2710-rpi-3-ext4-sysupgrade.img 180 | 181 | - name: Upload Images Sha256sums 182 | uses: actions/upload-artifact@master 183 | if: steps.compile.outputs.status == 'success' 184 | with: 185 | name: sha256sums 186 | path: openwrt/bin/targets/brcm2708/bcm2710/sha256sums 187 | -------------------------------------------------------------------------------- /config/old/rpi4-lean-openwrt.config: -------------------------------------------------------------------------------- 1 | CONFIG_TARGET_bcm27xx=y 2 | CONFIG_TARGET_bcm27xx_bcm2711=y 3 | CONFIG_TARGET_bcm27xx_bcm2711_DEVICE_rpi-4=y 4 | CONFIG_TARGET_KERNEL_PARTSIZE=50 5 | CONFIG_TARGET_ROOTFS_PARTSIZE=2000 6 | CONFIG_TARGET_ROOTFS_TARGZ=y 7 | CONFIG_TARGET_ROOTFS_EXT4FS=y 8 | CONFIG_TARGET_ROOTFS_SQUASHFS=y 9 | 10 | # CONFIG_FEED_lienol is not set 11 | CONFIG_IB=y 12 | CONFIG_IB_STANDALONE=y 13 | CONFIG_IMAGEOPT=y 14 | CONFIG_MAKE_TOOLCHAIN=y 15 | CONFIG_SDK=y 16 | 17 | CONFIG_PACKAGE_htop=y 18 | CONFIG_PACKAGE_sudo=y 19 | CONFIG_PACKAGE_automount=y 20 | 21 | CONFIG_PACKAGE_kmod-fs-f2fs=y 22 | CONFIG_PACKAGE_kmod-fs-nfs=y 23 | CONFIG_PACKAGE_kmod-fs-nfs-common=y 24 | CONFIG_PACKAGE_kmod-fs-nfs-common-rpcsec=y 25 | CONFIG_PACKAGE_kmod-fs-nfs-v3=y 26 | CONFIG_PACKAGE_kmod-fs-nfs-v4=y 27 | CONFIG_PACKAGE_kmod-fs-nfsd=y 28 | CONFIG_PACKAGE_kmod-fs-ntfs=y 29 | CONFIG_PACKAGE_kmod-fs-squashfs=y 30 | CONFIG_PACKAGE_kmod-usb-net=y 31 | CONFIG_PACKAGE_kmod-usb-net-asix=y 32 | CONFIG_PACKAGE_kmod-usb-net-asix-ax88179=y 33 | CONFIG_PACKAGE_kmod-usb-net-cdc-eem=y 34 | CONFIG_PACKAGE_kmod-usb-net-cdc-ether=y 35 | CONFIG_PACKAGE_kmod-usb-net-cdc-mbim=y 36 | CONFIG_PACKAGE_kmod-usb-net-cdc-ncm=y 37 | CONFIG_PACKAGE_kmod-usb-net-cdc-subset=y 38 | CONFIG_PACKAGE_kmod-usb-net-dm9601-ether=y 39 | CONFIG_PACKAGE_kmod-usb-net-hso=y 40 | CONFIG_PACKAGE_kmod-usb-net-huawei-cdc-ncm=y 41 | CONFIG_PACKAGE_kmod-usb-net-ipheth=y 42 | CONFIG_PACKAGE_kmod-usb-net-kalmia=y 43 | CONFIG_PACKAGE_kmod-usb-net-kaweth=y 44 | CONFIG_PACKAGE_kmod-usb-net-mcs7830=y 45 | CONFIG_PACKAGE_kmod-usb-net-pegasus=y 46 | CONFIG_PACKAGE_kmod-usb-net-pl=y 47 | CONFIG_PACKAGE_kmod-usb-net-qmi-wwan=y 48 | CONFIG_PACKAGE_kmod-usb-net-rndis=y 49 | CONFIG_PACKAGE_kmod-usb-net-rtl8150=y 50 | CONFIG_PACKAGE_kmod-usb-net-rtl8152=y 51 | CONFIG_PACKAGE_kmod-usb-net-sierrawireless=y 52 | CONFIG_PACKAGE_kmod-usb-net-smsc95xx=y 53 | CONFIG_PACKAGE_kmod-usb-net-sr9700=y 54 | CONFIG_PACKAGE_kmod-usb-net2280=y 55 | CONFIG_PACKAGE_kmod-usb-ohci=y 56 | CONFIG_PACKAGE_kmod-usb-ohci-pci=y 57 | CONFIG_PACKAGE_kmod-usb-printer=y 58 | CONFIG_PACKAGE_kmod-usb-storage=y 59 | CONFIG_PACKAGE_kmod-usb-storage-extras=y 60 | CONFIG_PACKAGE_kmod-usb-storage-uas=y 61 | CONFIG_PACKAGE_kmod-usb-uhci=y 62 | CONFIG_PACKAGE_kmod-usb2=y 63 | CONFIG_PACKAGE_kmod-usb2-pci=y 64 | CONFIG_PACKAGE_kmod-usb3=y 65 | 66 | CONFIG_PACKAGE_luci-app-adblock=y 67 | CONFIG_PACKAGE_luci-app-adguardhome=y 68 | CONFIG_PACKAGE_luci-app-amule=y 69 | CONFIG_PACKAGE_luci-app-aria2=y 70 | CONFIG_PACKAGE_luci-app-baidupcs-web=y 71 | CONFIG_PACKAGE_luci-app-brook-server=y 72 | CONFIG_PACKAGE_luci-app-cifsd=y 73 | CONFIG_PACKAGE_luci-app-commands=y 74 | CONFIG_PACKAGE_luci-app-dnspod=y 75 | CONFIG_PACKAGE_luci-app-docker=y 76 | CONFIG_PACKAGE_luci-app-dockerman=y 77 | CONFIG_PACKAGE_luci-app-familycloud=y 78 | CONFIG_PACKAGE_luci-app-fileassistant=y 79 | CONFIG_PACKAGE_luci-app-filebrowser=y 80 | CONFIG_PACKAGE_luci-app-frpc=y 81 | CONFIG_PACKAGE_luci-app-guest-wifi=y 82 | CONFIG_PACKAGE_luci-app-haproxy-tcp=y 83 | CONFIG_PACKAGE_luci-app-hd-idle=y 84 | CONFIG_PACKAGE_luci-app-ipsec-vpnserver-manyusers=y 85 | CONFIG_PACKAGE_luci-app-kodexplorer=y 86 | CONFIG_PACKAGE_luci-app-koolproxyR=y 87 | CONFIG_PACKAGE_luci-app-mentohust=y 88 | CONFIG_PACKAGE_luci-app-minidlna=y 89 | CONFIG_PACKAGE_luci-app-mjpg-streamer=y 90 | CONFIG_PACKAGE_luci-app-mwan3=y 91 | CONFIG_PACKAGE_luci-app-mwan3helper=y 92 | CONFIG_PACKAGE_luci-app-n2n_v2=y 93 | CONFIG_PACKAGE_luci-app-netdata=y 94 | CONFIG_PACKAGE_luci-app-nps=y 95 | CONFIG_PACKAGE_luci-app-oaf=y 96 | CONFIG_PACKAGE_luci-app-onliner=y 97 | CONFIG_PACKAGE_luci-app-openclash=y 98 | CONFIG_PACKAGE_luci-app-openvpn-server=y 99 | CONFIG_PACKAGE_luci-app-passwall=y 100 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Brook=y 101 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks=y 102 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_ShadowsocksR_socks=y 103 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks_socks=y 104 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Trojan=y 105 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_dns2socks=y 106 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_kcptun=y 107 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_simple-obfs=y 108 | CONFIG_PACKAGE_luci-app-pppoe-server=y 109 | CONFIG_PACKAGE_luci-app-rclone=y 110 | CONFIG_PACKAGE_luci-app-samba=y 111 | CONFIG_PACKAGE_luci-app-serverchan=y 112 | CONFIG_PACKAGE_luci-app-shairplay=y 113 | CONFIG_PACKAGE_luci-app-smartdns=y 114 | CONFIG_PACKAGE_luci-app-softethervpn=y 115 | CONFIG_PACKAGE_luci-app-ssr-plus=y 116 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Kcptun=y 117 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Shadowsocks=y 118 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Server=y 119 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Socks=y 120 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Simple_obfs=y 121 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Trojan=y 122 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_V2ray=y 123 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_V2ray_plugin=y 124 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_DNS2SOCKS=y 125 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Redsocks2=y 126 | CONFIG_PACKAGE_luci-app-ssr-python-pro-server=y 127 | CONFIG_PACKAGE_luci-app-statistics=y 128 | CONFIG_PACKAGE_luci-app-syncdial=y 129 | CONFIG_PACKAGE_luci-app-syncthing=y 130 | CONFIG_PACKAGE_luci-app-tinyproxy=y 131 | CONFIG_PACKAGE_luci-app-transmission=y 132 | CONFIG_PACKAGE_luci-app-trojan-server=y 133 | CONFIG_PACKAGE_luci-app-ttyd=y 134 | CONFIG_PACKAGE_luci-app-unblockmusic=y 135 | CONFIG_UnblockNeteaseMusic_Go=y 136 | CONFIG_UnblockNeteaseMusic_NodeJS=y 137 | CONFIG_PACKAGE_luci-app-usb-printer=y 138 | CONFIG_PACKAGE_luci-app-v2ray-server=y 139 | CONFIG_PACKAGE_luci-app-verysync=y 140 | CONFIG_PACKAGE_luci-app-vnstat=y 141 | CONFIG_PACKAGE_luci-app-watchcat=y 142 | CONFIG_PACKAGE_luci-app-webadmin=y 143 | CONFIG_PACKAGE_luci-app-wifischedule=y 144 | CONFIG_PACKAGE_luci-app-wireguard=y 145 | CONFIG_PACKAGE_luci-app-wrtbwmon=y 146 | CONFIG_PACKAGE_luci-app-xlnetacc=y 147 | CONFIG_PACKAGE_luci-app-zerotier=y 148 | CONFIG_PACKAGE_luci-proto-openconnect=y 149 | CONFIG_PACKAGE_luci-theme-argon=y 150 | CONFIG_PACKAGE_luci-theme-material=y 151 | 152 | CONFIG_PACKAGE_ariang=y 153 | CONFIG_PACKAGE_rsync=y 154 | CONFIG_PACKAGE_rsyncd=y 155 | CONFIG_PACKAGE_bind-host=y 156 | CONFIG_PACKAGE_mentohust=y 157 | CONFIG_PACKAGE_openssh-sftp-client=y 158 | CONFIG_PACKAGE_openssh-sftp-server=y 159 | CONFIG_PACKAGE_xl2tpd=y 160 | CONFIG_PACKAGE_ppp-mod-pptp=y 161 | CONFIG_V2RAY_COMPRESS_UPX=n 162 | 163 | CONFIG_PACKAGE_bsdtar=y 164 | CONFIG_PACKAGE_bzip2=y 165 | CONFIG_PACKAGE_gzip=y 166 | CONFIG_PACKAGE_unzip=y 167 | CONFIG_PACKAGE_zip=y 168 | CONFIG_PACKAGE_fdisk=y 169 | CONFIG_PACKAGE_fstrim=y 170 | CONFIG_PACKAGE_lsblk=y 171 | CONFIG_PACKAGE_nano=y 172 | CONFIG_PACKAGE_vim=y 173 | CONFIG_PACKAGE_f2fs-tools=y 174 | CONFIG_PACKAGE_f2fsck=y 175 | CONFIG_PACKAGE_resize2fs=y 176 | CONFIG_PACKAGE_zsh=y 177 | CONFIG_PACKAGE_screen=y 178 | CONFIG_PACKAGE_tmux=y 179 | CONFIG_PACKAGE_docker-ce=y 180 | CONFIG_DOCKER_KERNEL_OPTIONS=y 181 | CONFIG_DOCKER_NET_ENCRYPT=y 182 | CONFIG_DOCKER_NET_MACVLAN=y 183 | CONFIG_DOCKER_NET_OVERLAY=y 184 | CONFIG_DOCKER_NET_TFTP=y 185 | CONFIG_DOCKER_RES_SHAPE=y 186 | CONFIG_DOCKER_SECCOMP=y 187 | CONFIG_DOCKER_STO_BTRFS=y 188 | CONFIG_DOCKER_STO_EXT4=y 189 | CONFIG_PACKAGE_tree=y 190 | CONFIG_PACKAGE_usbutils=y 191 | CONFIG_PACKAGE_whereis=y 192 | 193 | CONFIG_PACKAGE_kmod-usb-serial=y 194 | CONFIG_PACKAGE_kmod-usb-serial-option=y 195 | CONFIG_PACKAGE_kmod-usb-serial-wwan=y 196 | CONFIG_PACKAGE_usb-modeswitch=y 197 | CONFIG_PACKAGE_kmod-mii=y 198 | CONFIG_PACKAGE_luci-proto-qmi=y 199 | CONFIG_PACKAGE_qmi-utils=y 200 | CONFIG_PACKAGE_umbim=y 201 | CONFIG_PACKAGE_uqmi=y 202 | CONFIG_PACKAGE_comgt-ncm=y 203 | CONFIG_PACKAGE_luci-proto-ncm=y 204 | CONFIG_PACKAGE_comgt=y 205 | CONFIG_PACKAGE_kmod-usb-acm=y 206 | CONFIG_PACKAGE_luci-proto-3g=y 207 | -------------------------------------------------------------------------------- /config/old/rpi3-lean-openwrt.config: -------------------------------------------------------------------------------- 1 | CONFIG_TARGET_bcm27xx=y 2 | CONFIG_TARGET_bcm27xx_bcm2710=y 3 | CONFIG_TARGET_bcm27xx_bcm2710_DEVICE_rpi-3=y 4 | CONFIG_TARGET_KERNEL_PARTSIZE=50 5 | CONFIG_TARGET_ROOTFS_PARTSIZE=2000 6 | CONFIG_TARGET_ROOTFS_TARGZ=y 7 | CONFIG_TARGET_ROOTFS_EXT4FS=y 8 | CONFIG_TARGET_ROOTFS_SQUASHFS=y 9 | 10 | # CONFIG_FEED_lienol is not set 11 | CONFIG_IB=y 12 | CONFIG_IB_STANDALONE=y 13 | CONFIG_IMAGEOPT=y 14 | CONFIG_MAKE_TOOLCHAIN=y 15 | CONFIG_SDK=y 16 | 17 | CONFIG_PACKAGE_htop=y 18 | CONFIG_PACKAGE_sudo=y 19 | CONFIG_PACKAGE_automount=y 20 | 21 | CONFIG_PACKAGE_kmod-fs-f2fs=y 22 | CONFIG_PACKAGE_kmod-fs-nfs=y 23 | CONFIG_PACKAGE_kmod-fs-nfs-common=y 24 | CONFIG_PACKAGE_kmod-fs-nfs-common-rpcsec=y 25 | CONFIG_PACKAGE_kmod-fs-nfs-v3=y 26 | CONFIG_PACKAGE_kmod-fs-nfs-v4=y 27 | CONFIG_PACKAGE_kmod-fs-nfsd=y 28 | CONFIG_PACKAGE_kmod-fs-ntfs=y 29 | CONFIG_PACKAGE_kmod-fs-squashfs=y 30 | CONFIG_PACKAGE_kmod-usb-net=y 31 | CONFIG_PACKAGE_kmod-usb-net-asix=y 32 | CONFIG_PACKAGE_kmod-usb-net-asix-ax88179=y 33 | CONFIG_PACKAGE_kmod-usb-net-cdc-eem=y 34 | CONFIG_PACKAGE_kmod-usb-net-cdc-ether=y 35 | CONFIG_PACKAGE_kmod-usb-net-cdc-mbim=y 36 | CONFIG_PACKAGE_kmod-usb-net-cdc-ncm=y 37 | CONFIG_PACKAGE_kmod-usb-net-cdc-subset=y 38 | CONFIG_PACKAGE_kmod-usb-net-dm9601-ether=y 39 | CONFIG_PACKAGE_kmod-usb-net-hso=y 40 | CONFIG_PACKAGE_kmod-usb-net-huawei-cdc-ncm=y 41 | CONFIG_PACKAGE_kmod-usb-net-ipheth=y 42 | CONFIG_PACKAGE_kmod-usb-net-kalmia=y 43 | CONFIG_PACKAGE_kmod-usb-net-kaweth=y 44 | CONFIG_PACKAGE_kmod-usb-net-mcs7830=y 45 | CONFIG_PACKAGE_kmod-usb-net-pegasus=y 46 | CONFIG_PACKAGE_kmod-usb-net-pl=y 47 | CONFIG_PACKAGE_kmod-usb-net-qmi-wwan=y 48 | CONFIG_PACKAGE_kmod-usb-net-rndis=y 49 | CONFIG_PACKAGE_kmod-usb-net-rtl8150=y 50 | CONFIG_PACKAGE_kmod-usb-net-rtl8152=y 51 | CONFIG_PACKAGE_kmod-usb-net-sierrawireless=y 52 | CONFIG_PACKAGE_kmod-usb-net-smsc95xx=y 53 | CONFIG_PACKAGE_kmod-usb-net-sr9700=y 54 | CONFIG_PACKAGE_kmod-usb-net2280=y 55 | CONFIG_PACKAGE_kmod-usb-ohci=y 56 | CONFIG_PACKAGE_kmod-usb-ohci-pci=y 57 | CONFIG_PACKAGE_kmod-usb-printer=y 58 | CONFIG_PACKAGE_kmod-usb-storage=y 59 | CONFIG_PACKAGE_kmod-usb-storage-extras=y 60 | CONFIG_PACKAGE_kmod-usb-storage-uas=y 61 | CONFIG_PACKAGE_kmod-usb-uhci=y 62 | CONFIG_PACKAGE_kmod-usb2=y 63 | CONFIG_PACKAGE_kmod-usb2-pci=y 64 | CONFIG_PACKAGE_kmod-usb3=y 65 | 66 | CONFIG_PACKAGE_luci-app-adblock=y 67 | CONFIG_PACKAGE_luci-app-adguardhome=y 68 | CONFIG_PACKAGE_luci-app-amule=y 69 | CONFIG_PACKAGE_luci-app-aria2=y 70 | CONFIG_PACKAGE_luci-app-baidupcs-web=y 71 | CONFIG_PACKAGE_luci-app-brook-server=y 72 | CONFIG_PACKAGE_luci-app-cifsd=y 73 | CONFIG_PACKAGE_luci-app-commands=y 74 | CONFIG_PACKAGE_luci-app-dnspod=y 75 | CONFIG_PACKAGE_luci-app-docker=y 76 | CONFIG_PACKAGE_luci-app-dockerman=y 77 | CONFIG_PACKAGE_luci-lib-docker=y 78 | CONFIG_PACKAGE_luci-app-familycloud=y 79 | CONFIG_PACKAGE_luci-app-fileassistant=y 80 | CONFIG_PACKAGE_luci-app-filebrowser=y 81 | CONFIG_PACKAGE_luci-app-frpc=y 82 | CONFIG_PACKAGE_luci-app-guest-wifi=y 83 | CONFIG_PACKAGE_luci-app-haproxy-tcp=y 84 | CONFIG_PACKAGE_luci-app-hd-idle=y 85 | CONFIG_PACKAGE_luci-app-ipsec-vpnserver-manyusers=y 86 | CONFIG_PACKAGE_luci-app-kodexplorer=y 87 | CONFIG_PACKAGE_luci-app-koolproxyR=y 88 | CONFIG_PACKAGE_luci-app-mentohust=y 89 | CONFIG_PACKAGE_luci-app-minidlna=y 90 | CONFIG_PACKAGE_luci-app-mjpg-streamer=y 91 | CONFIG_PACKAGE_luci-app-mwan3=y 92 | CONFIG_PACKAGE_luci-app-mwan3helper=y 93 | CONFIG_PACKAGE_luci-app-n2n_v2=y 94 | CONFIG_PACKAGE_luci-app-netdata=y 95 | CONFIG_PACKAGE_luci-app-nps=y 96 | CONFIG_PACKAGE_luci-app-oaf=y 97 | CONFIG_PACKAGE_luci-app-onliner=y 98 | CONFIG_PACKAGE_luci-app-openclash=y 99 | CONFIG_PACKAGE_luci-app-openvpn-server=y 100 | CONFIG_PACKAGE_luci-app-passwall=y 101 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Brook=y 102 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks=y 103 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_ShadowsocksR_socks=y 104 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks_socks=y 105 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Trojan=y 106 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_dns2socks=y 107 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_kcptun=y 108 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_simple-obfs=y 109 | CONFIG_PACKAGE_luci-app-pppoe-server=y 110 | CONFIG_PACKAGE_luci-app-rclone=y 111 | CONFIG_PACKAGE_luci-app-samba=y 112 | CONFIG_PACKAGE_luci-app-serverchan=y 113 | CONFIG_PACKAGE_luci-app-shairplay=y 114 | CONFIG_PACKAGE_luci-app-smartdns=y 115 | CONFIG_PACKAGE_luci-app-softethervpn=y 116 | CONFIG_PACKAGE_luci-app-ssr-plus=y 117 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Kcptun=y 118 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Shadowsocks=y 119 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Server=y 120 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Socks=y 121 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Simple_obfs=y 122 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Trojan=y 123 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_V2ray=y 124 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_V2ray_plugin=y 125 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_DNS2SOCKS=y 126 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Redsocks2=y 127 | CONFIG_PACKAGE_luci-app-ssr-python-pro-server=y 128 | CONFIG_PACKAGE_luci-app-statistics=y 129 | CONFIG_PACKAGE_luci-app-syncdial=y 130 | CONFIG_PACKAGE_luci-app-syncthing=y 131 | CONFIG_PACKAGE_luci-app-tinyproxy=y 132 | CONFIG_PACKAGE_luci-app-transmission=y 133 | CONFIG_PACKAGE_luci-app-trojan-server=y 134 | CONFIG_PACKAGE_luci-app-ttyd=y 135 | CONFIG_PACKAGE_luci-app-unblockmusic=y 136 | CONFIG_UnblockNeteaseMusic_Go=y 137 | CONFIG_UnblockNeteaseMusic_NodeJS=y 138 | CONFIG_PACKAGE_luci-app-usb-printer=y 139 | CONFIG_PACKAGE_luci-app-v2ray-server=y 140 | CONFIG_PACKAGE_luci-app-verysync=y 141 | CONFIG_PACKAGE_luci-app-vnstat=y 142 | CONFIG_PACKAGE_luci-app-watchcat=y 143 | CONFIG_PACKAGE_luci-app-webadmin=y 144 | CONFIG_PACKAGE_luci-app-wifischedule=y 145 | CONFIG_PACKAGE_luci-app-wireguard=y 146 | CONFIG_PACKAGE_luci-app-wrtbwmon=y 147 | CONFIG_PACKAGE_luci-app-xlnetacc=y 148 | CONFIG_PACKAGE_luci-app-zerotier=y 149 | CONFIG_PACKAGE_luci-proto-openconnect=y 150 | CONFIG_PACKAGE_luci-theme-argon=y 151 | CONFIG_PACKAGE_luci-theme-material=y 152 | 153 | CONFIG_PACKAGE_ariang=y 154 | CONFIG_PACKAGE_rsync=y 155 | CONFIG_PACKAGE_rsyncd=y 156 | CONFIG_PACKAGE_bind-host=y 157 | CONFIG_PACKAGE_mentohust=y 158 | CONFIG_PACKAGE_openssh-sftp-client=y 159 | CONFIG_PACKAGE_openssh-sftp-server=y 160 | CONFIG_PACKAGE_xl2tpd=y 161 | CONFIG_PACKAGE_ppp-mod-pptp=y 162 | CONFIG_V2RAY_COMPRESS_UPX=n 163 | 164 | CONFIG_PACKAGE_bsdtar=y 165 | CONFIG_PACKAGE_bzip2=y 166 | CONFIG_PACKAGE_gzip=y 167 | CONFIG_PACKAGE_unzip=y 168 | CONFIG_PACKAGE_zip=y 169 | CONFIG_PACKAGE_fdisk=y 170 | CONFIG_PACKAGE_fstrim=y 171 | CONFIG_PACKAGE_lsblk=y 172 | CONFIG_PACKAGE_nano=y 173 | CONFIG_PACKAGE_vim=y 174 | CONFIG_PACKAGE_f2fs-tools=y 175 | CONFIG_PACKAGE_f2fsck=y 176 | CONFIG_PACKAGE_resize2fs=y 177 | CONFIG_PACKAGE_zsh=y 178 | CONFIG_PACKAGE_screen=y 179 | CONFIG_PACKAGE_tmux=y 180 | CONFIG_PACKAGE_docker-ce=y 181 | CONFIG_DOCKER_KERNEL_OPTIONS=y 182 | CONFIG_DOCKER_NET_ENCRYPT=y 183 | CONFIG_DOCKER_NET_MACVLAN=y 184 | CONFIG_DOCKER_NET_OVERLAY=y 185 | CONFIG_DOCKER_NET_TFTP=y 186 | CONFIG_DOCKER_RES_SHAPE=y 187 | CONFIG_DOCKER_SECCOMP=y 188 | CONFIG_DOCKER_STO_BTRFS=y 189 | CONFIG_DOCKER_STO_EXT4=y 190 | CONFIG_PACKAGE_tree=y 191 | CONFIG_PACKAGE_usbutils=y 192 | CONFIG_PACKAGE_whereis=y 193 | 194 | CONFIG_PACKAGE_kmod-usb-serial=y 195 | CONFIG_PACKAGE_kmod-usb-serial-option=y 196 | CONFIG_PACKAGE_kmod-usb-serial-wwan=y 197 | CONFIG_PACKAGE_usb-modeswitch=y 198 | CONFIG_PACKAGE_kmod-mii=y 199 | CONFIG_PACKAGE_luci-proto-qmi=y 200 | CONFIG_PACKAGE_qmi-utils=y 201 | CONFIG_PACKAGE_umbim=y 202 | CONFIG_PACKAGE_uqmi=y 203 | CONFIG_PACKAGE_comgt-ncm=y 204 | CONFIG_PACKAGE_luci-proto-ncm=y 205 | CONFIG_PACKAGE_comgt=y 206 | CONFIG_PACKAGE_kmod-usb-acm=y 207 | CONFIG_PACKAGE_luci-proto-3g=y 208 | -------------------------------------------------------------------------------- /old-workflows/build-rpi3-lean-openwrt.yml: -------------------------------------------------------------------------------- 1 | #================================================= 2 | # https://github.com/P3TERX/Actions-OpenWrt 3 | # Description: Build OpenWrt using GitHub Actions 4 | # Lisence: MIT 5 | # Author: P3TERX 6 | # Blog: https://p3terx.com 7 | #================================================= 8 | 9 | name: Build Raspberry Pi 3 Lean's OpenWrt 10 | 11 | on: 12 | release: 13 | types: [published] 14 | push: 15 | branches: 16 | - master 17 | paths: 18 | - 'rpi3-lean-openwrt.config' 19 | schedule: 20 | - cron: 0 15 * * * 21 | # watch: 22 | # types: [started] 23 | 24 | env: 25 | REPO_URL: https://github.com/coolsnowwolf/lede 26 | REPO_BRANCH: master 27 | CONFIG_FILE: rpi3-lean-openwrt.config 28 | DIY_SH: lean-openwrt.sh 29 | DOWNLOAD_URL_FILE: Tmp-Link-Url.txt 30 | TZ: Asia/Shanghai 31 | TARGET: bcm27xx 32 | SUBTARGET: bcm2710 33 | DEVICE: openwrt-bcm27xx-bcm2710-rpi-3 34 | FREE_UP_DISK: true 35 | SSH_ACTIONS: false 36 | UPLOAD_EXT4_IMAGES: true 37 | UPLOAD_SQUASHFS_IMAGES: true 38 | UPLOAD_ROOTFS: true 39 | 40 | 41 | jobs: 42 | build: 43 | runs-on: ubuntu-latest 44 | 45 | steps: 46 | - name: Checkout 47 | uses: actions/checkout@master 48 | 49 | - name: Initialization environment 50 | env: 51 | DEBIAN_FRONTEND: noninteractive 52 | run: | 53 | sudo swapoff /swapfile 54 | sudo rm -rf /swapfile /etc/apt/sources.list.d/* 55 | sudo -E apt-get -qq update 56 | sudo -E apt-get -qq install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib g++-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler 57 | curl -fsSL https://raw.githubusercontent.com/P3TERX/dotfiles/master/.bashrc >> ~/.bashrc 58 | 59 | - name: Free up disk space 60 | if: env.FREE_UP_DISK == 'true' 61 | env: 62 | DEBIAN_FRONTEND: noninteractive 63 | run: | 64 | sudo rm -rf /usr/share/dotnet 65 | docker rmi `docker images -q` 66 | sudo -E apt-get -q purge azure-cli ghc* zulu* hhvm llvm* firefox google* dotnet* powershell openjdk* mysql* php* 67 | sudo -E apt-get -qq autoremove --purge 68 | sudo -E apt-get -qq clean 69 | 70 | - name: Clone source code 71 | run: git clone --depth 1 $REPO_URL -b $REPO_BRANCH openwrt 72 | 73 | - name: Update Feeds 74 | run: | 75 | cd openwrt 76 | echo "src-git lienol https://github.com/Lienol/openwrt-package" >> feeds.conf.default 77 | ./scripts/feeds update -a 78 | 79 | - name: Install feeds 80 | run: cd openwrt && ./scripts/feeds install -a 81 | 82 | - name: Load custom configuration 83 | run: | 84 | [ -e files ] && mv files openwrt/files 85 | [ -e $CONFIG_FILE ] && mv $CONFIG_FILE openwrt/.config 86 | chmod +x $DIY_SH 87 | cd openwrt 88 | ../$DIY_SH 89 | make defconfig 90 | 91 | - name: SSH connection to Actions 92 | uses: P3TERX/debugger-action@master 93 | if: env.SSH_ACTIONS == 'true' 94 | 95 | - name: Download package 96 | id: package 97 | run: | 98 | cd openwrt 99 | make download -j8 100 | find dl -size -1024c -exec ls -l {} \; 101 | find dl -size -1024c -exec rm -f {} \; 102 | 103 | - name: Compile the firmware 104 | id: compile 105 | run: | 106 | cd openwrt 107 | echo -e "$(nproc) thread compile" 108 | make -j$(nproc) || make -j1 V=s 109 | echo "::set-output name=status::success" 110 | 111 | - name: Extract Gz Files 112 | if: steps.compile.outputs.status == 'success' 113 | run: | 114 | cd openwrt/bin/targets/$TARGET/$SUBTARGET 115 | gzip -qdc $DEVICE-squashfs-factory.img.gz > $DEVICE-squashfs-factory.img || true 116 | gzip -qdc $DEVICE-squashfs-sysupgrade.img.gz > $DEVICE-squashfs-sysupgrade.img || true 117 | gzip -qdc $DEVICE-ext4-factory.img.gz > $DEVICE-ext4-factory.img || true 118 | gzip -qdc $DEVICE-ext4-sysupgrade.img.gz > $DEVICE-ext4-sysupgrade.img || true 119 | 120 | - name: Generate Sha256sum File For Images 121 | if: steps.compile.outputs.status == 'success' 122 | run: | 123 | cd openwrt/bin/targets/$TARGET/$SUBTARGET 124 | mv sha256sums sha256sums.orig 125 | sha256sum *.img > sha256sums 126 | 127 | - name: Upload Config 128 | uses: actions/upload-artifact@master 129 | if: steps.compile.outputs.status == 'success' 130 | with: 131 | name: config.seed 132 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/config.seed 133 | 134 | - name: Upload Packages 135 | uses: actions/upload-artifact@master 136 | if: steps.compile.outputs.status == 'success' 137 | with: 138 | name: packages 139 | path: openwrt/bin/packages 140 | 141 | - name: Upload Packages Info 142 | uses: actions/upload-artifact@master 143 | if: steps.compile.outputs.status == 'success' 144 | with: 145 | name: ${{ env.DEVICE }}.manifest 146 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.DEVICE }}.manifest 147 | 148 | - name: Upload Kernel Packages 149 | uses: actions/upload-artifact@master 150 | if: steps.compile.outputs.status == 'success' 151 | with: 152 | name: kernel-packages 153 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/packages/ 154 | 155 | - name: Upload RootFS Archive 156 | uses: actions/upload-artifact@master 157 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_ROOTFS == 'true' 158 | with: 159 | name: ${{ env.DEVICE }}-rootfs.tar.gz 160 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.DEVICE }}-rootfs.tar.gz 161 | 162 | - name: Upload SquashFS Factory Image 163 | uses: actions/upload-artifact@master 164 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_SQUASHFS_IMAGES == 'true' 165 | with: 166 | name: ${{ env.DEVICE }}-squashfs-factory.img 167 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.DEVICE }}-squashfs-factory.img 168 | 169 | - name: Upload SquashFS Sysupgrade Image 170 | uses: actions/upload-artifact@master 171 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_SQUASHFS_IMAGES == 'true' 172 | with: 173 | name: ${{ env.DEVICE }}-squashfs-sysupgrade.img 174 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.DEVICE }}-squashfs-sysupgrade.img 175 | 176 | - name: Upload Ext4 Factory Image 177 | uses: actions/upload-artifact@master 178 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_EXT4_IMAGES == 'true' 179 | with: 180 | name: ${{ env.DEVICE }}-ext4-factory.img 181 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.DEVICE }}-ext4-factory.img 182 | 183 | - name: Upload Ext4 Sysupgrade Image 184 | uses: actions/upload-artifact@master 185 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_EXT4_IMAGES == 'true' 186 | with: 187 | name: ${{ env.DEVICE }}-ext4-sysupgrade.img 188 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.DEVICE }}-ext4-sysupgrade.img 189 | 190 | - name: Upload Images Sha256sums 191 | uses: actions/upload-artifact@master 192 | if: steps.compile.outputs.status == 'success' 193 | with: 194 | name: sha256sums 195 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/sha256sums 196 | -------------------------------------------------------------------------------- /old-workflows/build-rpi4-lean-openwrt.yml: -------------------------------------------------------------------------------- 1 | #================================================= 2 | # https://github.com/P3TERX/Actions-OpenWrt 3 | # Description: Build OpenWrt using GitHub Actions 4 | # Lisence: MIT 5 | # Author: P3TERX 6 | # Blog: https://p3terx.com 7 | #================================================= 8 | 9 | name: Build Raspberry Pi 4 Lean's OpenWrt 10 | 11 | on: 12 | release: 13 | types: [published] 14 | push: 15 | branches: 16 | - master 17 | paths: 18 | - 'rpi4-lean-openwrt.config' 19 | schedule: 20 | - cron: 0 15 * * * 21 | # watch: 22 | # types: [started] 23 | 24 | env: 25 | REPO_URL: https://github.com/coolsnowwolf/lede 26 | REPO_BRANCH: master 27 | CONFIG_FILE: rpi4-lean-openwrt.config 28 | DIY_SH: lean-openwrt.sh 29 | DOWNLOAD_URL_FILE: Tmp-Link-Url.txt 30 | TZ: Asia/Shanghai 31 | TARGET: bcm27xx 32 | SUBTARGET: bcm2711 33 | DEVICE: openwrt-bcm27xx-bcm2711-rpi-4 34 | FREE_UP_DISK: true 35 | SSH_ACTIONS: false 36 | UPLOAD_EXT4_IMAGES: true 37 | UPLOAD_SQUASHFS_IMAGES: true 38 | UPLOAD_ROOTFS: true 39 | 40 | 41 | jobs: 42 | build: 43 | runs-on: ubuntu-latest 44 | 45 | steps: 46 | - name: Checkout 47 | uses: actions/checkout@master 48 | 49 | - name: Initialization environment 50 | env: 51 | DEBIAN_FRONTEND: noninteractive 52 | run: | 53 | sudo swapoff /swapfile 54 | sudo rm -rf /swapfile /etc/apt/sources.list.d/* 55 | sudo -E apt-get -qq update 56 | sudo -E apt-get -qq install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib g++-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler 57 | curl -fsSL https://raw.githubusercontent.com/P3TERX/dotfiles/master/.bashrc >> ~/.bashrc 58 | 59 | - name: Free up disk space 60 | if: env.FREE_UP_DISK == 'true' 61 | env: 62 | DEBIAN_FRONTEND: noninteractive 63 | run: | 64 | sudo rm -rf /usr/share/dotnet 65 | docker rmi `docker images -q` 66 | sudo -E apt-get -q purge azure-cli ghc* zulu* hhvm llvm* firefox google* dotnet* powershell openjdk* mysql* php* 67 | sudo -E apt-get -qq autoremove --purge 68 | sudo -E apt-get -qq clean 69 | 70 | - name: Clone source code 71 | run: git clone --depth 1 $REPO_URL -b $REPO_BRANCH openwrt 72 | 73 | - name: Update Feeds 74 | run: | 75 | cd openwrt 76 | echo "src-git lienol https://github.com/Lienol/openwrt-package" >> feeds.conf.default 77 | ./scripts/feeds update -a 78 | 79 | - name: Install feeds 80 | run: cd openwrt && ./scripts/feeds install -a 81 | 82 | - name: Load custom configuration 83 | run: | 84 | [ -e files ] && mv files openwrt/files 85 | [ -e $CONFIG_FILE ] && mv $CONFIG_FILE openwrt/.config 86 | chmod +x $DIY_SH 87 | cd openwrt 88 | ../$DIY_SH 89 | make defconfig 90 | 91 | - name: SSH connection to Actions 92 | uses: P3TERX/debugger-action@master 93 | if: env.SSH_ACTIONS == 'true' 94 | 95 | - name: Download package 96 | id: package 97 | run: | 98 | cd openwrt 99 | make download -j8 100 | find dl -size -1024c -exec ls -l {} \; 101 | find dl -size -1024c -exec rm -f {} \; 102 | 103 | - name: Compile the firmware 104 | id: compile 105 | run: | 106 | cd openwrt 107 | echo -e "$(nproc) thread compile" 108 | make -j$(nproc) || make -j1 V=s 109 | echo "::set-output name=status::success" 110 | 111 | - name: Extract Gz Files 112 | if: steps.compile.outputs.status == 'success' 113 | run: | 114 | cd openwrt/bin/targets/$TARGET/$SUBTARGET 115 | gzip -qdc $DEVICE-squashfs-factory.img.gz > $DEVICE-squashfs-factory.img || true 116 | gzip -qdc $DEVICE-squashfs-sysupgrade.img.gz > $DEVICE-squashfs-sysupgrade.img || true 117 | gzip -qdc $DEVICE-ext4-factory.img.gz > $DEVICE-ext4-factory.img || true 118 | gzip -qdc $DEVICE-ext4-sysupgrade.img.gz > $DEVICE-ext4-sysupgrade.img || true 119 | 120 | - name: Generate Sha256sum File For Images 121 | if: steps.compile.outputs.status == 'success' 122 | run: | 123 | cd openwrt/bin/targets/$TARGET/$SUBTARGET 124 | mv sha256sums sha256sums.orig 125 | sha256sum *.img > sha256sums 126 | 127 | - name: Upload Config 128 | uses: actions/upload-artifact@master 129 | if: steps.compile.outputs.status == 'success' 130 | with: 131 | name: config.seed 132 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/config.seed 133 | 134 | - name: Upload Packages 135 | uses: actions/upload-artifact@master 136 | if: steps.compile.outputs.status == 'success' 137 | with: 138 | name: packages 139 | path: openwrt/bin/packages 140 | 141 | - name: Upload Packages Info 142 | uses: actions/upload-artifact@master 143 | if: steps.compile.outputs.status == 'success' 144 | with: 145 | name: ${{ env.DEVICE }}.manifest 146 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.DEVICE }}.manifest 147 | 148 | - name: Upload Kernel Packages 149 | uses: actions/upload-artifact@master 150 | if: steps.compile.outputs.status == 'success' 151 | with: 152 | name: kernel-packages 153 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/packages/ 154 | 155 | - name: Upload RootFS Archive 156 | uses: actions/upload-artifact@master 157 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_ROOTFS == 'true' 158 | with: 159 | name: ${{ env.DEVICE }}-rootfs.tar.gz 160 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.DEVICE }}-rootfs.tar.gz 161 | 162 | - name: Upload SquashFS Factory Image 163 | uses: actions/upload-artifact@master 164 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_SQUASHFS_IMAGES == 'true' 165 | with: 166 | name: ${{ env.DEVICE }}-squashfs-factory.img 167 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.DEVICE }}-squashfs-factory.img 168 | 169 | - name: Upload SquashFS Sysupgrade Image 170 | uses: actions/upload-artifact@master 171 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_SQUASHFS_IMAGES == 'true' 172 | with: 173 | name: ${{ env.DEVICE }}-squashfs-sysupgrade.img 174 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.DEVICE }}-squashfs-sysupgrade.img 175 | 176 | - name: Upload Ext4 Factory Image 177 | uses: actions/upload-artifact@master 178 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_EXT4_IMAGES == 'true' 179 | with: 180 | name: ${{ env.DEVICE }}-ext4-factory.img 181 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.DEVICE }}-ext4-factory.img 182 | 183 | - name: Upload Ext4 Sysupgrade Image 184 | uses: actions/upload-artifact@master 185 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_EXT4_IMAGES == 'true' 186 | with: 187 | name: ${{ env.DEVICE }}-ext4-sysupgrade.img 188 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.DEVICE }}-ext4-sysupgrade.img 189 | 190 | - name: Upload Images Sha256sums 191 | uses: actions/upload-artifact@master 192 | if: steps.compile.outputs.status == 'success' 193 | with: 194 | name: sha256sums 195 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/sha256sums 196 | 197 | -------------------------------------------------------------------------------- /config/old/rpi4-offical-openwrt.config: -------------------------------------------------------------------------------- 1 | CONFIG_TARGET_bcm27xx=y 2 | CONFIG_TARGET_bcm27xx_bcm2711=y 3 | CONFIG_TARGET_bcm27xx_bcm2711_DEVICE_rpi-4=y 4 | CONFIG_TARGET_KERNEL_PARTSIZE=50 5 | CONFIG_TARGET_ROOTFS_PARTSIZE=1000 6 | CONFIG_TARGET_ROOTFS_TARGZ=y 7 | CONFIG_TARGET_ROOTFS_EXT4FS=y 8 | CONFIG_TARGET_ROOTFS_SQUASHFS=y 9 | 10 | # CONFIG_FEED_lienol is not set 11 | CONFIG_IB=y 12 | CONFIG_IB_STANDALONE=y 13 | CONFIG_IMAGEOPT=y 14 | CONFIG_MAKE_TOOLCHAIN=y 15 | CONFIG_SDK=y 16 | 17 | CONFIG_PACKAGE_htop=y 18 | CONFIG_PACKAGE_sudo=y 19 | CONFIG_PACKAGE_automount=y 20 | 21 | CONFIG_PACKAGE_dnsmasq=n 22 | 23 | CONFIG_PACKAGE_kmod-fs-exfat=y 24 | CONFIG_PACKAGE_kmod-fs-ext4=y 25 | CONFIG_PACKAGE_kmod-fs-f2fs=y 26 | CONFIG_PACKAGE_kmod-fs-nfs=y 27 | CONFIG_PACKAGE_kmod-fs-nfs-common=y 28 | CONFIG_PACKAGE_kmod-fs-nfs-common-rpcsec=y 29 | CONFIG_PACKAGE_kmod-fs-nfs-v3=y 30 | CONFIG_PACKAGE_kmod-fs-nfs-v4=y 31 | CONFIG_PACKAGE_kmod-fs-nfsd=y 32 | CONFIG_PACKAGE_kmod-fs-ntfs=y 33 | CONFIG_PACKAGE_kmod-fs-squashfs=y 34 | CONFIG_PACKAGE_kmod-fs-vfat=y 35 | CONFIG_PACKAGE_kmod-usb-net=y 36 | CONFIG_PACKAGE_kmod-usb-net-asix=y 37 | CONFIG_PACKAGE_kmod-usb-net-asix-ax88179=y 38 | CONFIG_PACKAGE_kmod-usb-net-cdc-eem=y 39 | CONFIG_PACKAGE_kmod-usb-net-cdc-ether=y 40 | CONFIG_PACKAGE_kmod-usb-net-cdc-mbim=y 41 | CONFIG_PACKAGE_kmod-usb-net-cdc-ncm=y 42 | CONFIG_PACKAGE_kmod-usb-net-cdc-subset=y 43 | CONFIG_PACKAGE_kmod-usb-net-dm9601-ether=y 44 | CONFIG_PACKAGE_kmod-usb-net-hso=y 45 | CONFIG_PACKAGE_kmod-usb-net-huawei-cdc-ncm=y 46 | CONFIG_PACKAGE_kmod-usb-net-ipheth=y 47 | CONFIG_PACKAGE_kmod-usb-net-kalmia=y 48 | CONFIG_PACKAGE_kmod-usb-net-kaweth=y 49 | CONFIG_PACKAGE_kmod-usb-net-mcs7830=y 50 | CONFIG_PACKAGE_kmod-usb-net-pegasus=y 51 | CONFIG_PACKAGE_kmod-usb-net-pl=y 52 | CONFIG_PACKAGE_kmod-usb-net-qmi-wwan=y 53 | CONFIG_PACKAGE_kmod-usb-net-rndis=y 54 | CONFIG_PACKAGE_kmod-usb-net-rtl8150=y 55 | CONFIG_PACKAGE_kmod-usb-net-rtl8152=y 56 | CONFIG_PACKAGE_kmod-usb-net-sierrawireless=y 57 | CONFIG_PACKAGE_kmod-usb-net-sr9700=y 58 | CONFIG_PACKAGE_kmod-usb-ohci=y 59 | CONFIG_PACKAGE_kmod-usb-ohci-pci=y 60 | CONFIG_PACKAGE_kmod-usb-storage=y 61 | CONFIG_PACKAGE_kmod-usb-storage-extras=y 62 | CONFIG_PACKAGE_kmod-usb-storage-uas=y 63 | CONFIG_PACKAGE_kmod-usb-uhci=y 64 | CONFIG_PACKAGE_kmod-usb2=y 65 | CONFIG_PACKAGE_kmod-usb2-pci=y 66 | CONFIG_PACKAGE_kmod-usb3=y 67 | 68 | CONFIG_PACKAGE_python3-maxminddb=y 69 | 70 | CONFIG_PACKAGE_luci=y 71 | CONFIG_PACKAGE_luci-app-adblock=y 72 | CONFIG_PACKAGE_luci-app-adbyby-plus=y 73 | CONFIG_PACKAGE_luci-app-adguardhome=y 74 | CONFIG_PACKAGE_luci-app-aria2=y 75 | CONFIG_PACKAGE_luci-app-baidupcs-web=y 76 | CONFIG_PACKAGE_luci-app-brook-server=y 77 | CONFIG_PACKAGE_luci-app-commands=y 78 | CONFIG_PACKAGE_luci-app-control-mia=y 79 | CONFIG_PACKAGE_luci-app-control-timewol=y 80 | CONFIG_PACKAGE_luci-app-control-webrestriction=y 81 | CONFIG_PACKAGE_luci-app-control-weburl=y 82 | CONFIG_PACKAGE_luci-app-ddns=y 83 | CONFIG_PACKAGE_luci-app-diskman=y 84 | CONFIG_PACKAGE_luci-app-dnspod=y 85 | CONFIG_PACKAGE_luci-app-familycloud=y 86 | CONFIG_PACKAGE_luci-app-fileassistant=y 87 | CONFIG_PACKAGE_luci-app-filebrowser=y 88 | CONFIG_PACKAGE_luci-app-firewall=y 89 | CONFIG_PACKAGE_luci-app-frpc=y 90 | CONFIG_PACKAGE_luci-app-guest-wifi=y 91 | CONFIG_PACKAGE_luci-app-hd-idle=y 92 | CONFIG_PACKAGE_luci-app-ipsec-vpnserver-manyusers=y 93 | CONFIG_PACKAGE_luci-app-iptvhelper=y 94 | CONFIG_PACKAGE_luci-app-kodexplorer=y 95 | CONFIG_PACKAGE_luci-app-koolproxyR=y 96 | CONFIG_PACKAGE_luci-app-ksmbd=y 97 | CONFIG_PACKAGE_luci-app-mentohust=y 98 | CONFIG_PACKAGE_luci-app-minidlna=y 99 | CONFIG_PACKAGE_luci-app-mjpg-streamer=y 100 | CONFIG_PACKAGE_luci-app-mwan3=y 101 | CONFIG_PACKAGE_luci-app-mwan3helper=y 102 | CONFIG_PACKAGE_luci-app-n2n_v2=y 103 | CONFIG_PACKAGE_luci-app-netdata=y 104 | CONFIG_PACKAGE_luci-app-nlbwmon=y 105 | CONFIG_PACKAGE_luci-app-nps=y 106 | CONFIG_PACKAGE_luci-app-ntpc=y 107 | CONFIG_PACKAGE_luci-app-oaf=y 108 | CONFIG_PACKAGE_luci-app-onliner=y 109 | CONFIG_PACKAGE_luci-app-openclash=y 110 | CONFIG_PACKAGE_luci-app-openvpn=y 111 | CONFIG_PACKAGE_luci-app-opkg=y 112 | CONFIG_PACKAGE_luci-app-passwall=y 113 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Brook=y 114 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks=y 115 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_ShadowsocksR_socks=y 116 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks_socks=y 117 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Trojan=y 118 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_kcptun=y 119 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_simple-obfs=y 120 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_v2ray-plugin=y 121 | CONFIG_PACKAGE_luci-app-pppoe-server=y 122 | CONFIG_PACKAGE_luci-app-pptp-vpnserver-manyusers=y 123 | CONFIG_PACKAGE_luci-app-ramfree=y 124 | CONFIG_PACKAGE_luci-app-rclone=y 125 | CONFIG_PACKAGE_luci-app-samba=y 126 | CONFIG_PACKAGE_luci-app-serverchan=y 127 | CONFIG_PACKAGE_luci-app-shairplay=y 128 | CONFIG_PACKAGE_luci-app-smartdns=y 129 | CONFIG_PACKAGE_luci-app-softethervpn=y 130 | CONFIG_PACKAGE_luci-app-sqm=y 131 | CONFIG_PACKAGE_luci-app-ssr-python-pro-server=y 132 | CONFIG_PACKAGE_luci-app-statistics=y 133 | CONFIG_PACKAGE_luci-app-syncdial=y 134 | CONFIG_PACKAGE_luci-app-syncthing=y 135 | CONFIG_PACKAGE_luci-app-tinyproxy=y 136 | CONFIG_PACKAGE_luci-app-transmission=y 137 | CONFIG_PACKAGE_luci-app-trojan-server=y 138 | CONFIG_PACKAGE_luci-app-ttyd=y 139 | CONFIG_PACKAGE_luci-app-unblockmusic=y 140 | CONFIG_PACKAGE_luci-app-unblockneteasemusic-mini=y 141 | CONFIG_PACKAGE_luci-app-upnp=y 142 | CONFIG_PACKAGE_luci-app-v2ray-server=y 143 | CONFIG_PACKAGE_luci-app-verysync=y 144 | CONFIG_PACKAGE_luci-app-vsftpd=y 145 | 146 | # CONFIG_PACKAGE_luci-app-vssr=y 147 | # CONFIG_PACKAGE_luci-app-ssr-plus=y 148 | # CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Kcptun=y 149 | # CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Shadowsocks=y 150 | # CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Server=y 151 | # CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Socks=y 152 | # CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Simple_obfs=y 153 | # CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Trojan=y 154 | # CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_V2ray=y 155 | # CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_V2ray_plugin=y 156 | # CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_DNS2SOCKS=y 157 | # CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Redsocks2=y 158 | 159 | CONFIG_PACKAGE_luci-app-watchcat=y 160 | CONFIG_PACKAGE_luci-app-wifischedule=y 161 | CONFIG_PACKAGE_luci-app-wireguard=y 162 | CONFIG_PACKAGE_luci-app-wol=y 163 | CONFIG_PACKAGE_luci-app-zerotier=y 164 | CONFIG_PACKAGE_luci-compat=y 165 | CONFIG_LUCI_LANG_zh_Hans=y 166 | CONFIG_PACKAGE_luci-theme-argon=y 167 | CONFIG_PACKAGE_luci-theme-bootstrap=y 168 | CONFIG_PACKAGE_luci-theme-material=y 169 | CONFIG_PACKAGE_luci-proto-openconnect=y 170 | CONFIG_PACKAGE_luci-lib-ipkg=y 171 | CONFIG_PACKAGE_default-settings=y 172 | 173 | CONFIG_PACKAGE_ariang=y 174 | CONFIG_PACKAGE_rsync=y 175 | CONFIG_PACKAGE_rsyncd=y 176 | CONFIG_PACKAGE_wget=y 177 | CONFIG_PACKAGE_ip6tables-extra=y 178 | CONFIG_PACKAGE_ip6tables-mod-nat=y 179 | CONFIG_PACKAGE_bind-host=y 180 | CONFIG_PACKAGE_ddns-scripts=y 181 | CONFIG_PACKAGE_ddns-scripts_aliyun=y 182 | CONFIG_PACKAGE_ddns-scripts_cloudflare.com-v4=y 183 | CONFIG_PACKAGE_ddns-scripts_dnspod=y 184 | CONFIG_PACKAGE_ddns-scripts_freedns_42_pl=y 185 | CONFIG_PACKAGE_ddns-scripts_godaddy.com-v1=y 186 | CONFIG_PACKAGE_ddns-scripts_no-ip_com=y 187 | CONFIG_PACKAGE_ddns-scripts_nsupdate=y 188 | CONFIG_PACKAGE_ddns-scripts_route53-v1=y 189 | CONFIG_PACKAGE_mentohust=y 190 | CONFIG_PACKAGE_openssh-sftp-client=y 191 | CONFIG_PACKAGE_openssh-sftp-server=y 192 | CONFIG_PACKAGE_openvpn-easy-rsa=y 193 | CONFIG_PACKAGE_openvpn-openssl=y 194 | CONFIG_PACKAGE_xl2tpd=y 195 | CONFIG_PACKAGE_ppp-mod-pptp=y 196 | CONFIG_V2RAY_COMPRESS_UPX=n 197 | 198 | CONFIG_PACKAGE_bsdtar=y 199 | CONFIG_PACKAGE_bzip2=y 200 | CONFIG_PACKAGE_gzip=y 201 | CONFIG_PACKAGE_unzip=y 202 | CONFIG_PACKAGE_zip=y 203 | CONFIG_PACKAGE_fdisk=y 204 | CONFIG_PACKAGE_lsblk=y 205 | CONFIG_PACKAGE_nano=y 206 | CONFIG_PACKAGE_vim=y 207 | CONFIG_PACKAGE_f2fs-tools=y 208 | CONFIG_PACKAGE_fstrim=y 209 | CONFIG_PACKAGE_resize2fs=y 210 | CONFIG_PACKAGE_zsh=y 211 | CONFIG_PACKAGE_screen=y 212 | CONFIG_PACKAGE_subconverter=y 213 | CONFIG_PACKAGE_tmux=y 214 | CONFIG_PACKAGE_tree=y 215 | CONFIG_PACKAGE_usbutils=y 216 | CONFIG_PACKAGE_whereis=y -------------------------------------------------------------------------------- /config/lean/rpi4-lean-openwrt.config: -------------------------------------------------------------------------------- 1 | CONFIG_TARGET_bcm27xx=y 2 | CONFIG_TARGET_bcm27xx_bcm2711=y 3 | CONFIG_TARGET_bcm27xx_bcm2711_DEVICE_rpi-4=y 4 | CONFIG_TARGET_KERNEL_PARTSIZE=64 5 | CONFIG_TARGET_ROOTFS_PARTSIZE=960 6 | CONFIG_TARGET_ROOTFS_TARGZ=y 7 | CONFIG_TARGET_ROOTFS_EXT4FS=y 8 | CONFIG_TARGET_ROOTFS_SQUASHFS=y 9 | 10 | CONFIG_ALL_KMODS=y 11 | CONFIG_IB=y 12 | CONFIG_IB_STANDALONE=y 13 | CONFIG_IMAGEOPT=y 14 | CONFIG_MAKE_TOOLCHAIN=y 15 | CONFIG_SDK=y 16 | 17 | CONFIG_PACKAGE_htop=y 18 | CONFIG_PACKAGE_automount=y 19 | CONFIG_PACKAGE_ipv6helper=m 20 | 21 | CONFIG_PACKAGE_kmod-fs-f2fs=y 22 | CONFIG_PACKAGE_kmod-fs-nfs=y 23 | CONFIG_PACKAGE_kmod-fs-nfs-common=y 24 | CONFIG_PACKAGE_kmod-fs-nfs-common-rpcsec=y 25 | CONFIG_PACKAGE_kmod-fs-nfs-v3=y 26 | CONFIG_PACKAGE_kmod-fs-nfs-v4=y 27 | CONFIG_PACKAGE_kmod-fs-nfsd=y 28 | CONFIG_PACKAGE_kmod-fs-squashfs=y 29 | CONFIG_PACKAGE_kmod-i2c-core=y 30 | CONFIG_PACKAGE_kmod-usb-audio=y 31 | CONFIG_PACKAGE_kmod-usb-net=y 32 | CONFIG_PACKAGE_kmod-usb-net-asix=y 33 | CONFIG_PACKAGE_kmod-usb-net-asix-ax88179=y 34 | CONFIG_PACKAGE_kmod-usb-net-cdc-eem=y 35 | CONFIG_PACKAGE_kmod-usb-net-cdc-ether=y 36 | CONFIG_PACKAGE_kmod-usb-net-cdc-mbim=y 37 | CONFIG_PACKAGE_kmod-usb-net-cdc-ncm=y 38 | CONFIG_PACKAGE_kmod-usb-net-cdc-subset=y 39 | CONFIG_PACKAGE_kmod-usb-net-dm9601-ether=y 40 | CONFIG_PACKAGE_kmod-usb-net-hso=y 41 | CONFIG_PACKAGE_kmod-usb-net-huawei-cdc-ncm=y 42 | CONFIG_PACKAGE_kmod-usb-net-ipheth=y 43 | CONFIG_PACKAGE_kmod-usb-net-kalmia=y 44 | CONFIG_PACKAGE_kmod-usb-net-kaweth=y 45 | CONFIG_PACKAGE_kmod-usb-net-mcs7830=y 46 | CONFIG_PACKAGE_kmod-usb-net-pegasus=y 47 | CONFIG_PACKAGE_kmod-usb-net-pl=y 48 | CONFIG_PACKAGE_kmod-usb-net-qmi-wwan=y 49 | CONFIG_PACKAGE_kmod-usb-net-rndis=y 50 | CONFIG_PACKAGE_kmod-usb-net-rtl8150=y 51 | CONFIG_PACKAGE_kmod-usb-net-rtl8152=y 52 | CONFIG_PACKAGE_kmod-usb-net-sierrawireless=y 53 | CONFIG_PACKAGE_kmod-usb-net-smsc95xx=y 54 | CONFIG_PACKAGE_kmod-usb-net-sr9700=y 55 | CONFIG_PACKAGE_kmod-usb-net2280=y 56 | CONFIG_PACKAGE_kmod-usb-ohci=y 57 | CONFIG_PACKAGE_kmod-usb-ohci-pci=y 58 | CONFIG_PACKAGE_kmod-usb-printer=y 59 | CONFIG_PACKAGE_kmod-usb-storage=y 60 | CONFIG_PACKAGE_kmod-usb-storage-extras=y 61 | CONFIG_PACKAGE_kmod-usb-storage-uas=y 62 | CONFIG_PACKAGE_kmod-usb-uhci=y 63 | CONFIG_PACKAGE_kmod-usb2=y 64 | CONFIG_PACKAGE_kmod-usb2-pci=y 65 | CONFIG_PACKAGE_kmod-usb3=y 66 | CONFIG_PACKAGE_kmod-video-core=y 67 | CONFIG_PACKAGE_kmod-video-uvc=y 68 | 69 | CONFIG_PACKAGE_luci-app-adblock=y 70 | CONFIG_PACKAGE_luci-app-adbyby-plus=n 71 | CONFIG_PACKAGE_luci-app-adguardhome=y 72 | CONFIG_PACKAGE_luci-app-amule=y 73 | CONFIG_PACKAGE_luci-app-airplay2=y 74 | CONFIG_PACKAGE_luci-app-aria2=y 75 | CONFIG_PACKAGE_luci-app-brook-server=y 76 | CONFIG_PACKAGE_luci-app-cifs-mount=y 77 | CONFIG_PACKAGE_luci-app-commands=y 78 | CONFIG_PACKAGE_luci-app-diskman=y 79 | CONFIG_PACKAGE_luci-app-diskman_INCLUDE_btrfs_progs=y 80 | CONFIG_PACKAGE_luci-app-diskman_INCLUDE_lsblk=y 81 | CONFIG_PACKAGE_luci-app-diskman_INCLUDE_mdadm=y 82 | CONFIG_PACKAGE_luci-app-diskman_INCLUDE_kmod_md_raid456=y 83 | CONFIG_PACKAGE_luci-app-diskman_INCLUDE_kmod_md_linear=y 84 | CONFIG_PACKAGE_luci-app-dnspod=y 85 | CONFIG_PACKAGE_luci-app-dockerman=y 86 | CONFIG_PACKAGE_luci-app-familycloud=y 87 | CONFIG_PACKAGE_luci-app-fileassistant=y 88 | CONFIG_PACKAGE_luci-app-filebrowser=y 89 | CONFIG_PACKAGE_luci-app-frpc=y 90 | CONFIG_PACKAGE_luci-app-frps=y 91 | CONFIG_PACKAGE_luci-app-gowebdav=y 92 | CONFIG_PACKAGE_luci-app-guest-wifi=y 93 | CONFIG_PACKAGE_luci-app-haproxy-tcp=y 94 | CONFIG_PACKAGE_luci-app-hd-idle=y 95 | CONFIG_PACKAGE_luci-app-ipsec-vpnserver-manyusers=y 96 | CONFIG_PACKAGE_luci-app-kodexplorer=y 97 | CONFIG_PACKAGE_luci-app-mentohust=y 98 | CONFIG_PACKAGE_luci-app-minidlna=y 99 | CONFIG_PACKAGE_luci-app-mjpg-streamer=y 100 | CONFIG_PACKAGE_luci-app-music-remote-center=y 101 | CONFIG_PACKAGE_luci-app-mwan3=y 102 | CONFIG_PACKAGE_luci-app-mwan3helper=y 103 | CONFIG_PACKAGE_luci-app-n2n_v2=y 104 | CONFIG_PACKAGE_luci-app-netdata=y 105 | CONFIG_PACKAGE_luci-app-nfs=y 106 | CONFIG_PACKAGE_luci-app-nps=y 107 | CONFIG_PACKAGE_luci-app-onliner=y 108 | CONFIG_PACKAGE_luci-app-openclash=y 109 | CONFIG_PACKAGE_luci-app-openvpn-server=y 110 | CONFIG_PACKAGE_luci-app-passwall=y 111 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Brook=y 112 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks=y 113 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_ShadowsocksR_socks=y 114 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks_socks=y 115 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Trojan=y 116 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_dns2socks=y 117 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_kcptun=y 118 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_simple-obfs=y 119 | CONFIG_PACKAGE_luci-app-pppoe-server=y 120 | CONFIG_PACKAGE_luci-app-pptp-vpnserver-manyusers=y 121 | CONFIG_PACKAGE_luci-app-ps3netsrv=y 122 | CONFIG_PACKAGE_luci-app-rclone=y 123 | CONFIG_PACKAGE_luci-app-samba=y 124 | CONFIG_PACKAGE_luci-app-serverchan=y 125 | CONFIG_PACKAGE_luci-app-shairplay=y 126 | CONFIG_PACKAGE_luci-app-smartdns=y 127 | CONFIG_PACKAGE_luci-app-softethervpn=y 128 | CONFIG_PACKAGE_luci-app-sqm=y 129 | CONFIG_PACKAGE_luci-app-ssr-plus=y 130 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Kcptun=y 131 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Shadowsocks=y 132 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Server=y 133 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Socks=y 134 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Simple_obfs=y 135 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Trojan=y 136 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_V2ray=y 137 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_V2ray_plugin=y 138 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_DNS2SOCKS=y 139 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Redsocks2=y 140 | CONFIG_PACKAGE_luci-app-ssr-python-pro-server=y 141 | CONFIG_PACKAGE_luci-app-syncdial=y 142 | CONFIG_PACKAGE_luci-app-syncthing=y 143 | CONFIG_PACKAGE_luci-app-tinyproxy=y 144 | CONFIG_PACKAGE_luci-app-transmission=y 145 | CONFIG_PACKAGE_luci-app-trojan-server=y 146 | CONFIG_PACKAGE_luci-app-ttyd=y 147 | CONFIG_PACKAGE_luci-app-unblockmusic=y 148 | CONFIG_UnblockNeteaseMusic_Go=y 149 | CONFIG_UnblockNeteaseMusic_NodeJS=y 150 | CONFIG_PACKAGE_luci-app-usb-printer=y 151 | CONFIG_PACKAGE_luci-app-v2ray-server=y 152 | CONFIG_PACKAGE_luci-app-vnstat=y 153 | CONFIG_PACKAGE_luci-app-watchcat=y 154 | CONFIG_PACKAGE_luci-app-webadmin=y 155 | CONFIG_PACKAGE_luci-app-wifischedule=y 156 | CONFIG_PACKAGE_luci-app-wireguard=y 157 | CONFIG_PACKAGE_luci-app-wrtbwmon=y 158 | CONFIG_PACKAGE_luci-app-xlnetacc=y 159 | CONFIG_PACKAGE_luci-app-zerotier=y 160 | CONFIG_PACKAGE_luci-udptools=y 161 | CONFIG_PACKAGE_luci-proto-openconnect=y 162 | CONFIG_PACKAGE_luci-theme-argon=y 163 | CONFIG_PACKAGE_luci-theme-material=y 164 | 165 | CONFIG_PACKAGE_ariang=y 166 | CONFIG_PACKAGE_rsync=y 167 | CONFIG_PACKAGE_rsyncd=y 168 | CONFIG_PACKAGE_bind-host=y 169 | CONFIG_PACKAGE_mentohust=y 170 | CONFIG_PACKAGE_openssh-sftp-client=y 171 | CONFIG_PACKAGE_openssh-sftp-server=y 172 | CONFIG_PACKAGE_xl2tpd=y 173 | CONFIG_PACKAGE_ppp-mod-pptp=y 174 | CONFIG_V2RAY_COMPRESS_UPX=n 175 | CONFIG_PACKAGE_ip6tables-extra=m 176 | CONFIG_PACKAGE_ip6tables-mod-nat=m 177 | 178 | CONFIG_PACKAGE_bsdtar=y 179 | CONFIG_PACKAGE_bzip2=y 180 | CONFIG_PACKAGE_e2fsprogs=y 181 | CONFIG_PACKAGE_gzip=y 182 | CONFIG_PACKAGE_unzip=y 183 | CONFIG_PACKAGE_zip=y 184 | CONFIG_PACKAGE_fdisk=y 185 | CONFIG_PACKAGE_fstrim=y 186 | CONFIG_PACKAGE_gpioctl-sysfs=y 187 | CONFIG_PACKAGE_gpiod-tools=y 188 | CONFIG_PACKAGE_i2c-tools=y 189 | CONFIG_PACKAGE_irqbalance=y 190 | CONFIG_PACKAGE_lsblk=y 191 | CONFIG_PACKAGE_lscpu=y 192 | CONFIG_PACKAGE_nano=y 193 | CONFIG_PACKAGE_vim-full=y 194 | CONFIG_PACKAGE_f2fs-tools=y 195 | CONFIG_PACKAGE_f2fsck=y 196 | CONFIG_PACKAGE_resize2fs=y 197 | CONFIG_PACKAGE_zsh=y 198 | CONFIG_PACKAGE_screen=y 199 | CONFIG_PACKAGE_tmux=y 200 | CONFIG_PACKAGE_docker-ce=y 201 | CONFIG_DOCKER_KERNEL_OPTIONS=y 202 | CONFIG_DOCKER_NET_ENCRYPT=y 203 | CONFIG_DOCKER_NET_MACVLAN=y 204 | CONFIG_DOCKER_NET_OVERLAY=y 205 | CONFIG_DOCKER_NET_TFTP=y 206 | CONFIG_DOCKER_RES_SHAPE=y 207 | CONFIG_DOCKER_SECCOMP=y 208 | CONFIG_DOCKER_STO_BTRFS=y 209 | CONFIG_DOCKER_STO_EXT4=y 210 | CONFIG_PACKAGE_tree=y 211 | CONFIG_PACKAGE_usbutils=y 212 | CONFIG_PACKAGE_whereis=y 213 | CONFIG_PACKAGE_gotop=y 214 | CONFIG_PACKAGE_tmate=y 215 | CONFIG_PACKAGE_udp2raw=y 216 | CONFIG_PACKAGE_udpspeeder=y 217 | 218 | CONFIG_PACKAGE_kmod-usb-serial=y 219 | CONFIG_PACKAGE_kmod-usb-serial-option=y 220 | CONFIG_PACKAGE_kmod-usb-serial-wwan=y 221 | CONFIG_PACKAGE_usb-modeswitch=y 222 | CONFIG_PACKAGE_kmod-mii=y 223 | CONFIG_PACKAGE_luci-proto-qmi=y 224 | CONFIG_PACKAGE_qmi-utils=y 225 | CONFIG_PACKAGE_umbim=y 226 | CONFIG_PACKAGE_uqmi=y 227 | CONFIG_PACKAGE_comgt-ncm=y 228 | CONFIG_PACKAGE_luci-proto-ncm=y 229 | CONFIG_PACKAGE_comgt=y 230 | CONFIG_PACKAGE_kmod-usb-acm=y 231 | CONFIG_PACKAGE_luci-proto-3g=y 232 | 233 | -------------------------------------------------------------------------------- /config/lean/rpi3-lean-openwrt.config: -------------------------------------------------------------------------------- 1 | CONFIG_TARGET_bcm27xx=y 2 | CONFIG_TARGET_bcm27xx_bcm2710=y 3 | CONFIG_TARGET_bcm27xx_bcm2710_DEVICE_rpi-3=y 4 | CONFIG_TARGET_KERNEL_PARTSIZE=64 5 | CONFIG_TARGET_ROOTFS_PARTSIZE=960 6 | CONFIG_TARGET_ROOTFS_TARGZ=y 7 | CONFIG_TARGET_ROOTFS_EXT4FS=y 8 | CONFIG_TARGET_ROOTFS_SQUASHFS=y 9 | 10 | CONFIG_ALL_KMODS=y 11 | CONFIG_IB=y 12 | CONFIG_IB_STANDALONE=y 13 | CONFIG_IMAGEOPT=y 14 | CONFIG_MAKE_TOOLCHAIN=y 15 | CONFIG_SDK=y 16 | 17 | CONFIG_PACKAGE_htop=y 18 | CONFIG_PACKAGE_automount=y 19 | CONFIG_PACKAGE_ipv6helper=m 20 | 21 | CONFIG_PACKAGE_kmod-fs-f2fs=y 22 | CONFIG_PACKAGE_kmod-fs-nfs=y 23 | CONFIG_PACKAGE_kmod-fs-nfs-common=y 24 | CONFIG_PACKAGE_kmod-fs-nfs-common-rpcsec=y 25 | CONFIG_PACKAGE_kmod-fs-nfs-v3=y 26 | CONFIG_PACKAGE_kmod-fs-nfs-v4=y 27 | CONFIG_PACKAGE_kmod-fs-nfsd=y 28 | CONFIG_PACKAGE_kmod-fs-squashfs=y 29 | CONFIG_PACKAGE_kmod-i2c-core=y 30 | CONFIG_PACKAGE_kmod-usb-audio=y 31 | CONFIG_PACKAGE_kmod-usb-net=y 32 | CONFIG_PACKAGE_kmod-usb-net-asix=y 33 | CONFIG_PACKAGE_kmod-usb-net-asix-ax88179=y 34 | CONFIG_PACKAGE_kmod-usb-net-cdc-eem=y 35 | CONFIG_PACKAGE_kmod-usb-net-cdc-ether=y 36 | CONFIG_PACKAGE_kmod-usb-net-cdc-mbim=y 37 | CONFIG_PACKAGE_kmod-usb-net-cdc-ncm=y 38 | CONFIG_PACKAGE_kmod-usb-net-cdc-subset=y 39 | CONFIG_PACKAGE_kmod-usb-net-dm9601-ether=y 40 | CONFIG_PACKAGE_kmod-usb-net-hso=y 41 | CONFIG_PACKAGE_kmod-usb-net-huawei-cdc-ncm=y 42 | CONFIG_PACKAGE_kmod-usb-net-ipheth=y 43 | CONFIG_PACKAGE_kmod-usb-net-kalmia=y 44 | CONFIG_PACKAGE_kmod-usb-net-kaweth=y 45 | CONFIG_PACKAGE_kmod-usb-net-mcs7830=y 46 | CONFIG_PACKAGE_kmod-usb-net-pegasus=y 47 | CONFIG_PACKAGE_kmod-usb-net-pl=y 48 | CONFIG_PACKAGE_kmod-usb-net-qmi-wwan=y 49 | CONFIG_PACKAGE_kmod-usb-net-rndis=y 50 | CONFIG_PACKAGE_kmod-usb-net-rtl8150=y 51 | CONFIG_PACKAGE_kmod-usb-net-rtl8152=y 52 | CONFIG_PACKAGE_kmod-usb-net-sierrawireless=y 53 | CONFIG_PACKAGE_kmod-usb-net-smsc95xx=y 54 | CONFIG_PACKAGE_kmod-usb-net-sr9700=y 55 | CONFIG_PACKAGE_kmod-usb-net2280=y 56 | CONFIG_PACKAGE_kmod-usb-ohci=y 57 | CONFIG_PACKAGE_kmod-usb-ohci-pci=y 58 | CONFIG_PACKAGE_kmod-usb-printer=y 59 | CONFIG_PACKAGE_kmod-usb-storage=y 60 | CONFIG_PACKAGE_kmod-usb-storage-extras=y 61 | CONFIG_PACKAGE_kmod-usb-storage-uas=y 62 | CONFIG_PACKAGE_kmod-usb-uhci=y 63 | CONFIG_PACKAGE_kmod-usb2=y 64 | CONFIG_PACKAGE_kmod-usb2-pci=y 65 | CONFIG_PACKAGE_kmod-usb3=y 66 | CONFIG_PACKAGE_kmod-video-core=y 67 | CONFIG_PACKAGE_kmod-video-uvc=y 68 | 69 | CONFIG_PACKAGE_luci-app-adblock=y 70 | CONFIG_PACKAGE_luci-app-adbyby-plus=n 71 | CONFIG_PACKAGE_luci-app-adguardhome=y 72 | CONFIG_PACKAGE_luci-app-amule=y 73 | CONFIG_PACKAGE_luci-app-airplay2=y 74 | CONFIG_PACKAGE_luci-app-aria2=y 75 | CONFIG_PACKAGE_luci-app-brook-server=y 76 | CONFIG_PACKAGE_luci-app-cifs-mount=y 77 | CONFIG_PACKAGE_luci-app-commands=y 78 | CONFIG_PACKAGE_luci-app-diskman=y 79 | CONFIG_PACKAGE_luci-app-diskman_INCLUDE_btrfs_progs=y 80 | CONFIG_PACKAGE_luci-app-diskman_INCLUDE_lsblk=y 81 | CONFIG_PACKAGE_luci-app-diskman_INCLUDE_mdadm=y 82 | CONFIG_PACKAGE_luci-app-diskman_INCLUDE_kmod_md_raid456=y 83 | CONFIG_PACKAGE_luci-app-diskman_INCLUDE_kmod_md_linear=y 84 | CONFIG_PACKAGE_luci-app-dnspod=y 85 | CONFIG_PACKAGE_luci-app-dockerman=y 86 | CONFIG_PACKAGE_luci-app-familycloud=y 87 | CONFIG_PACKAGE_luci-app-fileassistant=y 88 | CONFIG_PACKAGE_luci-app-filebrowser=y 89 | CONFIG_PACKAGE_luci-app-frpc=y 90 | CONFIG_PACKAGE_luci-app-frps=y 91 | CONFIG_PACKAGE_luci-app-gowebdav=y 92 | CONFIG_PACKAGE_luci-app-guest-wifi=y 93 | CONFIG_PACKAGE_luci-app-haproxy-tcp=y 94 | CONFIG_PACKAGE_luci-app-hd-idle=y 95 | CONFIG_PACKAGE_luci-app-ipsec-vpnserver-manyusers=y 96 | CONFIG_PACKAGE_luci-app-kodexplorer=y 97 | CONFIG_PACKAGE_luci-app-mentohust=y 98 | CONFIG_PACKAGE_luci-app-minidlna=y 99 | CONFIG_PACKAGE_luci-app-mjpg-streamer=y 100 | CONFIG_PACKAGE_luci-app-music-remote-center=y 101 | CONFIG_PACKAGE_luci-app-mwan3=y 102 | CONFIG_PACKAGE_luci-app-mwan3helper=y 103 | CONFIG_PACKAGE_luci-app-n2n_v2=y 104 | CONFIG_PACKAGE_luci-app-netdata=y 105 | CONFIG_PACKAGE_luci-app-nfs=y 106 | CONFIG_PACKAGE_luci-app-nps=y 107 | CONFIG_PACKAGE_luci-app-onliner=y 108 | CONFIG_PACKAGE_luci-app-openclash=y 109 | CONFIG_PACKAGE_luci-app-openvpn-server=y 110 | CONFIG_PACKAGE_luci-app-passwall=y 111 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Brook=y 112 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks=y 113 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_ShadowsocksR_socks=y 114 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks_socks=y 115 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Trojan=y 116 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_dns2socks=y 117 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_kcptun=y 118 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_simple-obfs=y 119 | CONFIG_PACKAGE_luci-app-pppoe-server=y 120 | CONFIG_PACKAGE_luci-app-pptp-vpnserver-manyusers=y 121 | CONFIG_PACKAGE_luci-app-ps3netsrv=y 122 | CONFIG_PACKAGE_luci-app-rclone=y 123 | CONFIG_PACKAGE_luci-app-samba=y 124 | CONFIG_PACKAGE_luci-app-serverchan=y 125 | CONFIG_PACKAGE_luci-app-shairplay=y 126 | CONFIG_PACKAGE_luci-app-smartdns=y 127 | CONFIG_PACKAGE_luci-app-softethervpn=y 128 | CONFIG_PACKAGE_luci-app-sqm=y 129 | CONFIG_PACKAGE_luci-app-ssr-plus=y 130 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Kcptun=y 131 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Shadowsocks=y 132 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Server=y 133 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Socks=y 134 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Simple_obfs=y 135 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Trojan=y 136 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_V2ray=y 137 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_V2ray_plugin=y 138 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_DNS2SOCKS=y 139 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Redsocks2=y 140 | CONFIG_PACKAGE_luci-app-ssr-python-pro-server=y 141 | CONFIG_PACKAGE_luci-app-syncdial=y 142 | CONFIG_PACKAGE_luci-app-syncthing=y 143 | CONFIG_PACKAGE_luci-app-tinyproxy=y 144 | CONFIG_PACKAGE_luci-app-transmission=y 145 | CONFIG_PACKAGE_luci-app-trojan-server=y 146 | CONFIG_PACKAGE_luci-app-ttyd=y 147 | CONFIG_PACKAGE_luci-app-unblockmusic=y 148 | CONFIG_UnblockNeteaseMusic_Go=y 149 | CONFIG_UnblockNeteaseMusic_NodeJS=y 150 | CONFIG_PACKAGE_luci-app-usb-printer=y 151 | CONFIG_PACKAGE_luci-app-v2ray-server=y 152 | CONFIG_PACKAGE_luci-app-vnstat=y 153 | CONFIG_PACKAGE_luci-app-watchcat=y 154 | CONFIG_PACKAGE_luci-app-webadmin=y 155 | CONFIG_PACKAGE_luci-app-wifischedule=y 156 | CONFIG_PACKAGE_luci-app-wireguard=y 157 | CONFIG_PACKAGE_luci-app-wrtbwmon=y 158 | CONFIG_PACKAGE_luci-app-xlnetacc=y 159 | CONFIG_PACKAGE_luci-app-zerotier=y 160 | CONFIG_PACKAGE_luci-udptools=y 161 | CONFIG_PACKAGE_luci-proto-openconnect=y 162 | CONFIG_PACKAGE_luci-theme-argon=y 163 | CONFIG_PACKAGE_luci-theme-material=y 164 | 165 | CONFIG_PACKAGE_ariang=y 166 | CONFIG_PACKAGE_rsync=y 167 | CONFIG_PACKAGE_rsyncd=y 168 | CONFIG_PACKAGE_bind-host=y 169 | CONFIG_PACKAGE_mentohust=y 170 | CONFIG_PACKAGE_openssh-sftp-client=y 171 | CONFIG_PACKAGE_openssh-sftp-server=y 172 | CONFIG_PACKAGE_xl2tpd=y 173 | CONFIG_PACKAGE_ppp-mod-pptp=y 174 | CONFIG_V2RAY_COMPRESS_UPX=n 175 | CONFIG_PACKAGE_ip6tables-extra=m 176 | CONFIG_PACKAGE_ip6tables-mod-nat=m 177 | 178 | CONFIG_PACKAGE_bsdtar=y 179 | CONFIG_PACKAGE_bzip2=y 180 | CONFIG_PACKAGE_e2fsprogs=y 181 | CONFIG_PACKAGE_gzip=y 182 | CONFIG_PACKAGE_unzip=y 183 | CONFIG_PACKAGE_zip=y 184 | CONFIG_PACKAGE_fdisk=y 185 | CONFIG_PACKAGE_fstrim=y 186 | CONFIG_PACKAGE_gpioctl-sysfs=y 187 | CONFIG_PACKAGE_gpiod-tools=y 188 | CONFIG_PACKAGE_i2c-tools=y 189 | CONFIG_PACKAGE_irqbalance=y 190 | CONFIG_PACKAGE_lscpu=y 191 | CONFIG_PACKAGE_lsblk=y 192 | CONFIG_PACKAGE_nano=y 193 | CONFIG_PACKAGE_vim-full=y 194 | CONFIG_PACKAGE_f2fs-tools=y 195 | CONFIG_PACKAGE_f2fsck=y 196 | CONFIG_PACKAGE_resize2fs=y 197 | CONFIG_PACKAGE_zsh=y 198 | CONFIG_PACKAGE_screen=y 199 | CONFIG_PACKAGE_tmux=y 200 | CONFIG_PACKAGE_docker-ce=y 201 | CONFIG_DOCKER_KERNEL_OPTIONS=y 202 | CONFIG_DOCKER_NET_ENCRYPT=y 203 | CONFIG_DOCKER_NET_MACVLAN=y 204 | CONFIG_DOCKER_NET_OVERLAY=y 205 | CONFIG_DOCKER_NET_TFTP=y 206 | CONFIG_DOCKER_RES_SHAPE=y 207 | CONFIG_DOCKER_SECCOMP=y 208 | CONFIG_DOCKER_STO_BTRFS=y 209 | CONFIG_DOCKER_STO_EXT4=y 210 | CONFIG_PACKAGE_tree=y 211 | CONFIG_PACKAGE_usbutils=y 212 | CONFIG_PACKAGE_whereis=y 213 | CONFIG_PACKAGE_gotop=y 214 | CONFIG_PACKAGE_subconverter=y 215 | CONFIG_PACKAGE_tmate=y 216 | CONFIG_PACKAGE_udp2raw=y 217 | CONFIG_PACKAGE_udpspeeder=y 218 | 219 | CONFIG_PACKAGE_kmod-usb-serial=y 220 | CONFIG_PACKAGE_kmod-usb-serial-option=y 221 | CONFIG_PACKAGE_kmod-usb-serial-wwan=y 222 | CONFIG_PACKAGE_usb-modeswitch=y 223 | CONFIG_PACKAGE_kmod-mii=y 224 | CONFIG_PACKAGE_luci-proto-qmi=y 225 | CONFIG_PACKAGE_qmi-utils=y 226 | CONFIG_PACKAGE_umbim=y 227 | CONFIG_PACKAGE_uqmi=y 228 | CONFIG_PACKAGE_comgt-ncm=y 229 | CONFIG_PACKAGE_luci-proto-ncm=y 230 | CONFIG_PACKAGE_comgt=y 231 | CONFIG_PACKAGE_kmod-usb-acm=y 232 | CONFIG_PACKAGE_luci-proto-3g=y 233 | -------------------------------------------------------------------------------- /config/old/rpi3-offical-openwrt.config: -------------------------------------------------------------------------------- 1 | CONFIG_TARGET_brcm2708=y 2 | CONFIG_TARGET_brcm2708_bcm2710=y 3 | CONFIG_TARGET_brcm2708_bcm2710_DEVICE_rpi-3=y 4 | CONFIG_TARGET_KERNEL_PARTSIZE=50 5 | CONFIG_TARGET_ROOTFS_PARTSIZE=2000 6 | CONFIG_TARGET_ROOTFS_TARGZ=y 7 | CONFIG_TARGET_ROOTFS_EXT4FS=y 8 | CONFIG_TARGET_ROOTFS_SQUASHFS=y 9 | 10 | # CONFIG_FEED_lienol is not set 11 | CONFIG_IB=y 12 | CONFIG_IB_STANDALONE=y 13 | CONFIG_IMAGEOPT=y 14 | CONFIG_MAKE_TOOLCHAIN=y 15 | CONFIG_SDK=y 16 | 17 | CONFIG_PACKAGE_htop=y 18 | CONFIG_PACKAGE_sudo=y 19 | CONFIG_PACKAGE_automount=y 20 | 21 | CONFIG_PACKAGE_dnsmasq=n 22 | 23 | CONFIG_PACKAGE_kmod-fs-exfat=y 24 | CONFIG_PACKAGE_kmod-fs-ext4=y 25 | CONFIG_PACKAGE_kmod-fs-f2fs=y 26 | CONFIG_PACKAGE_kmod-fs-nfs=y 27 | CONFIG_PACKAGE_kmod-fs-nfs-common=y 28 | CONFIG_PACKAGE_kmod-fs-nfs-common-rpcsec=y 29 | CONFIG_PACKAGE_kmod-fs-nfs-v3=y 30 | CONFIG_PACKAGE_kmod-fs-nfs-v4=y 31 | CONFIG_PACKAGE_kmod-fs-nfsd=y 32 | CONFIG_PACKAGE_kmod-fs-ntfs=y 33 | CONFIG_PACKAGE_kmod-fs-squashfs=y 34 | CONFIG_PACKAGE_kmod-fs-vfat=y 35 | CONFIG_PACKAGE_kmod-usb-net=y 36 | CONFIG_PACKAGE_kmod-usb-net-asix=y 37 | CONFIG_PACKAGE_kmod-usb-net-asix-ax88179=y 38 | CONFIG_PACKAGE_kmod-usb-net-cdc-eem=y 39 | CONFIG_PACKAGE_kmod-usb-net-cdc-ether=y 40 | CONFIG_PACKAGE_kmod-usb-net-cdc-mbim=y 41 | CONFIG_PACKAGE_kmod-usb-net-cdc-ncm=y 42 | CONFIG_PACKAGE_kmod-usb-net-cdc-subset=y 43 | CONFIG_PACKAGE_kmod-usb-net-dm9601-ether=y 44 | CONFIG_PACKAGE_kmod-usb-net-hso=y 45 | CONFIG_PACKAGE_kmod-usb-net-huawei-cdc-ncm=y 46 | CONFIG_PACKAGE_kmod-usb-net-ipheth=y 47 | CONFIG_PACKAGE_kmod-usb-net-kalmia=y 48 | CONFIG_PACKAGE_kmod-usb-net-kaweth=y 49 | CONFIG_PACKAGE_kmod-usb-net-mcs7830=y 50 | CONFIG_PACKAGE_kmod-usb-net-pegasus=y 51 | CONFIG_PACKAGE_kmod-usb-net-pl=y 52 | CONFIG_PACKAGE_kmod-usb-net-qmi-wwan=y 53 | CONFIG_PACKAGE_kmod-usb-net-rndis=y 54 | CONFIG_PACKAGE_kmod-usb-net-rtl8150=y 55 | CONFIG_PACKAGE_kmod-usb-net-rtl8152=y 56 | CONFIG_PACKAGE_kmod-usb-net-sierrawireless=y 57 | CONFIG_PACKAGE_kmod-usb-net-sr9700=y 58 | CONFIG_PACKAGE_kmod-usb-ohci=y 59 | CONFIG_PACKAGE_kmod-usb-ohci-pci=y 60 | CONFIG_PACKAGE_kmod-usb-storage=y 61 | CONFIG_PACKAGE_kmod-usb-storage-extras=y 62 | CONFIG_PACKAGE_kmod-usb-storage-uas=y 63 | CONFIG_PACKAGE_kmod-usb-uhci=y 64 | CONFIG_PACKAGE_kmod-usb2=y 65 | CONFIG_PACKAGE_kmod-usb2-pci=y 66 | CONFIG_PACKAGE_kmod-usb3=y 67 | 68 | CONFIG_PACKAGE_python3-maxminddb=y 69 | 70 | CONFIG_PACKAGE_luci=y 71 | CONFIG_PACKAGE_luci-app-adblock=y 72 | CONFIG_PACKAGE_luci-app-adbyby-plus=y 73 | CONFIG_PACKAGE_luci-app-adguardhome=y 74 | CONFIG_PACKAGE_luci-app-aria2=y 75 | CONFIG_PACKAGE_luci-app-baidupcs-web=y 76 | CONFIG_PACKAGE_luci-app-brook-server=y 77 | CONFIG_PACKAGE_luci-app-commands=y 78 | CONFIG_PACKAGE_luci-app-control-mia=y 79 | CONFIG_PACKAGE_luci-app-control-timewol=y 80 | CONFIG_PACKAGE_luci-app-control-webrestriction=y 81 | CONFIG_PACKAGE_luci-app-control-weburl=y 82 | CONFIG_PACKAGE_luci-app-ddns=y 83 | CONFIG_PACKAGE_luci-app-diskman=y 84 | CONFIG_PACKAGE_luci-app-dnspod=y 85 | CONFIG_PACKAGE_luci-app-familycloud=y 86 | CONFIG_PACKAGE_luci-app-fileassistant=y 87 | CONFIG_PACKAGE_luci-app-filebrowser=y 88 | CONFIG_PACKAGE_luci-app-firewall=y 89 | CONFIG_PACKAGE_luci-app-frpc=y 90 | CONFIG_PACKAGE_luci-app-guest-wifi=y 91 | CONFIG_PACKAGE_luci-app-hd-idle=y 92 | CONFIG_PACKAGE_luci-app-ipsec-vpnserver-manyusers=y 93 | CONFIG_PACKAGE_luci-app-iptvhelper=y 94 | CONFIG_PACKAGE_luci-app-kodexplorer=y 95 | CONFIG_PACKAGE_luci-app-koolproxyR=y 96 | CONFIG_PACKAGE_luci-app-ksmbd=y 97 | CONFIG_PACKAGE_luci-app-mentohust=y 98 | CONFIG_PACKAGE_luci-app-minidlna=y 99 | CONFIG_PACKAGE_luci-app-mjpg-streamer=y 100 | CONFIG_PACKAGE_luci-app-mwan3=y 101 | CONFIG_PACKAGE_luci-app-mwan3helper=y 102 | CONFIG_PACKAGE_luci-app-n2n_v2=y 103 | CONFIG_PACKAGE_luci-app-netdata=y 104 | CONFIG_PACKAGE_luci-app-nlbwmon=y 105 | CONFIG_PACKAGE_luci-app-nps=y 106 | CONFIG_PACKAGE_luci-app-ntpc=y 107 | CONFIG_PACKAGE_luci-app-oaf=y 108 | CONFIG_PACKAGE_luci-app-onliner=y 109 | CONFIG_PACKAGE_luci-app-openclash=y 110 | CONFIG_PACKAGE_luci-app-openvpn=y 111 | CONFIG_PACKAGE_luci-app-opkg=y 112 | CONFIG_PACKAGE_luci-app-passwall=y 113 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Brook=y 114 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks=y 115 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_ShadowsocksR_socks=y 116 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks_socks=y 117 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Trojan=y 118 | # CONFIG_PACKAGE_luci-app-passwall_INCLUDE_kcptun=y 119 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_simple-obfs=y 120 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_v2ray-plugin=y 121 | CONFIG_PACKAGE_luci-app-pppoe-server=y 122 | CONFIG_PACKAGE_luci-app-pptp-vpnserver-manyusers=y 123 | CONFIG_PACKAGE_luci-app-ramfree=y 124 | CONFIG_PACKAGE_luci-app-rclone=y 125 | CONFIG_PACKAGE_luci-app-samba=y 126 | CONFIG_PACKAGE_luci-app-serverchan=y 127 | CONFIG_PACKAGE_luci-app-shairplay=y 128 | CONFIG_PACKAGE_luci-app-smartdns=y 129 | CONFIG_PACKAGE_luci-app-softethervpn=y 130 | CONFIG_PACKAGE_luci-app-sqm=y 131 | CONFIG_PACKAGE_luci-app-ssr-python-pro-server=y 132 | CONFIG_PACKAGE_luci-app-statistics=y 133 | CONFIG_PACKAGE_luci-app-syncdial=y 134 | CONFIG_PACKAGE_luci-app-syncthing=y 135 | CONFIG_PACKAGE_luci-app-tinyproxy=y 136 | CONFIG_PACKAGE_luci-app-transmission=y 137 | CONFIG_PACKAGE_luci-app-trojan-server=y 138 | CONFIG_PACKAGE_luci-app-ttyd=y 139 | CONFIG_PACKAGE_luci-app-unblockmusic=y 140 | CONFIG_PACKAGE_luci-app-unblockneteasemusic-mini=y 141 | CONFIG_PACKAGE_luci-app-upnp=y 142 | CONFIG_PACKAGE_luci-app-v2ray-server=y 143 | CONFIG_PACKAGE_luci-app-verysync=y 144 | CONFIG_PACKAGE_luci-app-vsftpd=y 145 | 146 | # CONFIG_PACKAGE_luci-app-docker=y 147 | # CONFIG_PACKAGE_luci-app-dockerman=y 148 | # CONFIG_PACKAGE_luci-lib-docker=y 149 | 150 | # CONFIG_PACKAGE_luci-app-vssr=y 151 | # CONFIG_PACKAGE_luci-app-ssr-plus=y 152 | # CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Kcptun=y 153 | # CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Shadowsocks=y 154 | # CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Server=y 155 | # CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Socks=y 156 | # CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Simple_obfs=y 157 | # CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Trojan=y 158 | # CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_V2ray=y 159 | # CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_V2ray_plugin=y 160 | # CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_DNS2SOCKS=y 161 | # CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Redsocks2=y 162 | 163 | CONFIG_PACKAGE_luci-app-watchcat=y 164 | CONFIG_PACKAGE_luci-app-wifischedule=y 165 | CONFIG_PACKAGE_luci-app-wireguard=y 166 | CONFIG_PACKAGE_luci-app-wol=y 167 | CONFIG_PACKAGE_luci-app-zerotier=y 168 | CONFIG_PACKAGE_luci-compat=y 169 | CONFIG_LUCI_LANG_zh_Hans=y 170 | CONFIG_PACKAGE_luci-theme-argon=y 171 | CONFIG_PACKAGE_luci-theme-bootstrap=y 172 | CONFIG_PACKAGE_luci-theme-material=y 173 | CONFIG_PACKAGE_luci-proto-openconnect=y 174 | CONFIG_PACKAGE_luci-lib-ipkg=y 175 | CONFIG_PACKAGE_default-settings=y 176 | 177 | # CONFIG_PACKAGE_docker-ce=y 178 | # CONFIG_DOCKER_KERNEL_OPTIONS=y 179 | # CONFIG_DOCKER_NET_ENCRYPT=y 180 | # CONFIG_DOCKER_NET_MACVLAN=y 181 | # CONFIG_DOCKER_NET_OVERLAY=y 182 | # CONFIG_DOCKER_NET_TFTP=y 183 | # CONFIG_DOCKER_RES_SHAPE=y 184 | # CONFIG_DOCKER_SECCOMP=y 185 | # CONFIG_DOCKER_STO_BTRFS=y 186 | # CONFIG_DOCKER_STO_EXT4=y 187 | 188 | CONFIG_PACKAGE_transmission=y 189 | CONFIG_PACKAGE_transmission-web-control=y 190 | CONFIG_PACKAGE_ariang=y 191 | CONFIG_PACKAGE_rsync=y 192 | CONFIG_PACKAGE_rsyncd=y 193 | CONFIG_PACKAGE_wget=y 194 | CONFIG_PACKAGE_ip6tables-extra=y 195 | CONFIG_PACKAGE_ip6tables-mod-nat=y 196 | CONFIG_PACKAGE_bind-host=y 197 | CONFIG_PACKAGE_ddns-scripts=y 198 | CONFIG_PACKAGE_ddns-scripts_aliyun=y 199 | CONFIG_PACKAGE_ddns-scripts_cloudflare.com-v4=y 200 | CONFIG_PACKAGE_ddns-scripts_dnspod=y 201 | CONFIG_PACKAGE_ddns-scripts_freedns_42_pl=y 202 | CONFIG_PACKAGE_ddns-scripts_godaddy.com-v1=y 203 | CONFIG_PACKAGE_ddns-scripts_no-ip_com=y 204 | CONFIG_PACKAGE_ddns-scripts_nsupdate=y 205 | CONFIG_PACKAGE_ddns-scripts_route53-v1=y 206 | CONFIG_PACKAGE_mentohust=y 207 | CONFIG_PACKAGE_openssh-sftp-client=y 208 | CONFIG_PACKAGE_openssh-sftp-server=y 209 | CONFIG_PACKAGE_openvpn-easy-rsa=y 210 | CONFIG_PACKAGE_openvpn-openssl=y 211 | CONFIG_PACKAGE_xl2tpd=y 212 | CONFIG_PACKAGE_ppp-mod-pptp=y 213 | CONFIG_V2RAY_COMPRESS_UPX=n 214 | 215 | CONFIG_PACKAGE_bsdtar=y 216 | CONFIG_PACKAGE_bzip2=y 217 | CONFIG_PACKAGE_gzip=y 218 | CONFIG_PACKAGE_unzip=y 219 | CONFIG_PACKAGE_zip=y 220 | CONFIG_PACKAGE_fdisk=y 221 | CONFIG_PACKAGE_lsblk=y 222 | CONFIG_PACKAGE_nano=y 223 | CONFIG_PACKAGE_vim=y 224 | CONFIG_PACKAGE_f2fs-tools=y 225 | CONFIG_PACKAGE_fstrim=y 226 | CONFIG_PACKAGE_resize2fs=y 227 | CONFIG_PACKAGE_zsh=y 228 | CONFIG_PACKAGE_screen=y 229 | CONFIG_PACKAGE_subconverter=y 230 | CONFIG_PACKAGE_tmux=y 231 | CONFIG_PACKAGE_tree=y 232 | CONFIG_PACKAGE_usbutils=y 233 | CONFIG_PACKAGE_whereis=y 234 | 235 | # add vssr - openwrt tag v19.07.2 236 | -------------------------------------------------------------------------------- /config/offical-19.07/rpi4-offical-openwrt.config: -------------------------------------------------------------------------------- 1 | CONFIG_TARGET_brcm2708=y 2 | CONFIG_TARGET_brcm2708_bcm2710=y 3 | CONFIG_TARGET_brcm2708_bcm2710_DEVICE_rpi-3=y 4 | CONFIG_TARGET_KERNEL_PARTSIZE=64 5 | CONFIG_TARGET_ROOTFS_PARTSIZE=960 6 | CONFIG_TARGET_IMAGES_GZIP=n 7 | CONFIG_TARGET_ROOTFS_TARGZ=y 8 | CONFIG_TARGET_ROOTFS_EXT4FS=y 9 | CONFIG_TARGET_ROOTFS_SQUASHFS=y 10 | 11 | CONFIG_ALL_KMODS=y 12 | CONFIG_IB=y 13 | CONFIG_IB_STANDALONE=y 14 | CONFIG_IMAGEOPT=y 15 | CONFIG_MAKE_TOOLCHAIN=y 16 | CONFIG_SDK=y 17 | 18 | CONFIG_PACKAGE_automount=y 19 | CONFIG_PACKAGE_ipv6helper=m 20 | CONFIG_PACKAGE_htop=y 21 | 22 | CONFIG_PACKAGE_kmod-i2c-core=y 23 | CONFIG_PACKAGE_kmod-usb-net=y 24 | CONFIG_PACKAGE_kmod-usb-net-asix=y 25 | CONFIG_PACKAGE_kmod-usb-net-asix-ax88179=y 26 | CONFIG_PACKAGE_kmod-usb-net-cdc-eem=y 27 | CONFIG_PACKAGE_kmod-usb-net-cdc-ether=y 28 | CONFIG_PACKAGE_kmod-usb-net-cdc-mbim=y 29 | CONFIG_PACKAGE_kmod-usb-net-cdc-ncm=y 30 | CONFIG_PACKAGE_kmod-usb-net-cdc-subset=y 31 | CONFIG_PACKAGE_kmod-usb-net-dm9601-ether=y 32 | CONFIG_PACKAGE_kmod-usb-net-hso=y 33 | CONFIG_PACKAGE_kmod-usb-net-huawei-cdc-ncm=y 34 | CONFIG_PACKAGE_kmod-usb-net-ipheth=y 35 | CONFIG_PACKAGE_kmod-usb-net-kalmia=y 36 | CONFIG_PACKAGE_kmod-usb-net-kaweth=y 37 | CONFIG_PACKAGE_kmod-usb-net-mcs7830=y 38 | CONFIG_PACKAGE_kmod-usb-net-pegasus=y 39 | CONFIG_PACKAGE_kmod-usb-net-pl=y 40 | CONFIG_PACKAGE_kmod-usb-net-qmi-wwan=y 41 | CONFIG_PACKAGE_kmod-usb-net-rndis=y 42 | CONFIG_PACKAGE_kmod-usb-net-rtl8150=y 43 | CONFIG_PACKAGE_kmod-usb-net-rtl8152=y 44 | CONFIG_PACKAGE_kmod-usb-net-sierrawireless=y 45 | CONFIG_PACKAGE_kmod-usb-net-smsc95xx=y 46 | CONFIG_PACKAGE_kmod-usb-net-sr9700=y 47 | CONFIG_PACKAGE_kmod-usb-ohci=y 48 | CONFIG_PACKAGE_kmod-usb-ohci-pci=y 49 | CONFIG_PACKAGE_kmod-usb-printer=y 50 | CONFIG_PACKAGE_kmod-usb-storage=y 51 | CONFIG_PACKAGE_kmod-usb-storage-extras=y 52 | CONFIG_PACKAGE_kmod-usb-storage-uas=y 53 | CONFIG_PACKAGE_kmod-usb-uhci=y 54 | CONFIG_PACKAGE_kmod-usb-wdm=y 55 | CONFIG_PACKAGE_kmod-usb2=y 56 | CONFIG_PACKAGE_kmod-usb2-pci=y 57 | CONFIG_PACKAGE_kmod-usb3=y 58 | CONFIG_PACKAGE_kmod-video-core=y 59 | CONFIG_PACKAGE_kmod-video-uvc=y 60 | 61 | CONFIG_PACKAGE_kmod-ath=y 62 | CONFIG_ATH_USER_REGD=y 63 | CONFIG_PACKAGE_ATH_DFS=y 64 | CONFIG_PACKAGE_kmod-ath6kl=y 65 | CONFIG_PACKAGE_kmod-ath6kl-usb=y 66 | CONFIG_PACKAGE_kmod-ath9k-common=y 67 | CONFIG_PACKAGE_kmod-ath9k-htc=y 68 | CONFIG_PACKAGE_kmod-brcmfmac=y 69 | CONFIG_BRCMFMAC_SDIO=y 70 | CONFIG_BRCMFMAC_USB=y 71 | CONFIG_BRCMFMAC_PCIE=y 72 | CONFIG_PACKAGE_kmod-brcmutil=y 73 | CONFIG_PACKAGE_kmod-carl9170=y 74 | CONFIG_PACKAGE_kmod-cfg80211=y 75 | CONFIG_PACKAGE_kmod-lib80211=y 76 | CONFIG_PACKAGE_kmod-libertas-usb=y 77 | CONFIG_PACKAGE_kmod-mac80211=y 78 | CONFIG_PACKAGE_MAC80211_DEBUGFS=y 79 | CONFIG_PACKAGE_MAC80211_MESH=y 80 | CONFIG_PACKAGE_kmod-mt76-core=y 81 | CONFIG_PACKAGE_kmod-mt76-usb=y 82 | CONFIG_PACKAGE_kmod-mt7601u=y 83 | CONFIG_PACKAGE_kmod-mt7603=y 84 | CONFIG_PACKAGE_kmod-mt76x02-common=y 85 | CONFIG_PACKAGE_kmod-mt76x02-usb=y 86 | CONFIG_PACKAGE_kmod-mt76x2-common=y 87 | CONFIG_PACKAGE_kmod-mt76x2u=y 88 | CONFIG_PACKAGE_kmod-net-prism54=y 89 | CONFIG_PACKAGE_kmod-net-rtl8192su=y 90 | CONFIG_PACKAGE_kmod-p54-common=y 91 | CONFIG_PACKAGE_kmod-p54-usb=y 92 | CONFIG_PACKAGE_kmod-rsi91x=y 93 | CONFIG_PACKAGE_kmod-rsi91x-usb=y 94 | CONFIG_PACKAGE_kmod-rt2500-usb=y 95 | CONFIG_PACKAGE_kmod-rt2800-lib=y 96 | CONFIG_PACKAGE_kmod-rt2800-usb=y 97 | CONFIG_PACKAGE_kmod-rt2x00-lib=y 98 | CONFIG_PACKAGE_kmod-rt2x00-usb=y 99 | CONFIG_PACKAGE_kmod-rt73-usb=y 100 | CONFIG_PACKAGE_kmod-rtl8187=y 101 | CONFIG_PACKAGE_kmod-rtl8192c-common=y 102 | CONFIG_PACKAGE_kmod-rtl8192cu=y 103 | CONFIG_PACKAGE_kmod-rtlwifi=y 104 | CONFIG_PACKAGE_kmod-rtlwifi-usb=y 105 | CONFIG_PACKAGE_kmod-zd1211rw=y 106 | 107 | CONFIG_PACKAGE_luci=y 108 | CONFIG_LUCI_LANG_zh_Hans=y 109 | CONFIG_PACKAGE_luci-compat=y 110 | CONFIG_PACKAGE_default-settings=y 111 | CONFIG_PACKAGE_luci-app-adblock=y 112 | CONFIG_PACKAGE_luci-app-adbyby-plus=n 113 | CONFIG_PACKAGE_luci-app-adguardhome=y 114 | CONFIG_PACKAGE_luci-app-airplay2=y 115 | CONFIG_PACKAGE_luci-app-aria2=y 116 | CONFIG_PACKAGE_luci-app-arpbind=y 117 | CONFIG_PACKAGE_luci-app-autoreboot=y 118 | CONFIG_PACKAGE_luci-app-baidupcs-web=yCONFIG_PACKAGE_luci-app-brook-server=y 119 | CONFIG_PACKAGE_luci-app-cifs-mount=y 120 | CONFIG_PACKAGE_luci-app-commands=y 121 | CONFIG_PACKAGE_luci-app-cpufreq=y 122 | CONFIG_PACKAGE_luci-app-ddns=y 123 | CONFIG_PACKAGE_luci-app-diskman=y 124 | CONFIG_PACKAGE_luci-app-diskman_INCLUDE_btrfs_progs=y 125 | CONFIG_PACKAGE_luci-app-diskman_INCLUDE_lsblk=y 126 | CONFIG_PACKAGE_luci-app-diskman_INCLUDE_kmod_md_linear=y 127 | CONFIG_PACKAGE_luci-app-diskman_INCLUDE_kmod_md_raid456=y 128 | CONFIG_PACKAGE_luci-app-diskman_INCLUDE_mdadm=y 129 | # CONFIG_PACKAGE_luci-app-dockerman=y 130 | # CONFIG_PACKAGE_luci-app-dockerman_INCLUDE_docker_ce=y 131 | CONFIG_PACKAGE_luci-app-familycloud=y 132 | CONFIG_PACKAGE_luci-app-fileassistant=y 133 | CONFIG_PACKAGE_luci-app-filetransfer=y 134 | CONFIG_PACKAGE_luci-app-firewall=y 135 | CONFIG_PACKAGE_luci-app-frpc=y 136 | CONFIG_PACKAGE_luci-app-frps=y 137 | CONFIG_PACKAGE_luci-app-gowebdav=y 138 | CONFIG_PACKAGE_luci-app-hd-idle=y 139 | CONFIG_PACKAGE_luci-app-ipsec-vpnserver-manyusers=y 140 | CONFIG_PACKAGE_luci-app-iptvhelper=y 141 | CONFIG_PACKAGE_luci-app-ksmbd=y 142 | CONFIG_PACKAGE_luci-app-mentohust=y 143 | CONFIG_PACKAGE_luci-app-mia=y 144 | CONFIG_PACKAGE_luci-app-minidlna=y 145 | CONFIG_PACKAGE_luci-app-mjpg-streamer=y 146 | CONFIG_PACKAGE_luci-app-n2n_v2=y 147 | CONFIG_PACKAGE_luci-app-netdata=y 148 | CONFIG_PACKAGE_luci-app-nfs=y 149 | CONFIG_PACKAGE_luci-app-nlbwmon=y 150 | CONFIG_PACKAGE_luci-app-nps=y 151 | CONFIG_PACKAGE_luci-app-ntpc=y 152 | CONFIG_PACKAGE_luci-app-onliner=y 153 | CONFIG_PACKAGE_luci-app-openclash=y 154 | CONFIG_PACKAGE_luci-app-openvpn=y 155 | CONFIG_PACKAGE_luci-app-opkg=y 156 | CONFIG_PACKAGE_luci-app-passwall=y 157 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Brook=y 158 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks=y 159 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_ShadowsocksR_socks=y 160 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks_socks=y 161 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Trojan=y 162 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_kcptun=y 163 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_simple-obfs=y 164 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_v2ray-plugin=y 165 | CONFIG_PACKAGE_luci-app-pptp-vpnserver-manyusers=y 166 | CONFIG_PACKAGE_luci-app-samba=y 167 | CONFIG_PACKAGE_luci-app-serverchan=y 168 | CONFIG_PACKAGE_luci-app-shairplay=y 169 | CONFIG_PACKAGE_luci-app-smartdns=y 170 | CONFIG_PACKAGE_luci-app-softethervpn=y 171 | CONFIG_PACKAGE_luci-app-sqm=y 172 | CONFIG_PACKAGE_luci-app-ssr-plus=y 173 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Kcptun=y 174 | CONFIG_PACKAGE_luci-app-timewol=y 175 | CONFIG_PACKAGE_luci-app-tinyproxy=y 176 | CONFIG_PACKAGE_luci-app-transmission=y 177 | CONFIG_PACKAGE_luci-app-trojan-server=y 178 | CONFIG_PACKAGE_luci-app-ttyd=y 179 | CONFIG_PACKAGE_luci-app-unblockmusic=y 180 | CONFIG_UnblockNeteaseMusic_Go=y 181 | CONFIG_UnblockNeteaseMusic_NodeJS=y 182 | CONFIG_PACKAGE_luci-app-upnp=y 183 | CONFIG_PACKAGE_luci-app-usb-printer=y 184 | CONFIG_PACKAGE_luci-app-v2ray-server=y 185 | CONFIG_PACKAGE_luci-app-vsftpd=y 186 | CONFIG_PACKAGE_luci-app-watchcat=y 187 | CONFIG_PACKAGE_luci-app-webadmin=y 188 | CONFIG_PACKAGE_luci-app-weburl=y 189 | CONFIG_PACKAGE_luci-app-wifischedule=y 190 | CONFIG_PACKAGE_luci-app-wireguard=y 191 | CONFIG_PACKAGE_luci-app-wol=y 192 | CONFIG_PACKAGE_luci-app-xlnetacc=y 193 | CONFIG_PACKAGE_luci-app-zerotier=y 194 | CONFIG_PACKAGE_luci-udptools=y 195 | CONFIG_PACKAGE_luci-proto-openconnect=y 196 | CONFIG_PACKAGE_luci-theme-material=y 197 | CONFIG_PACKAGE_luci-theme-argon=y 198 | 199 | CONFIG_PACKAGE_ariang=y 200 | CONFIG_ARIA2_ASYNC_DNS=y 201 | CONFIG_ARIA2_BITTORRENT=y 202 | CONFIG_ARIA2_COOKIE=y 203 | CONFIG_ARIA2_EXPAT=y 204 | CONFIG_ARIA2_METALINK=y 205 | CONFIG_ARIA2_OPENSSL=y 206 | CONFIG_ARIA2_SFTP=y 207 | CONFIG_ARIA2_WEBSOCKET=y 208 | CONFIG_PACKAGE_rsync=y 209 | CONFIG_PACKAGE_rsyncd=y 210 | CONFIG_PACKAGE_wget=y 211 | CONFIG_PACKAGE_bind-client=y 212 | CONFIG_PACKAGE_bind-host=y 213 | CONFIG_PACKAGE_ddns-scripts=y 214 | CONFIG_PACKAGE_ddns-scripts_aliyun=y 215 | CONFIG_PACKAGE_ddns-scripts_dnspod=y 216 | CONFIG_V2RAY_COMPRESS_UPX=n 217 | CONFIG_PACKAGE_mentohust=y 218 | CONFIG_PACKAGE_openssh-sftp-client=y 219 | CONFIG_PACKAGE_openssh-sftp-server=y 220 | CONFIG_PACKAGE_openvpn-easy-rsa=y 221 | CONFIG_PACKAGE_openvpn-openssl=y 222 | CONFIG_PACKAGE_xl2tpd=y 223 | CONFIG_PACKAGE_pptpd=y 224 | CONFIG_PACKAGE_ppp-mod-pptp=y 225 | 226 | CONFIG_PACKAGE_bsdtar=y 227 | CONFIG_PACKAGE_gzip=y 228 | CONFIG_PACKAGE_bzip2=y 229 | CONFIG_PACKAGE_fdisk=y 230 | CONFIG_PACKAGE_gpioctl-sysfs=y 231 | CONFIG_PACKAGE_gpiod-tools=y 232 | CONFIG_PACKAGE_irqbalance=y 233 | CONFIG_PACKAGE_lscpu=y 234 | CONFIG_PACKAGE_nano=y 235 | CONFIG_PACKAGE_vim-full=y 236 | CONFIG_PACKAGE_f2fs-tools=y 237 | CONFIG_PACKAGE_f2fsck=y 238 | CONFIG_PACKAGE_fstrim=y 239 | CONFIG_PACKAGE_resize2fs=y 240 | CONFIG_PACKAGE_zsh=y 241 | CONFIG_PACKAGE_screen=y 242 | CONFIG_PACKAGE_tmux=y 243 | # CONFIG_PACKAGE_docker-ce=y 244 | CONFIG_PACKAGE_i2c-tools=y 245 | CONFIG_PACKAGE_tree=y 246 | CONFIG_PACKAGE_usbutils=y 247 | CONFIG_PACKAGE_whereis=y 248 | CONFIG_PACKAGE_gotop=y 249 | CONFIG_PACKAGE_tmate=y 250 | CONFIG_PACKAGE_udp2raw=y 251 | CONFIG_PACKAGE_udpspeeder=y 252 | # CONFIG_DOCKER_KERNEL_OPTIONS=y 253 | # CONFIG_DOCKER_NET_ENCRYPT=y 254 | # CONFIG_DOCKER_NET_MACVLAN=y 255 | # CONFIG_DOCKER_NET_OVERLAY=y 256 | # CONFIG_DOCKER_NET_TFTP=y 257 | # CONFIG_DOCKER_RES_SHAPE=y 258 | # CONFIG_DOCKER_SECCOMP=y 259 | # CONFIG_DOCKER_STO_BTRFS=y 260 | # CONFIG_DOCKER_STO_EXT4=y 261 | 262 | CONFIG_PACKAGE_kmod-usb-serial=y 263 | CONFIG_PACKAGE_kmod-usb-serial-option=y 264 | CONFIG_PACKAGE_kmod-usb-serial-wwan=y 265 | CONFIG_PACKAGE_usb-modeswitch=y 266 | CONFIG_PACKAGE_kmod-mii=y 267 | CONFIG_PACKAGE_luci-proto-qmi=y 268 | CONFIG_PACKAGE_qmi-utils=y 269 | CONFIG_PACKAGE_umbim=y 270 | CONFIG_PACKAGE_uqmi=y 271 | CONFIG_PACKAGE_comgt-ncm=y 272 | CONFIG_PACKAGE_luci-proto-ncm=y 273 | CONFIG_PACKAGE_comgt=y 274 | CONFIG_PACKAGE_kmod-usb-acm=y 275 | CONFIG_PACKAGE_luci-proto-3g=y 276 | 277 | 278 | -------------------------------------------------------------------------------- /config/offical-19.07/rpi3-offical-openwrt.config: -------------------------------------------------------------------------------- 1 | CONFIG_TARGET_brcm2708=y 2 | CONFIG_TARGET_brcm2708_bcm2710=y 3 | CONFIG_TARGET_brcm2708_bcm2710_DEVICE_rpi-3=y 4 | CONFIG_TARGET_KERNEL_PARTSIZE=64 5 | CONFIG_TARGET_ROOTFS_PARTSIZE=960 6 | CONFIG_TARGET_IMAGES_GZIP=n 7 | CONFIG_TARGET_ROOTFS_TARGZ=y 8 | CONFIG_TARGET_ROOTFS_EXT4FS=y 9 | CONFIG_TARGET_ROOTFS_SQUASHFS=y 10 | 11 | CONFIG_ALL_KMODS=y 12 | CONFIG_IB=y 13 | CONFIG_IB_STANDALONE=y 14 | CONFIG_IMAGEOPT=y 15 | CONFIG_MAKE_TOOLCHAIN=y 16 | CONFIG_SDK=y 17 | 18 | CONFIG_PACKAGE_automount=y 19 | CONFIG_PACKAGE_ipv6helper=m 20 | CONFIG_PACKAGE_htop=y 21 | 22 | CONFIG_PACKAGE_kmod-i2c-core=y 23 | CONFIG_PACKAGE_kmod-usb-net=y 24 | CONFIG_PACKAGE_kmod-usb-net-asix=y 25 | CONFIG_PACKAGE_kmod-usb-net-asix-ax88179=y 26 | CONFIG_PACKAGE_kmod-usb-net-cdc-eem=y 27 | CONFIG_PACKAGE_kmod-usb-net-cdc-ether=y 28 | CONFIG_PACKAGE_kmod-usb-net-cdc-mbim=y 29 | CONFIG_PACKAGE_kmod-usb-net-cdc-ncm=y 30 | CONFIG_PACKAGE_kmod-usb-net-cdc-subset=y 31 | CONFIG_PACKAGE_kmod-usb-net-dm9601-ether=y 32 | CONFIG_PACKAGE_kmod-usb-net-hso=y 33 | CONFIG_PACKAGE_kmod-usb-net-huawei-cdc-ncm=y 34 | CONFIG_PACKAGE_kmod-usb-net-ipheth=y 35 | CONFIG_PACKAGE_kmod-usb-net-kalmia=y 36 | CONFIG_PACKAGE_kmod-usb-net-kaweth=y 37 | CONFIG_PACKAGE_kmod-usb-net-mcs7830=y 38 | CONFIG_PACKAGE_kmod-usb-net-pegasus=y 39 | CONFIG_PACKAGE_kmod-usb-net-pl=y 40 | CONFIG_PACKAGE_kmod-usb-net-qmi-wwan=y 41 | CONFIG_PACKAGE_kmod-usb-net-rndis=y 42 | CONFIG_PACKAGE_kmod-usb-net-rtl8150=y 43 | CONFIG_PACKAGE_kmod-usb-net-rtl8152=y 44 | CONFIG_PACKAGE_kmod-usb-net-sierrawireless=y 45 | CONFIG_PACKAGE_kmod-usb-net-smsc95xx=y 46 | CONFIG_PACKAGE_kmod-usb-net-sr9700=y 47 | CONFIG_PACKAGE_kmod-usb-ohci=y 48 | CONFIG_PACKAGE_kmod-usb-ohci-pci=y 49 | CONFIG_PACKAGE_kmod-usb-printer=y 50 | CONFIG_PACKAGE_kmod-usb-storage=y 51 | CONFIG_PACKAGE_kmod-usb-storage-extras=y 52 | CONFIG_PACKAGE_kmod-usb-storage-uas=y 53 | CONFIG_PACKAGE_kmod-usb-uhci=y 54 | CONFIG_PACKAGE_kmod-usb-wdm=y 55 | CONFIG_PACKAGE_kmod-usb2=y 56 | CONFIG_PACKAGE_kmod-usb2-pci=y 57 | CONFIG_PACKAGE_kmod-usb3=y 58 | CONFIG_PACKAGE_kmod-video-core=y 59 | CONFIG_PACKAGE_kmod-video-uvc=y 60 | 61 | CONFIG_PACKAGE_kmod-ath=y 62 | CONFIG_ATH_USER_REGD=y 63 | CONFIG_PACKAGE_ATH_DFS=y 64 | CONFIG_PACKAGE_kmod-ath6kl=y 65 | CONFIG_PACKAGE_kmod-ath6kl-usb=y 66 | CONFIG_PACKAGE_kmod-ath9k-common=y 67 | CONFIG_PACKAGE_kmod-ath9k-htc=y 68 | CONFIG_PACKAGE_kmod-brcmfmac=y 69 | CONFIG_BRCMFMAC_SDIO=y 70 | CONFIG_BRCMFMAC_USB=y 71 | CONFIG_BRCMFMAC_PCIE=y 72 | CONFIG_PACKAGE_kmod-brcmutil=y 73 | CONFIG_PACKAGE_kmod-carl9170=y 74 | CONFIG_PACKAGE_kmod-cfg80211=y 75 | CONFIG_PACKAGE_kmod-lib80211=y 76 | CONFIG_PACKAGE_kmod-libertas-usb=y 77 | CONFIG_PACKAGE_kmod-mac80211=y 78 | CONFIG_PACKAGE_MAC80211_DEBUGFS=y 79 | CONFIG_PACKAGE_MAC80211_MESH=y 80 | CONFIG_PACKAGE_kmod-mt76-core=y 81 | CONFIG_PACKAGE_kmod-mt76-usb=y 82 | CONFIG_PACKAGE_kmod-mt7601u=y 83 | CONFIG_PACKAGE_kmod-mt7603=y 84 | CONFIG_PACKAGE_kmod-mt76x02-common=y 85 | CONFIG_PACKAGE_kmod-mt76x02-usb=y 86 | CONFIG_PACKAGE_kmod-mt76x2-common=y 87 | CONFIG_PACKAGE_kmod-mt76x2u=y 88 | CONFIG_PACKAGE_kmod-net-prism54=y 89 | CONFIG_PACKAGE_kmod-net-rtl8192su=y 90 | CONFIG_PACKAGE_kmod-p54-common=y 91 | CONFIG_PACKAGE_kmod-p54-usb=y 92 | CONFIG_PACKAGE_kmod-rsi91x=y 93 | CONFIG_PACKAGE_kmod-rsi91x-usb=y 94 | CONFIG_PACKAGE_kmod-rt2500-usb=y 95 | CONFIG_PACKAGE_kmod-rt2800-lib=y 96 | CONFIG_PACKAGE_kmod-rt2800-usb=y 97 | CONFIG_PACKAGE_kmod-rt2x00-lib=y 98 | CONFIG_PACKAGE_kmod-rt2x00-usb=y 99 | CONFIG_PACKAGE_kmod-rt73-usb=y 100 | CONFIG_PACKAGE_kmod-rtl8187=y 101 | CONFIG_PACKAGE_kmod-rtl8192c-common=y 102 | CONFIG_PACKAGE_kmod-rtl8192cu=y 103 | CONFIG_PACKAGE_kmod-rtlwifi=y 104 | CONFIG_PACKAGE_kmod-rtlwifi-usb=y 105 | CONFIG_PACKAGE_kmod-zd1211rw=y 106 | 107 | CONFIG_PACKAGE_luci=y 108 | CONFIG_LUCI_LANG_zh_Hans=y 109 | CONFIG_PACKAGE_luci-compat=y 110 | CONFIG_PACKAGE_default-settings=y 111 | CONFIG_PACKAGE_luci-app-adblock=y 112 | CONFIG_PACKAGE_luci-app-adbyby-plus=n 113 | CONFIG_PACKAGE_luci-app-adguardhome=y 114 | CONFIG_PACKAGE_luci-app-airplay2=y 115 | CONFIG_PACKAGE_luci-app-aria2=y 116 | CONFIG_PACKAGE_luci-app-arpbind=y 117 | CONFIG_PACKAGE_luci-app-autoreboot=y 118 | CONFIG_PACKAGE_luci-app-baidupcs-web=y 119 | CONFIG_PACKAGE_luci-app-brook-server=y 120 | CONFIG_PACKAGE_luci-app-cifs-mount=y 121 | CONFIG_PACKAGE_luci-app-commands=y 122 | CONFIG_PACKAGE_luci-app-cpufreq=y 123 | CONFIG_PACKAGE_luci-app-ddns=y 124 | CONFIG_PACKAGE_luci-app-diskman=y 125 | CONFIG_PACKAGE_luci-app-diskman_INCLUDE_btrfs_progs=y 126 | CONFIG_PACKAGE_luci-app-diskman_INCLUDE_lsblk=y 127 | CONFIG_PACKAGE_luci-app-diskman_INCLUDE_kmod_md_linear=y 128 | CONFIG_PACKAGE_luci-app-diskman_INCLUDE_kmod_md_raid456=y 129 | CONFIG_PACKAGE_luci-app-diskman_INCLUDE_mdadm=y 130 | # CONFIG_PACKAGE_luci-app-dockerman=y 131 | # CONFIG_PACKAGE_luci-app-dockerman_INCLUDE_docker_ce=y 132 | CONFIG_PACKAGE_luci-app-familycloud=y 133 | CONFIG_PACKAGE_luci-app-fileassistant=y 134 | CONFIG_PACKAGE_luci-app-filetransfer=y 135 | CONFIG_PACKAGE_luci-app-firewall=y 136 | CONFIG_PACKAGE_luci-app-frpc=y 137 | CONFIG_PACKAGE_luci-app-frps=y 138 | CONFIG_PACKAGE_luci-app-gowebdav=y 139 | CONFIG_PACKAGE_luci-app-hd-idle=y 140 | CONFIG_PACKAGE_luci-app-ipsec-vpnserver-manyusers=y 141 | CONFIG_PACKAGE_luci-app-iptvhelper=y 142 | CONFIG_PACKAGE_luci-app-ksmbd=y 143 | CONFIG_PACKAGE_luci-app-mentohust=y 144 | CONFIG_PACKAGE_luci-app-mia=y 145 | CONFIG_PACKAGE_luci-app-minidlna=y 146 | CONFIG_PACKAGE_luci-app-mjpg-streamer=y 147 | CONFIG_PACKAGE_luci-app-n2n_v2=y 148 | CONFIG_PACKAGE_luci-app-netdata=y 149 | CONFIG_PACKAGE_luci-app-nfs=y 150 | CONFIG_PACKAGE_luci-app-nlbwmon=y 151 | CONFIG_PACKAGE_luci-app-nps=y 152 | CONFIG_PACKAGE_luci-app-ntpc=y 153 | CONFIG_PACKAGE_luci-app-onliner=y 154 | CONFIG_PACKAGE_luci-app-openclash=y 155 | CONFIG_PACKAGE_luci-app-openvpn=y 156 | CONFIG_PACKAGE_luci-app-opkg=y 157 | CONFIG_PACKAGE_luci-app-passwall=y 158 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Brook=y 159 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks=y 160 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_ShadowsocksR_socks=y 161 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks_socks=y 162 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Trojan=y 163 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_kcptun=y 164 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_simple-obfs=y 165 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_v2ray-plugin=y 166 | CONFIG_PACKAGE_luci-app-pptp-vpnserver-manyusers=y 167 | CONFIG_PACKAGE_luci-app-samba=y 168 | CONFIG_PACKAGE_luci-app-serverchan=y 169 | CONFIG_PACKAGE_luci-app-shairplay=y 170 | CONFIG_PACKAGE_luci-app-smartdns=y 171 | CONFIG_PACKAGE_luci-app-softethervpn=y 172 | CONFIG_PACKAGE_luci-app-sqm=y 173 | CONFIG_PACKAGE_luci-app-ssr-plus=y 174 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Kcptun=y 175 | CONFIG_PACKAGE_luci-app-timewol=y 176 | CONFIG_PACKAGE_luci-app-tinyproxy=y 177 | CONFIG_PACKAGE_luci-app-transmission=y 178 | CONFIG_PACKAGE_luci-app-trojan-server=y 179 | CONFIG_PACKAGE_luci-app-ttyd=y 180 | CONFIG_PACKAGE_luci-app-unblockmusic=y 181 | CONFIG_UnblockNeteaseMusic_Go=y 182 | CONFIG_UnblockNeteaseMusic_NodeJS=y 183 | CONFIG_PACKAGE_luci-app-upnp=y 184 | CONFIG_PACKAGE_luci-app-usb-printer=y 185 | CONFIG_PACKAGE_luci-app-v2ray-server=y 186 | CONFIG_PACKAGE_luci-app-vsftpd=y 187 | CONFIG_PACKAGE_luci-app-watchcat=y 188 | CONFIG_PACKAGE_luci-app-webadmin=y 189 | CONFIG_PACKAGE_luci-app-weburl=y 190 | CONFIG_PACKAGE_luci-app-wifischedule=y 191 | CONFIG_PACKAGE_luci-app-wireguard=y 192 | CONFIG_PACKAGE_luci-app-wol=y 193 | CONFIG_PACKAGE_luci-app-xlnetacc=y 194 | CONFIG_PACKAGE_luci-app-zerotier=y 195 | CONFIG_PACKAGE_luci-udptools=y 196 | CONFIG_PACKAGE_luci-proto-openconnect=y 197 | CONFIG_PACKAGE_luci-theme-material=y 198 | CONFIG_PACKAGE_luci-theme-argon=y 199 | 200 | CONFIG_PACKAGE_ariang=y 201 | CONFIG_ARIA2_ASYNC_DNS=y 202 | CONFIG_ARIA2_BITTORRENT=y 203 | CONFIG_ARIA2_COOKIE=y 204 | CONFIG_ARIA2_EXPAT=y 205 | CONFIG_ARIA2_METALINK=y 206 | CONFIG_ARIA2_OPENSSL=y 207 | CONFIG_ARIA2_SFTP=y 208 | CONFIG_ARIA2_WEBSOCKET=y 209 | CONFIG_PACKAGE_rsync=y 210 | CONFIG_PACKAGE_rsyncd=y 211 | CONFIG_PACKAGE_wget=y 212 | CONFIG_PACKAGE_bind-client=y 213 | CONFIG_PACKAGE_bind-host=y 214 | CONFIG_PACKAGE_ddns-scripts=y 215 | CONFIG_PACKAGE_ddns-scripts_aliyun=y 216 | CONFIG_PACKAGE_ddns-scripts_dnspod=y 217 | CONFIG_V2RAY_COMPRESS_UPX=n 218 | CONFIG_PACKAGE_mentohust=y 219 | CONFIG_PACKAGE_openssh-sftp-client=y 220 | CONFIG_PACKAGE_openssh-sftp-server=y 221 | CONFIG_PACKAGE_openvpn-easy-rsa=y 222 | CONFIG_PACKAGE_openvpn-openssl=y 223 | CONFIG_PACKAGE_xl2tpd=y 224 | CONFIG_PACKAGE_pptpd=y 225 | CONFIG_PACKAGE_ppp-mod-pptp=y 226 | 227 | CONFIG_PACKAGE_bsdtar=y 228 | CONFIG_PACKAGE_gzip=y 229 | CONFIG_PACKAGE_bzip2=y 230 | CONFIG_PACKAGE_fdisk=y 231 | CONFIG_PACKAGE_gpioctl-sysfs=y 232 | CONFIG_PACKAGE_gpiod-tools=y 233 | CONFIG_PACKAGE_irqbalance=y 234 | CONFIG_PACKAGE_lscpu=y 235 | CONFIG_PACKAGE_nano=y 236 | CONFIG_PACKAGE_vim-full=y 237 | CONFIG_PACKAGE_f2fs-tools=y 238 | CONFIG_PACKAGE_f2fsck=y 239 | CONFIG_PACKAGE_fstrim=y 240 | CONFIG_PACKAGE_resize2fs=y 241 | CONFIG_PACKAGE_zsh=y 242 | CONFIG_PACKAGE_screen=y 243 | CONFIG_PACKAGE_tmux=y 244 | # CONFIG_PACKAGE_docker-ce=y 245 | CONFIG_PACKAGE_i2c-tools=y 246 | CONFIG_PACKAGE_tree=y 247 | CONFIG_PACKAGE_usbutils=y 248 | CONFIG_PACKAGE_whereis=y 249 | CONFIG_PACKAGE_gotop=y 250 | CONFIG_PACKAGE_tmate=y 251 | CONFIG_PACKAGE_udp2raw=y 252 | CONFIG_PACKAGE_udpspeeder=y 253 | # CONFIG_DOCKER_KERNEL_OPTIONS=y 254 | # CONFIG_DOCKER_NET_ENCRYPT=y 255 | # CONFIG_DOCKER_NET_MACVLAN=y 256 | # CONFIG_DOCKER_NET_OVERLAY=y 257 | # CONFIG_DOCKER_NET_TFTP=y 258 | # CONFIG_DOCKER_RES_SHAPE=y 259 | # CONFIG_DOCKER_SECCOMP=y 260 | # CONFIG_DOCKER_STO_BTRFS=y 261 | # CONFIG_DOCKER_STO_EXT4=y 262 | 263 | CONFIG_PACKAGE_kmod-usb-serial=y 264 | CONFIG_PACKAGE_kmod-usb-serial-option=y 265 | CONFIG_PACKAGE_kmod-usb-serial-wwan=y 266 | CONFIG_PACKAGE_usb-modeswitch=y 267 | CONFIG_PACKAGE_kmod-mii=y 268 | CONFIG_PACKAGE_luci-proto-qmi=y 269 | CONFIG_PACKAGE_qmi-utils=y 270 | CONFIG_PACKAGE_umbim=y 271 | CONFIG_PACKAGE_uqmi=y 272 | CONFIG_PACKAGE_comgt-ncm=y 273 | CONFIG_PACKAGE_luci-proto-ncm=y 274 | CONFIG_PACKAGE_comgt=y 275 | CONFIG_PACKAGE_kmod-usb-acm=y 276 | CONFIG_PACKAGE_luci-proto-3g=y 277 | 278 | 279 | -------------------------------------------------------------------------------- /config/offical/rpi3-offical-openwrt.config: -------------------------------------------------------------------------------- 1 | CONFIG_TARGET_bcm27xx=y 2 | CONFIG_TARGET_bcm27xx_bcm2710=y 3 | CONFIG_TARGET_bcm27xx_bcm2710_DEVICE_rpi-3=y 4 | CONFIG_TARGET_KERNEL_PARTSIZE=64 5 | CONFIG_TARGET_ROOTFS_PARTSIZE=960 6 | CONFIG_TARGET_IMAGES_GZIP=n 7 | CONFIG_TARGET_ROOTFS_TARGZ=y 8 | CONFIG_TARGET_ROOTFS_EXT4FS=y 9 | CONFIG_TARGET_ROOTFS_SQUASHFS=y 10 | 11 | CONFIG_ALL_KMODS=y 12 | CONFIG_IB=y 13 | CONFIG_IB_STANDALONE=y 14 | CONFIG_IMAGEOPT=y 15 | CONFIG_MAKE_TOOLCHAIN=y 16 | CONFIG_SDK=y 17 | 18 | CONFIG_PACKAGE_automount=y 19 | CONFIG_PACKAGE_ipv6helper=m 20 | CONFIG_PACKAGE_htop=y 21 | 22 | CONFIG_PACKAGE_kmod-i2c-core=y 23 | CONFIG_PACKAGE_kmod-usb-net=y 24 | CONFIG_PACKAGE_kmod-usb-net-asix=y 25 | CONFIG_PACKAGE_kmod-usb-net-asix-ax88179=y 26 | CONFIG_PACKAGE_kmod-usb-net-cdc-eem=y 27 | CONFIG_PACKAGE_kmod-usb-net-cdc-ether=y 28 | CONFIG_PACKAGE_kmod-usb-net-cdc-mbim=y 29 | CONFIG_PACKAGE_kmod-usb-net-cdc-ncm=y 30 | CONFIG_PACKAGE_kmod-usb-net-cdc-subset=y 31 | CONFIG_PACKAGE_kmod-usb-net-dm9601-ether=y 32 | CONFIG_PACKAGE_kmod-usb-net-hso=y 33 | CONFIG_PACKAGE_kmod-usb-net-huawei-cdc-ncm=y 34 | CONFIG_PACKAGE_kmod-usb-net-ipheth=y 35 | CONFIG_PACKAGE_kmod-usb-net-kalmia=y 36 | CONFIG_PACKAGE_kmod-usb-net-kaweth=y 37 | CONFIG_PACKAGE_kmod-usb-net-mcs7830=y 38 | CONFIG_PACKAGE_kmod-usb-net-pegasus=y 39 | CONFIG_PACKAGE_kmod-usb-net-pl=y 40 | CONFIG_PACKAGE_kmod-usb-net-qmi-wwan=y 41 | CONFIG_PACKAGE_kmod-usb-net-rndis=y 42 | CONFIG_PACKAGE_kmod-usb-net-rtl8150=y 43 | CONFIG_PACKAGE_kmod-usb-net-rtl8152=y 44 | CONFIG_PACKAGE_kmod-usb-net-sierrawireless=y 45 | CONFIG_PACKAGE_kmod-usb-net-smsc95xx=y 46 | CONFIG_PACKAGE_kmod-usb-net-sr9700=y 47 | CONFIG_PACKAGE_kmod-usb-ohci=y 48 | CONFIG_PACKAGE_kmod-usb-ohci-pci=y 49 | CONFIG_PACKAGE_kmod-usb-printer=y 50 | CONFIG_PACKAGE_kmod-usb-storage=y 51 | CONFIG_PACKAGE_kmod-usb-storage-extras=y 52 | CONFIG_PACKAGE_kmod-usb-storage-uas=y 53 | CONFIG_PACKAGE_kmod-usb-uhci=y 54 | CONFIG_PACKAGE_kmod-usb-wdm=y 55 | CONFIG_PACKAGE_kmod-usb2=y 56 | CONFIG_PACKAGE_kmod-usb2-pci=y 57 | CONFIG_PACKAGE_kmod-usb3=y 58 | CONFIG_PACKAGE_kmod-video-core=y 59 | CONFIG_PACKAGE_kmod-video-uvc=y 60 | 61 | CONFIG_PACKAGE_kmod-ath=y 62 | CONFIG_ATH_USER_REGD=y 63 | CONFIG_PACKAGE_ATH_DFS=y 64 | CONFIG_PACKAGE_kmod-ath6kl=y 65 | CONFIG_PACKAGE_kmod-ath6kl-usb=y 66 | CONFIG_PACKAGE_kmod-ath9k-common=y 67 | CONFIG_PACKAGE_kmod-ath9k-htc=y 68 | CONFIG_PACKAGE_kmod-brcmfmac=y 69 | CONFIG_BRCMFMAC_SDIO=y 70 | CONFIG_BRCMFMAC_USB=y 71 | CONFIG_BRCMFMAC_PCIE=y 72 | CONFIG_PACKAGE_kmod-brcmutil=y 73 | CONFIG_PACKAGE_kmod-carl9170=y 74 | CONFIG_PACKAGE_kmod-cfg80211=y 75 | CONFIG_PACKAGE_kmod-lib80211=y 76 | CONFIG_PACKAGE_kmod-libertas-usb=y 77 | CONFIG_PACKAGE_kmod-mac80211=y 78 | CONFIG_PACKAGE_MAC80211_DEBUGFS=y 79 | CONFIG_PACKAGE_MAC80211_MESH=y 80 | CONFIG_PACKAGE_kmod-mt76-core=y 81 | CONFIG_PACKAGE_kmod-mt76-usb=y 82 | CONFIG_PACKAGE_kmod-mt7601u=y 83 | CONFIG_PACKAGE_kmod-mt7603=y 84 | CONFIG_PACKAGE_kmod-mt76x02-common=y 85 | CONFIG_PACKAGE_kmod-mt76x02-usb=y 86 | CONFIG_PACKAGE_kmod-mt76x2-common=y 87 | CONFIG_PACKAGE_kmod-mt76x2u=y 88 | CONFIG_PACKAGE_kmod-net-prism54=y 89 | CONFIG_PACKAGE_kmod-net-rtl8192su=y 90 | CONFIG_PACKAGE_kmod-p54-common=y 91 | CONFIG_PACKAGE_kmod-p54-usb=y 92 | CONFIG_PACKAGE_kmod-rsi91x=y 93 | CONFIG_PACKAGE_kmod-rsi91x-usb=y 94 | CONFIG_PACKAGE_kmod-rt2500-usb=y 95 | CONFIG_PACKAGE_kmod-rt2800-lib=y 96 | CONFIG_PACKAGE_kmod-rt2800-usb=y 97 | CONFIG_PACKAGE_kmod-rt2x00-lib=y 98 | CONFIG_PACKAGE_kmod-rt2x00-usb=y 99 | CONFIG_PACKAGE_kmod-rt73-usb=y 100 | CONFIG_PACKAGE_kmod-rtl8187=y 101 | CONFIG_PACKAGE_kmod-rtl8192c-common=y 102 | CONFIG_PACKAGE_kmod-rtl8192cu=y 103 | CONFIG_PACKAGE_kmod-rtlwifi=y 104 | CONFIG_PACKAGE_kmod-rtlwifi-usb=y 105 | CONFIG_PACKAGE_kmod-zd1211rw=y 106 | 107 | CONFIG_PACKAGE_luci=y 108 | CONFIG_LUCI_LANG_zh_Hans=y 109 | CONFIG_PACKAGE_luci-compat=y 110 | CONFIG_PACKAGE_default-settings=y 111 | CONFIG_PACKAGE_luci-app-adblock=y 112 | CONFIG_PACKAGE_luci-app-adbyby-plus=n 113 | CONFIG_PACKAGE_luci-app-adguardhome=y 114 | CONFIG_PACKAGE_luci-app-airplay2=y 115 | CONFIG_PACKAGE_luci-app-aria2=y 116 | CONFIG_PACKAGE_luci-app-arpbind=y 117 | CONFIG_PACKAGE_luci-app-autoreboot=y 118 | CONFIG_PACKAGE_luci-app-brook-server=y 119 | CONFIG_PACKAGE_luci-app-cifs-mount=y 120 | CONFIG_PACKAGE_luci-app-commands=y 121 | CONFIG_PACKAGE_luci-app-cpufreq=y 122 | CONFIG_PACKAGE_luci-app-ddns=y 123 | CONFIG_PACKAGE_luci-app-diskman=y 124 | CONFIG_PACKAGE_luci-app-diskman_INCLUDE_btrfs_progs=y 125 | CONFIG_PACKAGE_luci-app-diskman_INCLUDE_lsblk=y 126 | CONFIG_PACKAGE_luci-app-diskman_INCLUDE_kmod_md_linear=y 127 | CONFIG_PACKAGE_luci-app-diskman_INCLUDE_kmod_md_raid456=y 128 | CONFIG_PACKAGE_luci-app-diskman_INCLUDE_mdadm=y 129 | CONFIG_PACKAGE_luci-app-dockerman=y 130 | CONFIG_PACKAGE_luci-app-dockerman_INCLUDE_docker_ce=y 131 | CONFIG_PACKAGE_luci-app-familycloud=y 132 | CONFIG_PACKAGE_luci-app-fileassistant=y 133 | CONFIG_PACKAGE_luci-app-filetransfer=y 134 | CONFIG_PACKAGE_luci-app-firewall=y 135 | CONFIG_PACKAGE_luci-app-frpc=y 136 | CONFIG_PACKAGE_luci-app-frps=y 137 | CONFIG_PACKAGE_luci-app-gowebdav=y 138 | CONFIG_PACKAGE_luci-app-hd-idle=y 139 | CONFIG_PACKAGE_luci-app-ipsec-vpnserver-manyusers=y 140 | CONFIG_PACKAGE_luci-app-iptvhelper=y 141 | CONFIG_PACKAGE_luci-app-ksmbd=y 142 | CONFIG_PACKAGE_luci-app-mentohust=y 143 | CONFIG_PACKAGE_luci-app-mia=y 144 | CONFIG_PACKAGE_luci-app-minidlna=y 145 | CONFIG_PACKAGE_luci-app-mjpg-streamer=y 146 | CONFIG_PACKAGE_luci-app-n2n_v2=y 147 | CONFIG_PACKAGE_luci-app-netdata=y 148 | CONFIG_PACKAGE_luci-app-nfs=y 149 | CONFIG_PACKAGE_luci-app-nlbwmon=y 150 | CONFIG_PACKAGE_luci-app-nps=y 151 | CONFIG_PACKAGE_luci-app-ntpc=y 152 | CONFIG_PACKAGE_luci-app-onliner=y 153 | CONFIG_PACKAGE_luci-app-openclash=y 154 | CONFIG_PACKAGE_luci-app-openvpn=y 155 | CONFIG_PACKAGE_luci-app-opkg=y 156 | CONFIG_PACKAGE_luci-app-passwall=y 157 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Brook=y 158 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks=y 159 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_ShadowsocksR_socks=y 160 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks_socks=y 161 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Trojan=y 162 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_kcptun=y 163 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_simple-obfs=y 164 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_v2ray-plugin=y 165 | CONFIG_PACKAGE_luci-app-pptp-vpnserver-manyusers=y 166 | CONFIG_PACKAGE_luci-app-ps3netsrv=y 167 | CONFIG_PACKAGE_luci-app-samba4=y 168 | CONFIG_PACKAGE_luci-app-serverchan=y 169 | CONFIG_PACKAGE_luci-app-shairplay=y 170 | CONFIG_PACKAGE_luci-app-smartdns=y 171 | CONFIG_PACKAGE_luci-app-softethervpn=y 172 | CONFIG_PACKAGE_luci-app-sqm=y 173 | CONFIG_PACKAGE_luci-app-ssr-plus=y 174 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Kcptun=y 175 | CONFIG_PACKAGE_luci-app-timewol=y 176 | CONFIG_PACKAGE_luci-app-tinyproxy=y 177 | CONFIG_PACKAGE_luci-app-transmission=y 178 | CONFIG_PACKAGE_luci-app-trojan-server=y 179 | CONFIG_PACKAGE_luci-app-ttyd=y 180 | CONFIG_PACKAGE_luci-app-unblockmusic=y 181 | CONFIG_UnblockNeteaseMusic_Go=y 182 | CONFIG_UnblockNeteaseMusic_NodeJS=y 183 | CONFIG_PACKAGE_luci-app-upnp=y 184 | CONFIG_PACKAGE_luci-app-usb-printer=y 185 | CONFIG_PACKAGE_luci-app-v2ray-server=y 186 | CONFIG_PACKAGE_luci-app-vsftpd=y 187 | CONFIG_PACKAGE_luci-app-watchcat=y 188 | CONFIG_PACKAGE_luci-app-webadmin=y 189 | CONFIG_PACKAGE_luci-app-weburl=y 190 | CONFIG_PACKAGE_luci-app-wifischedule=y 191 | CONFIG_PACKAGE_luci-app-wireguard=y 192 | CONFIG_PACKAGE_luci-app-wol=y 193 | CONFIG_PACKAGE_luci-app-xlnetacc=y 194 | CONFIG_PACKAGE_luci-app-zerotier=y 195 | CONFIG_PACKAGE_luci-udptools=y 196 | CONFIG_PACKAGE_luci-proto-openconnect=y 197 | CONFIG_PACKAGE_luci-theme-material=y 198 | CONFIG_PACKAGE_luci-theme-argon=y 199 | CONFIG_PACKAGE_libpam=y 200 | CONFIG_PACKAGE_libunwind=y 201 | 202 | CONFIG_PACKAGE_ariang=y 203 | CONFIG_ARIA2_ASYNC_DNS=y 204 | CONFIG_ARIA2_BITTORRENT=y 205 | CONFIG_ARIA2_COOKIE=y 206 | CONFIG_ARIA2_EXPAT=y 207 | CONFIG_ARIA2_METALINK=y 208 | CONFIG_ARIA2_OPENSSL=y 209 | CONFIG_ARIA2_SFTP=y 210 | CONFIG_ARIA2_WEBSOCKET=y 211 | CONFIG_PACKAGE_rsync=y 212 | CONFIG_PACKAGE_rsyncd=y 213 | CONFIG_PACKAGE_wget=y 214 | CONFIG_PACKAGE_bind-client=y 215 | CONFIG_PACKAGE_bind-host=y 216 | CONFIG_PACKAGE_ddns-scripts=y 217 | CONFIG_PACKAGE_ddns-scripts_aliyun=y 218 | CONFIG_PACKAGE_ddns-scripts_dnspod=y 219 | CONFIG_V2RAY_COMPRESS_UPX=n 220 | CONFIG_PACKAGE_mentohust=y 221 | CONFIG_PACKAGE_openssh-sftp-client=y 222 | CONFIG_PACKAGE_openssh-sftp-server=y 223 | CONFIG_PACKAGE_openvpn-easy-rsa=y 224 | CONFIG_PACKAGE_openvpn-openssl=y 225 | CONFIG_PACKAGE_xl2tpd=y 226 | CONFIG_PACKAGE_pptpd=y 227 | CONFIG_PACKAGE_ppp-mod-pptp=y 228 | 229 | CONFIG_PACKAGE_bsdtar=y 230 | CONFIG_PACKAGE_gzip=y 231 | CONFIG_PACKAGE_bzip2=y 232 | CONFIG_PACKAGE_e2fsprogs=y 233 | CONFIG_PACKAGE_fdisk=y 234 | CONFIG_PACKAGE_gpioctl-sysfs=y 235 | CONFIG_PACKAGE_gpiod-tools=y 236 | CONFIG_PACKAGE_irqbalance=y 237 | CONFIG_PACKAGE_lscpu=y 238 | CONFIG_PACKAGE_nano=y 239 | CONFIG_PACKAGE_vim-full=y 240 | CONFIG_PACKAGE_f2fs-tools=y 241 | CONFIG_PACKAGE_f2fsck=y 242 | CONFIG_PACKAGE_fstrim=y 243 | CONFIG_PACKAGE_resize2fs=y 244 | CONFIG_PACKAGE_zsh=y 245 | CONFIG_PACKAGE_screen=y 246 | CONFIG_PACKAGE_tmux=y 247 | CONFIG_PACKAGE_docker-ce=y 248 | CONFIG_PACKAGE_i2c-tools=y 249 | CONFIG_PACKAGE_tree=y 250 | CONFIG_PACKAGE_usbutils=y 251 | CONFIG_PACKAGE_whereis=y 252 | CONFIG_PACKAGE_gotop=y 253 | CONFIG_PACKAGE_tmate=y 254 | CONFIG_PACKAGE_udp2raw=y 255 | CONFIG_PACKAGE_udpspeeder=y 256 | CONFIG_DOCKER_KERNEL_OPTIONS=y 257 | CONFIG_DOCKER_NET_ENCRYPT=y 258 | CONFIG_DOCKER_NET_MACVLAN=y 259 | CONFIG_DOCKER_NET_OVERLAY=y 260 | CONFIG_DOCKER_NET_TFTP=y 261 | CONFIG_DOCKER_RES_SHAPE=y 262 | CONFIG_DOCKER_SECCOMP=y 263 | CONFIG_DOCKER_STO_BTRFS=y 264 | CONFIG_DOCKER_STO_EXT4=y 265 | 266 | CONFIG_PACKAGE_kmod-usb-serial=y 267 | CONFIG_PACKAGE_kmod-usb-serial-option=y 268 | CONFIG_PACKAGE_kmod-usb-serial-wwan=y 269 | CONFIG_PACKAGE_usb-modeswitch=y 270 | CONFIG_PACKAGE_kmod-mii=y 271 | CONFIG_PACKAGE_luci-proto-qmi=y 272 | CONFIG_PACKAGE_qmi-utils=y 273 | CONFIG_PACKAGE_umbim=y 274 | CONFIG_PACKAGE_uqmi=y 275 | CONFIG_PACKAGE_comgt-ncm=y 276 | CONFIG_PACKAGE_luci-proto-ncm=y 277 | CONFIG_PACKAGE_comgt=y 278 | CONFIG_PACKAGE_kmod-usb-acm=y 279 | CONFIG_PACKAGE_luci-proto-3g=y 280 | 281 | 282 | -------------------------------------------------------------------------------- /config/offical/rpi4-offical-openwrt.config: -------------------------------------------------------------------------------- 1 | CONFIG_TARGET_bcm27xx=y 2 | CONFIG_TARGET_bcm27xx_bcm2711=y 3 | CONFIG_TARGET_bcm27xx_bcm2711_DEVICE_rpi-4=y 4 | CONFIG_TARGET_KERNEL_PARTSIZE=64 5 | CONFIG_TARGET_ROOTFS_PARTSIZE=960 6 | CONFIG_TARGET_IMAGES_GZIP=n 7 | CONFIG_TARGET_ROOTFS_TARGZ=y 8 | CONFIG_TARGET_ROOTFS_EXT4FS=y 9 | CONFIG_TARGET_ROOTFS_SQUASHFS=y 10 | 11 | CONFIG_ALL_KMODS=y 12 | CONFIG_IB=y 13 | CONFIG_IB_STANDALONE=y 14 | CONFIG_IMAGEOPT=y 15 | CONFIG_MAKE_TOOLCHAIN=y 16 | CONFIG_SDK=y 17 | 18 | CONFIG_PACKAGE_automount=y 19 | CONFIG_PACKAGE_ipv6helper=m 20 | CONFIG_PACKAGE_htop=y 21 | 22 | CONFIG_PACKAGE_kmod-i2c-core=y 23 | CONFIG_PACKAGE_kmod-usb-net=y 24 | CONFIG_PACKAGE_kmod-usb-net-asix=y 25 | CONFIG_PACKAGE_kmod-usb-net-asix-ax88179=y 26 | CONFIG_PACKAGE_kmod-usb-net-cdc-eem=y 27 | CONFIG_PACKAGE_kmod-usb-net-cdc-ether=y 28 | CONFIG_PACKAGE_kmod-usb-net-cdc-mbim=y 29 | CONFIG_PACKAGE_kmod-usb-net-cdc-ncm=y 30 | CONFIG_PACKAGE_kmod-usb-net-cdc-subset=y 31 | CONFIG_PACKAGE_kmod-usb-net-dm9601-ether=y 32 | CONFIG_PACKAGE_kmod-usb-net-hso=y 33 | CONFIG_PACKAGE_kmod-usb-net-huawei-cdc-ncm=y 34 | CONFIG_PACKAGE_kmod-usb-net-ipheth=y 35 | CONFIG_PACKAGE_kmod-usb-net-kalmia=y 36 | CONFIG_PACKAGE_kmod-usb-net-kaweth=y 37 | CONFIG_PACKAGE_kmod-usb-net-mcs7830=y 38 | CONFIG_PACKAGE_kmod-usb-net-pegasus=y 39 | CONFIG_PACKAGE_kmod-usb-net-pl=y 40 | CONFIG_PACKAGE_kmod-usb-net-qmi-wwan=y 41 | CONFIG_PACKAGE_kmod-usb-net-rndis=y 42 | CONFIG_PACKAGE_kmod-usb-net-rtl8150=y 43 | CONFIG_PACKAGE_kmod-usb-net-rtl8152=y 44 | CONFIG_PACKAGE_kmod-usb-net-sierrawireless=y 45 | CONFIG_PACKAGE_kmod-usb-net-smsc95xx=y 46 | CONFIG_PACKAGE_kmod-usb-net-sr9700=y 47 | CONFIG_PACKAGE_kmod-usb-ohci=y 48 | CONFIG_PACKAGE_kmod-usb-ohci-pci=y 49 | CONFIG_PACKAGE_kmod-usb-printer=y 50 | CONFIG_PACKAGE_kmod-usb-storage=y 51 | CONFIG_PACKAGE_kmod-usb-storage-extras=y 52 | CONFIG_PACKAGE_kmod-usb-storage-uas=y 53 | CONFIG_PACKAGE_kmod-usb-uhci=y 54 | CONFIG_PACKAGE_kmod-usb-wdm=y 55 | CONFIG_PACKAGE_kmod-usb2=y 56 | CONFIG_PACKAGE_kmod-usb2-pci=y 57 | CONFIG_PACKAGE_kmod-usb3=y 58 | CONFIG_PACKAGE_kmod-video-core=y 59 | CONFIG_PACKAGE_kmod-video-uvc=y 60 | 61 | CONFIG_PACKAGE_kmod-ath=y 62 | CONFIG_ATH_USER_REGD=y 63 | CONFIG_PACKAGE_ATH_DFS=y 64 | CONFIG_PACKAGE_kmod-ath6kl=y 65 | CONFIG_PACKAGE_kmod-ath6kl-usb=y 66 | CONFIG_PACKAGE_kmod-ath9k-common=y 67 | CONFIG_PACKAGE_kmod-ath9k-htc=y 68 | CONFIG_PACKAGE_kmod-brcmfmac=y 69 | CONFIG_BRCMFMAC_SDIO=y 70 | CONFIG_BRCMFMAC_USB=y 71 | CONFIG_BRCMFMAC_PCIE=y 72 | CONFIG_PACKAGE_kmod-brcmutil=y 73 | CONFIG_PACKAGE_kmod-carl9170=y 74 | CONFIG_PACKAGE_kmod-cfg80211=y 75 | CONFIG_PACKAGE_kmod-lib80211=y 76 | CONFIG_PACKAGE_kmod-libertas-usb=y 77 | CONFIG_PACKAGE_kmod-mac80211=y 78 | CONFIG_PACKAGE_MAC80211_DEBUGFS=y 79 | CONFIG_PACKAGE_MAC80211_MESH=y 80 | CONFIG_PACKAGE_kmod-mt76-core=y 81 | CONFIG_PACKAGE_kmod-mt76-usb=y 82 | CONFIG_PACKAGE_kmod-mt7601u=y 83 | CONFIG_PACKAGE_kmod-mt7603=y 84 | CONFIG_PACKAGE_kmod-mt76x02-common=y 85 | CONFIG_PACKAGE_kmod-mt76x02-usb=y 86 | CONFIG_PACKAGE_kmod-mt76x2-common=y 87 | CONFIG_PACKAGE_kmod-mt76x2u=y 88 | CONFIG_PACKAGE_kmod-net-prism54=y 89 | CONFIG_PACKAGE_kmod-net-rtl8192su=y 90 | CONFIG_PACKAGE_kmod-p54-common=y 91 | CONFIG_PACKAGE_kmod-p54-usb=y 92 | CONFIG_PACKAGE_kmod-rsi91x=y 93 | CONFIG_PACKAGE_kmod-rsi91x-usb=y 94 | CONFIG_PACKAGE_kmod-rt2500-usb=y 95 | CONFIG_PACKAGE_kmod-rt2800-lib=y 96 | CONFIG_PACKAGE_kmod-rt2800-usb=y 97 | CONFIG_PACKAGE_kmod-rt2x00-lib=y 98 | CONFIG_PACKAGE_kmod-rt2x00-usb=y 99 | CONFIG_PACKAGE_kmod-rt73-usb=y 100 | CONFIG_PACKAGE_kmod-rtl8187=y 101 | CONFIG_PACKAGE_kmod-rtl8192c-common=y 102 | CONFIG_PACKAGE_kmod-rtl8192cu=y 103 | CONFIG_PACKAGE_kmod-rtlwifi=y 104 | CONFIG_PACKAGE_kmod-rtlwifi-usb=y 105 | CONFIG_PACKAGE_kmod-zd1211rw=y 106 | 107 | CONFIG_PACKAGE_luci=y 108 | CONFIG_LUCI_LANG_zh_Hans=y 109 | CONFIG_PACKAGE_luci-compat=y 110 | CONFIG_PACKAGE_default-settings=y 111 | CONFIG_PACKAGE_luci-app-adblock=y 112 | CONFIG_PACKAGE_luci-app-adbyby-plus=n 113 | CONFIG_PACKAGE_luci-app-adguardhome=y 114 | CONFIG_PACKAGE_luci-app-airplay2=y 115 | CONFIG_PACKAGE_luci-app-aria2=y 116 | CONFIG_PACKAGE_luci-app-arpbind=y 117 | CONFIG_PACKAGE_luci-app-autoreboot=y 118 | CONFIG_PACKAGE_luci-app-brook-server=y 119 | CONFIG_PACKAGE_luci-app-cifs-mount=y 120 | CONFIG_PACKAGE_luci-app-commands=y 121 | CONFIG_PACKAGE_luci-app-cpufreq=y 122 | CONFIG_PACKAGE_luci-app-ddns=y 123 | CONFIG_PACKAGE_luci-app-diskman=y 124 | CONFIG_PACKAGE_luci-app-diskman_INCLUDE_btrfs_progs=y 125 | CONFIG_PACKAGE_luci-app-diskman_INCLUDE_lsblk=y 126 | CONFIG_PACKAGE_luci-app-diskman_INCLUDE_kmod_md_linear=y 127 | CONFIG_PACKAGE_luci-app-diskman_INCLUDE_kmod_md_raid456=y 128 | CONFIG_PACKAGE_luci-app-diskman_INCLUDE_mdadm=y 129 | CONFIG_PACKAGE_luci-app-dockerman=y 130 | CONFIG_PACKAGE_luci-app-dockerman_INCLUDE_docker_ce=y 131 | CONFIG_PACKAGE_luci-app-familycloud=y 132 | CONFIG_PACKAGE_luci-app-fileassistant=y 133 | CONFIG_PACKAGE_luci-app-filetransfer=y 134 | CONFIG_PACKAGE_luci-app-firewall=y 135 | CONFIG_PACKAGE_luci-app-frpc=y 136 | CONFIG_PACKAGE_luci-app-frps=y 137 | CONFIG_PACKAGE_luci-app-gowebdav=y 138 | CONFIG_PACKAGE_luci-app-hd-idle=y 139 | CONFIG_PACKAGE_luci-app-ipsec-vpnserver-manyusers=y 140 | CONFIG_PACKAGE_luci-app-iptvhelper=y 141 | CONFIG_PACKAGE_luci-app-ksmbd=y 142 | CONFIG_PACKAGE_luci-app-mentohust=y 143 | CONFIG_PACKAGE_luci-app-mia=y 144 | CONFIG_PACKAGE_luci-app-minidlna=y 145 | CONFIG_PACKAGE_luci-app-mjpg-streamer=y 146 | CONFIG_PACKAGE_luci-app-n2n_v2=y 147 | CONFIG_PACKAGE_luci-app-netdata=y 148 | CONFIG_PACKAGE_luci-app-nfs=y 149 | CONFIG_PACKAGE_luci-app-nlbwmon=y 150 | CONFIG_PACKAGE_luci-app-nps=y 151 | CONFIG_PACKAGE_luci-app-ntpc=y 152 | CONFIG_PACKAGE_luci-app-onliner=y 153 | CONFIG_PACKAGE_luci-app-openclash=y 154 | CONFIG_PACKAGE_luci-app-openvpn=y 155 | CONFIG_PACKAGE_luci-app-opkg=y 156 | CONFIG_PACKAGE_luci-app-passwall=y 157 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Brook=y 158 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks=y 159 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_ShadowsocksR_socks=y 160 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks_socks=y 161 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Trojan=y 162 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_kcptun=y 163 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_simple-obfs=y 164 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_v2ray-plugin=y 165 | CONFIG_PACKAGE_luci-app-pptp-vpnserver-manyusers=y 166 | CONFIG_PACKAGE_luci-app-ps3netsrv=y 167 | CONFIG_PACKAGE_luci-app-samba4=y 168 | CONFIG_PACKAGE_luci-app-serverchan=y 169 | CONFIG_PACKAGE_luci-app-shairplay=y 170 | CONFIG_PACKAGE_luci-app-smartdns=y 171 | CONFIG_PACKAGE_luci-app-softethervpn=y 172 | CONFIG_PACKAGE_luci-app-sqm=y 173 | CONFIG_PACKAGE_luci-app-ssr-plus=y 174 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Kcptun=y 175 | CONFIG_PACKAGE_luci-app-timewol=y 176 | CONFIG_PACKAGE_luci-app-tinyproxy=y 177 | CONFIG_PACKAGE_luci-app-transmission=y 178 | CONFIG_PACKAGE_luci-app-trojan-server=y 179 | CONFIG_PACKAGE_luci-app-ttyd=y 180 | CONFIG_PACKAGE_luci-app-unblockmusic=y 181 | CONFIG_UnblockNeteaseMusic_Go=y 182 | CONFIG_UnblockNeteaseMusic_NodeJS=y 183 | CONFIG_PACKAGE_luci-app-upnp=y 184 | CONFIG_PACKAGE_luci-app-usb-printer=y 185 | CONFIG_PACKAGE_luci-app-v2ray-server=y 186 | CONFIG_PACKAGE_luci-app-vsftpd=y 187 | CONFIG_PACKAGE_luci-app-watchcat=y 188 | CONFIG_PACKAGE_luci-app-webadmin=y 189 | CONFIG_PACKAGE_luci-app-weburl=y 190 | CONFIG_PACKAGE_luci-app-wifischedule=y 191 | CONFIG_PACKAGE_luci-app-wireguard=y 192 | CONFIG_PACKAGE_luci-app-wol=y 193 | CONFIG_PACKAGE_luci-app-xlnetacc=y 194 | CONFIG_PACKAGE_luci-app-zerotier=y 195 | CONFIG_PACKAGE_luci-udptools=y 196 | CONFIG_PACKAGE_luci-proto-openconnect=y 197 | CONFIG_PACKAGE_luci-theme-material=y 198 | CONFIG_PACKAGE_luci-theme-argon=y 199 | CONFIG_PACKAGE_libpam=y 200 | CONFIG_PACKAGE_libunwind=y 201 | 202 | CONFIG_PACKAGE_ariang=y 203 | CONFIG_ARIA2_ASYNC_DNS=y 204 | CONFIG_ARIA2_BITTORRENT=y 205 | CONFIG_ARIA2_COOKIE=y 206 | CONFIG_ARIA2_EXPAT=y 207 | CONFIG_ARIA2_METALINK=y 208 | CONFIG_ARIA2_OPENSSL=y 209 | CONFIG_ARIA2_SFTP=y 210 | CONFIG_ARIA2_WEBSOCKET=y 211 | CONFIG_PACKAGE_rsync=y 212 | CONFIG_PACKAGE_rsyncd=y 213 | CONFIG_PACKAGE_wget=y 214 | CONFIG_PACKAGE_bind-client=y 215 | CONFIG_PACKAGE_bind-host=y 216 | CONFIG_PACKAGE_ddns-scripts=y 217 | CONFIG_PACKAGE_ddns-scripts_aliyun=y 218 | CONFIG_PACKAGE_ddns-scripts_dnspod=y 219 | CONFIG_V2RAY_COMPRESS_UPX=n 220 | CONFIG_PACKAGE_mentohust=y 221 | CONFIG_PACKAGE_openssh-sftp-client=y 222 | CONFIG_PACKAGE_openssh-sftp-server=y 223 | CONFIG_PACKAGE_openvpn-easy-rsa=y 224 | CONFIG_PACKAGE_openvpn-openssl=y 225 | CONFIG_PACKAGE_xl2tpd=y 226 | CONFIG_PACKAGE_pptpd=y 227 | CONFIG_PACKAGE_ppp-mod-pptp=y 228 | 229 | CONFIG_PACKAGE_bsdtar=y 230 | CONFIG_PACKAGE_gzip=y 231 | CONFIG_PACKAGE_bzip2=y 232 | CONFIG_PACKAGE_e2fsprogs=y 233 | CONFIG_PACKAGE_fdisk=y 234 | CONFIG_PACKAGE_gpioctl-sysfs=y 235 | CONFIG_PACKAGE_gpiod-tools=y 236 | CONFIG_PACKAGE_irqbalance=y 237 | CONFIG_PACKAGE_lscpu=y 238 | CONFIG_PACKAGE_nano=y 239 | CONFIG_PACKAGE_vim-full=y 240 | CONFIG_PACKAGE_f2fs-tools=y 241 | CONFIG_PACKAGE_f2fsck=y 242 | CONFIG_PACKAGE_fstrim=y 243 | CONFIG_PACKAGE_resize2fs=y 244 | CONFIG_PACKAGE_zsh=y 245 | CONFIG_PACKAGE_screen=y 246 | CONFIG_PACKAGE_tmux=y 247 | CONFIG_PACKAGE_docker-ce=y 248 | CONFIG_PACKAGE_i2c-tools=y 249 | CONFIG_PACKAGE_tree=y 250 | CONFIG_PACKAGE_usbutils=y 251 | CONFIG_PACKAGE_whereis=y 252 | CONFIG_PACKAGE_gotop=y 253 | CONFIG_PACKAGE_tmate=y 254 | CONFIG_PACKAGE_udp2raw=y 255 | CONFIG_PACKAGE_udpspeeder=y 256 | CONFIG_DOCKER_KERNEL_OPTIONS=y 257 | CONFIG_DOCKER_NET_ENCRYPT=y 258 | CONFIG_DOCKER_NET_MACVLAN=y 259 | CONFIG_DOCKER_NET_OVERLAY=y 260 | CONFIG_DOCKER_NET_TFTP=y 261 | CONFIG_DOCKER_RES_SHAPE=y 262 | CONFIG_DOCKER_SECCOMP=y 263 | CONFIG_DOCKER_STO_BTRFS=y 264 | CONFIG_DOCKER_STO_EXT4=y 265 | 266 | CONFIG_PACKAGE_kmod-usb-serial=y 267 | CONFIG_PACKAGE_kmod-usb-serial-option=y 268 | CONFIG_PACKAGE_kmod-usb-serial-wwan=y 269 | CONFIG_PACKAGE_usb-modeswitch=y 270 | CONFIG_PACKAGE_kmod-mii=y 271 | CONFIG_PACKAGE_luci-proto-qmi=y 272 | CONFIG_PACKAGE_qmi-utils=y 273 | CONFIG_PACKAGE_umbim=y 274 | CONFIG_PACKAGE_uqmi=y 275 | CONFIG_PACKAGE_comgt-ncm=y 276 | CONFIG_PACKAGE_luci-proto-ncm=y 277 | CONFIG_PACKAGE_comgt=y 278 | CONFIG_PACKAGE_kmod-usb-acm=y 279 | CONFIG_PACKAGE_luci-proto-3g=y 280 | 281 | 282 | -------------------------------------------------------------------------------- /config/project/rpi4-project-openwrt.config: -------------------------------------------------------------------------------- 1 | CONFIG_TARGET_bcm27xx=y 2 | CONFIG_TARGET_bcm27xx_bcm2711=y 3 | CONFIG_TARGET_bcm27xx_bcm2711_DEVICE_rpi-4=y 4 | CONFIG_TARGET_KERNEL_PARTSIZE=64 5 | CONFIG_TARGET_ROOTFS_PARTSIZE=960 6 | CONFIG_TARGET_ROOTFS_TARGZ=y 7 | CONFIG_TARGET_ROOTFS_EXT4FS=y 8 | CONFIG_TARGET_ROOTFS_SQUASHFS=y 9 | 10 | CONFIG_ALL_KMODS=y 11 | CONFIG_IB=y 12 | CONFIG_IB_STANDALONE=y 13 | CONFIG_IMAGEOPT=y 14 | CONFIG_MAKE_TOOLCHAIN=y 15 | CONFIG_SDK=y 16 | CONFIG_TESTING_KERNEL=y 17 | 18 | CONFIG_PACKAGE_htop=y 19 | CONFIG_PACKAGE_automount=y 20 | CONFIG_PACKAGE_ipv6helper=m 21 | 22 | CONFIG_PACKAGE_kmod-fs-f2fs=y 23 | CONFIG_PACKAGE_kmod-fs-nfs=y 24 | CONFIG_PACKAGE_kmod-fs-nfs-common=y 25 | CONFIG_PACKAGE_kmod-fs-nfs-common-rpcsec=y 26 | CONFIG_PACKAGE_kmod-fs-nfs-v3=y 27 | CONFIG_PACKAGE_kmod-fs-nfs-v4=y 28 | CONFIG_PACKAGE_kmod-fs-nfsd=y 29 | CONFIG_PACKAGE_kmod-fs-squashfs=y 30 | CONFIG_PACKAGE_kmod-i2c-core=y 31 | CONFIG_PACKAGE_kmod-usb-audio=y 32 | CONFIG_PACKAGE_kmod-usb-net=y 33 | CONFIG_PACKAGE_kmod-usb-net-asix=y 34 | CONFIG_PACKAGE_kmod-usb-net-asix-ax88179=y 35 | CONFIG_PACKAGE_kmod-usb-net-cdc-eem=y 36 | CONFIG_PACKAGE_kmod-usb-net-cdc-ether=y 37 | CONFIG_PACKAGE_kmod-usb-net-cdc-mbim=y 38 | CONFIG_PACKAGE_kmod-usb-net-cdc-ncm=y 39 | CONFIG_PACKAGE_kmod-usb-net-cdc-subset=y 40 | CONFIG_PACKAGE_kmod-usb-net-dm9601-ether=y 41 | CONFIG_PACKAGE_kmod-usb-net-hso=y 42 | CONFIG_PACKAGE_kmod-usb-net-huawei-cdc-ncm=y 43 | CONFIG_PACKAGE_kmod-usb-net-ipheth=y 44 | CONFIG_PACKAGE_kmod-usb-net-kalmia=y 45 | CONFIG_PACKAGE_kmod-usb-net-kaweth=y 46 | CONFIG_PACKAGE_kmod-usb-net-mcs7830=y 47 | CONFIG_PACKAGE_kmod-usb-net-pegasus=y 48 | CONFIG_PACKAGE_kmod-usb-net-pl=y 49 | CONFIG_PACKAGE_kmod-usb-net-qmi-wwan=y 50 | CONFIG_PACKAGE_kmod-usb-net-rndis=y 51 | CONFIG_PACKAGE_kmod-usb-net-rtl8150=y 52 | CONFIG_PACKAGE_kmod-usb-net-rtl8152=y 53 | CONFIG_PACKAGE_kmod-usb-net-sierrawireless=y 54 | CONFIG_PACKAGE_kmod-usb-net-smsc95xx=y 55 | CONFIG_PACKAGE_kmod-usb-net-sr9700=y 56 | CONFIG_PACKAGE_kmod-usb-net2280=y 57 | CONFIG_PACKAGE_kmod-usb-ohci=y 58 | CONFIG_PACKAGE_kmod-usb-ohci-pci=y 59 | CONFIG_PACKAGE_kmod-usb-printer=y 60 | CONFIG_PACKAGE_kmod-usb-storage=y 61 | CONFIG_PACKAGE_kmod-usb-storage-extras=y 62 | CONFIG_PACKAGE_kmod-usb-storage-uas=y 63 | CONFIG_PACKAGE_kmod-usb-uhci=y 64 | CONFIG_PACKAGE_kmod-usb2=y 65 | CONFIG_PACKAGE_kmod-usb2-pci=y 66 | CONFIG_PACKAGE_kmod-usb3=y 67 | CONFIG_PACKAGE_kmod-video-core=y 68 | CONFIG_PACKAGE_kmod-video-uvc=y 69 | 70 | CONFIG_PACKAGE_kmod-ath=y 71 | CONFIG_ATH_USER_REGD=y 72 | CONFIG_PACKAGE_ATH_DFS=y 73 | CONFIG_PACKAGE_kmod-ath6kl=y 74 | CONFIG_PACKAGE_kmod-ath6kl-usb=y 75 | CONFIG_PACKAGE_kmod-ath9k-common=y 76 | CONFIG_PACKAGE_kmod-ath9k-htc=y 77 | CONFIG_PACKAGE_kmod-brcmfmac=y 78 | CONFIG_BRCMFMAC_SDIO=y 79 | CONFIG_BRCMFMAC_USB=y 80 | CONFIG_BRCMFMAC_PCIE=y 81 | CONFIG_PACKAGE_kmod-brcmutil=y 82 | CONFIG_PACKAGE_kmod-carl9170=y 83 | CONFIG_PACKAGE_kmod-cfg80211=y 84 | CONFIG_PACKAGE_kmod-lib80211=y 85 | CONFIG_PACKAGE_kmod-libertas-usb=y 86 | CONFIG_PACKAGE_kmod-mac80211=y 87 | CONFIG_PACKAGE_MAC80211_DEBUGFS=y 88 | CONFIG_PACKAGE_MAC80211_MESH=y 89 | CONFIG_PACKAGE_kmod-mt76-core=y 90 | CONFIG_PACKAGE_kmod-mt76-usb=y 91 | CONFIG_PACKAGE_kmod-mt7601u=y 92 | CONFIG_PACKAGE_kmod-mt7603=y 93 | CONFIG_PACKAGE_kmod-mt76x02-common=y 94 | CONFIG_PACKAGE_kmod-mt76x02-usb=y 95 | CONFIG_PACKAGE_kmod-mt76x2-common=y 96 | CONFIG_PACKAGE_kmod-mt76x2u=y 97 | CONFIG_PACKAGE_kmod-net-prism54=y 98 | CONFIG_PACKAGE_kmod-net-rtl8192su=y 99 | CONFIG_PACKAGE_kmod-p54-common=y 100 | CONFIG_PACKAGE_kmod-p54-usb=y 101 | CONFIG_PACKAGE_kmod-rsi91x=y 102 | CONFIG_PACKAGE_kmod-rsi91x-usb=y 103 | CONFIG_PACKAGE_kmod-rt2500-usb=y 104 | CONFIG_PACKAGE_kmod-rt2800-lib=y 105 | CONFIG_PACKAGE_kmod-rt2800-usb=y 106 | CONFIG_PACKAGE_kmod-rt2x00-lib=y 107 | CONFIG_PACKAGE_kmod-rt2x00-usb=y 108 | CONFIG_PACKAGE_kmod-rt73-usb=y 109 | CONFIG_PACKAGE_kmod-rtl8187=y 110 | CONFIG_PACKAGE_kmod-rtl8192c-common=y 111 | CONFIG_PACKAGE_kmod-rtl8192cu=y 112 | CONFIG_PACKAGE_kmod-rtlwifi=y 113 | CONFIG_PACKAGE_kmod-rtlwifi-usb=y 114 | CONFIG_PACKAGE_kmod-zd1211rw=y 115 | 116 | CONFIG_PACKAGE_luci-app-adblock=y 117 | CONFIG_PACKAGE_luci-app-adbyby-plus=y 118 | CONFIG_PACKAGE_luci-app-adguardhome=y 119 | CONFIG_PACKAGE_luci-app-adguardhome=y 120 | CONFIG_PACKAGE_luci-app-amule=y 121 | CONFIG_PACKAGE_luci-app-airplay2=y 122 | CONFIG_PACKAGE_luci-app-aria2=y 123 | CONFIG_PACKAGE_luci-app-brook-server=y 124 | CONFIG_PACKAGE_luci-app-cifs-mount=y 125 | CONFIG_PACKAGE_luci-app-commands=y 126 | CONFIG_PACKAGE_luci-app-diskman=y 127 | CONFIG_PACKAGE_luci-app-diskman_INCLUDE_btrfs_progs=y 128 | CONFIG_PACKAGE_luci-app-diskman_INCLUDE_lsblk=y 129 | CONFIG_PACKAGE_luci-app-diskman_INCLUDE_mdadm=y 130 | CONFIG_PACKAGE_luci-app-diskman_INCLUDE_kmod_md_raid456=y 131 | CONFIG_PACKAGE_luci-app-diskman_INCLUDE_kmod_md_linear=y 132 | CONFIG_PACKAGE_luci-app-dnspod=y 133 | CONFIG_PACKAGE_luci-app-dockerman=y 134 | CONFIG_PACKAGE_luci-app-familycloud=y 135 | CONFIG_PACKAGE_luci-app-fileassistant=y 136 | CONFIG_PACKAGE_luci-app-filebrowser=y 137 | CONFIG_PACKAGE_luci-app-frpc=y 138 | CONFIG_PACKAGE_luci-app-frps=y 139 | CONFIG_PACKAGE_luci-app-gowebdav=y 140 | CONFIG_PACKAGE_luci-app-guest-wifi=y 141 | CONFIG_PACKAGE_luci-app-haproxy-tcp=y 142 | CONFIG_PACKAGE_luci-app-hd-idle=y 143 | CONFIG_PACKAGE_luci-app-ipsec-vpnserver-manyusers=y 144 | CONFIG_PACKAGE_luci-app-kodexplorer=y 145 | CONFIG_PACKAGE_luci-app-minidlna=y 146 | CONFIG_PACKAGE_luci-app-mjpg-streamer=y 147 | CONFIG_PACKAGE_luci-app-music-remote-center=y 148 | CONFIG_PACKAGE_luci-app-mwan3=y 149 | CONFIG_PACKAGE_luci-app-mwan3helper=y 150 | CONFIG_PACKAGE_luci-app-n2n_v2=y 151 | CONFIG_PACKAGE_luci-app-netdata=y 152 | CONFIG_PACKAGE_luci-app-nfs=y 153 | CONFIG_PACKAGE_luci-app-nps=y 154 | CONFIG_PACKAGE_luci-app-onliner=y 155 | CONFIG_PACKAGE_luci-app-openclash=y 156 | CONFIG_PACKAGE_luci-app-openvpn-server=y 157 | CONFIG_PACKAGE_luci-app-passwall=y 158 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Brook=y 159 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks=y 160 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_ShadowsocksR_socks=y 161 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks_socks=y 162 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Trojan=y 163 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_dns2socks=y 164 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_kcptun=y 165 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_simple-obfs=y 166 | CONFIG_PACKAGE_luci-app-pppoe-server=y 167 | CONFIG_PACKAGE_luci-app-pptp-vpnserver-manyusers=y 168 | CONFIG_PACKAGE_luci-app-ps3netsrv=y 169 | CONFIG_PACKAGE_luci-app-rclone=y 170 | CONFIG_PACKAGE_luci-app-samba=y 171 | CONFIG_PACKAGE_luci-app-serverchan=y 172 | CONFIG_PACKAGE_luci-app-shairplay=y 173 | CONFIG_PACKAGE_luci-app-smartdns=y 174 | CONFIG_PACKAGE_luci-app-softethervpn=y 175 | CONFIG_PACKAGE_luci-app-sqm=y 176 | CONFIG_PACKAGE_luci-app-ssr-plus=y 177 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Kcptun=y 178 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Shadowsocks=y 179 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Server=y 180 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Socks=y 181 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Simple_obfs=y 182 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Trojan=y 183 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_V2ray=y 184 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_V2ray_plugin=y 185 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_DNS2SOCKS=y 186 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Redsocks2=y 187 | CONFIG_PACKAGE_luci-app-ssr-python-pro-server=y 188 | CONFIG_PACKAGE_luci-app-syncdial=y 189 | CONFIG_PACKAGE_luci-app-syncthing=y 190 | CONFIG_PACKAGE_luci-app-tinyproxy=y 191 | CONFIG_PACKAGE_luci-app-transmission=y 192 | CONFIG_PACKAGE_luci-app-trojan-server=y 193 | CONFIG_PACKAGE_luci-app-ttyd=y 194 | CONFIG_PACKAGE_luci-app-unblockmusic=y 195 | CONFIG_UnblockNeteaseMusic_Go=y 196 | CONFIG_UnblockNeteaseMusic_NodeJS=y 197 | CONFIG_PACKAGE_luci-app-usb-printer=y 198 | CONFIG_PACKAGE_luci-app-v2ray-server=y 199 | CONFIG_PACKAGE_luci-app-watchcat=y 200 | CONFIG_PACKAGE_luci-app-webadmin=y 201 | CONFIG_PACKAGE_luci-app-wifischedule=y 202 | CONFIG_PACKAGE_luci-app-wireguard=y 203 | CONFIG_PACKAGE_luci-app-wrtbwmon=y 204 | CONFIG_PACKAGE_luci-app-xlnetacc=y 205 | CONFIG_PACKAGE_luci-app-zerotier=y 206 | CONFIG_PACKAGE_luci-udptools=y 207 | CONFIG_PACKAGE_luci-proto-openconnect=y 208 | CONFIG_PACKAGE_luci-theme-argon=y 209 | CONFIG_PACKAGE_luci-theme-material=y 210 | 211 | CONFIG_PACKAGE_ariang=y 212 | CONFIG_PACKAGE_rsync=y 213 | CONFIG_PACKAGE_rsyncd=y 214 | CONFIG_PACKAGE_bind-host=y 215 | CONFIG_PACKAGE_openssh-sftp-client=y 216 | CONFIG_PACKAGE_openssh-sftp-server=y 217 | CONFIG_PACKAGE_xl2tpd=y 218 | CONFIG_PACKAGE_ppp-mod-pptp=y 219 | CONFIG_V2RAY_COMPRESS_UPX=n 220 | CONFIG_PACKAGE_ip6tables-extra=m 221 | CONFIG_PACKAGE_ip6tables-mod-nat=m 222 | 223 | CONFIG_PACKAGE_bsdtar=y 224 | CONFIG_PACKAGE_bzip2=y 225 | CONFIG_PACKAGE_e2fsprogs=y 226 | CONFIG_PACKAGE_gzip=y 227 | CONFIG_PACKAGE_unzip=y 228 | CONFIG_PACKAGE_zip=y 229 | CONFIG_PACKAGE_fdisk=y 230 | CONFIG_PACKAGE_fstrim=y 231 | CONFIG_PACKAGE_gpioctl-sysfs=y 232 | CONFIG_PACKAGE_gpiod-tools=y 233 | CONFIG_PACKAGE_i2c-tools=y 234 | CONFIG_PACKAGE_irqbalance=y 235 | CONFIG_PACKAGE_lsblk=y 236 | CONFIG_PACKAGE_lscpu=y 237 | CONFIG_PACKAGE_nano=y 238 | CONFIG_PACKAGE_vim-full=y 239 | CONFIG_PACKAGE_f2fs-tools=y 240 | CONFIG_PACKAGE_f2fsck=y 241 | CONFIG_PACKAGE_resize2fs=y 242 | CONFIG_PACKAGE_zsh=y 243 | CONFIG_PACKAGE_screen=y 244 | CONFIG_PACKAGE_tmux=y 245 | CONFIG_PACKAGE_docker-ce=y 246 | CONFIG_DOCKER_KERNEL_OPTIONS=y 247 | CONFIG_DOCKER_NET_ENCRYPT=y 248 | CONFIG_DOCKER_NET_MACVLAN=y 249 | CONFIG_DOCKER_NET_OVERLAY=y 250 | CONFIG_DOCKER_NET_TFTP=y 251 | CONFIG_DOCKER_RES_SHAPE=y 252 | CONFIG_DOCKER_SECCOMP=y 253 | CONFIG_DOCKER_STO_BTRFS=y 254 | CONFIG_DOCKER_STO_EXT4=y 255 | CONFIG_PACKAGE_tree=y 256 | CONFIG_PACKAGE_usbutils=y 257 | CONFIG_PACKAGE_whereis=y 258 | CONFIG_PACKAGE_gotop=y 259 | CONFIG_PACKAGE_tmate=y 260 | CONFIG_PACKAGE_udp2raw=y 261 | CONFIG_PACKAGE_udpspeeder=y 262 | 263 | CONFIG_PACKAGE_kmod-usb-serial=y 264 | CONFIG_PACKAGE_kmod-usb-serial-option=y 265 | CONFIG_PACKAGE_kmod-usb-serial-wwan=y 266 | CONFIG_PACKAGE_usb-modeswitch=y 267 | CONFIG_PACKAGE_kmod-mii=y 268 | CONFIG_PACKAGE_luci-proto-qmi=y 269 | CONFIG_PACKAGE_qmi-utils=y 270 | CONFIG_PACKAGE_umbim=y 271 | CONFIG_PACKAGE_uqmi=y 272 | CONFIG_PACKAGE_comgt-ncm=y 273 | CONFIG_PACKAGE_luci-proto-ncm=y 274 | CONFIG_PACKAGE_comgt=y 275 | CONFIG_PACKAGE_kmod-usb-acm=y 276 | CONFIG_PACKAGE_luci-proto-3g=y 277 | 278 | -------------------------------------------------------------------------------- /config/project/rpi3-project-openwrt.config: -------------------------------------------------------------------------------- 1 | CONFIG_TARGET_bcm27xx=y 2 | CONFIG_TARGET_bcm27xx_bcm2710=y 3 | CONFIG_TARGET_bcm27xx_bcm2710_DEVICE_rpi-3=y 4 | CONFIG_TARGET_KERNEL_PARTSIZE=64 5 | CONFIG_TARGET_ROOTFS_PARTSIZE=960 6 | CONFIG_TARGET_ROOTFS_TARGZ=y 7 | CONFIG_TARGET_ROOTFS_EXT4FS=y 8 | CONFIG_TARGET_ROOTFS_SQUASHFS=y 9 | 10 | CONFIG_ALL_KMODS=y 11 | CONFIG_IB=y 12 | CONFIG_IB_STANDALONE=y 13 | CONFIG_IMAGEOPT=y 14 | CONFIG_MAKE_TOOLCHAIN=y 15 | CONFIG_SDK=y 16 | CONFIG_TESTING_KERNEL=y 17 | 18 | CONFIG_PACKAGE_htop=y 19 | CONFIG_PACKAGE_automount=y 20 | CONFIG_PACKAGE_ipv6helper=m 21 | 22 | CONFIG_PACKAGE_kmod-fs-f2fs=y 23 | CONFIG_PACKAGE_kmod-fs-nfs=y 24 | CONFIG_PACKAGE_kmod-fs-nfs-common=y 25 | CONFIG_PACKAGE_kmod-fs-nfs-common-rpcsec=y 26 | CONFIG_PACKAGE_kmod-fs-nfs-v3=y 27 | CONFIG_PACKAGE_kmod-fs-nfs-v4=y 28 | CONFIG_PACKAGE_kmod-fs-nfsd=y 29 | CONFIG_PACKAGE_kmod-fs-squashfs=y 30 | CONFIG_PACKAGE_kmod-i2c-core=y 31 | CONFIG_PACKAGE_kmod-usb-audio=y 32 | CONFIG_PACKAGE_kmod-usb-net=y 33 | CONFIG_PACKAGE_kmod-usb-net-asix=y 34 | CONFIG_PACKAGE_kmod-usb-net-asix-ax88179=y 35 | CONFIG_PACKAGE_kmod-usb-net-cdc-eem=y 36 | CONFIG_PACKAGE_kmod-usb-net-cdc-ether=y 37 | CONFIG_PACKAGE_kmod-usb-net-cdc-mbim=y 38 | CONFIG_PACKAGE_kmod-usb-net-cdc-ncm=y 39 | CONFIG_PACKAGE_kmod-usb-net-cdc-subset=y 40 | CONFIG_PACKAGE_kmod-usb-net-dm9601-ether=y 41 | CONFIG_PACKAGE_kmod-usb-net-hso=y 42 | CONFIG_PACKAGE_kmod-usb-net-huawei-cdc-ncm=y 43 | CONFIG_PACKAGE_kmod-usb-net-ipheth=y 44 | CONFIG_PACKAGE_kmod-usb-net-kalmia=y 45 | CONFIG_PACKAGE_kmod-usb-net-kaweth=y 46 | CONFIG_PACKAGE_kmod-usb-net-mcs7830=y 47 | CONFIG_PACKAGE_kmod-usb-net-pegasus=y 48 | CONFIG_PACKAGE_kmod-usb-net-pl=y 49 | CONFIG_PACKAGE_kmod-usb-net-qmi-wwan=y 50 | CONFIG_PACKAGE_kmod-usb-net-rndis=y 51 | CONFIG_PACKAGE_kmod-usb-net-rtl8150=y 52 | CONFIG_PACKAGE_kmod-usb-net-rtl8152=y 53 | CONFIG_PACKAGE_kmod-usb-net-sierrawireless=y 54 | CONFIG_PACKAGE_kmod-usb-net-smsc95xx=y 55 | CONFIG_PACKAGE_kmod-usb-net-sr9700=y 56 | CONFIG_PACKAGE_kmod-usb-net2280=y 57 | CONFIG_PACKAGE_kmod-usb-ohci=y 58 | CONFIG_PACKAGE_kmod-usb-ohci-pci=y 59 | CONFIG_PACKAGE_kmod-usb-printer=y 60 | CONFIG_PACKAGE_kmod-usb-storage=y 61 | CONFIG_PACKAGE_kmod-usb-storage-extras=y 62 | CONFIG_PACKAGE_kmod-usb-storage-uas=y 63 | CONFIG_PACKAGE_kmod-usb-uhci=y 64 | CONFIG_PACKAGE_kmod-usb2=y 65 | CONFIG_PACKAGE_kmod-usb2-pci=y 66 | CONFIG_PACKAGE_kmod-usb3=y 67 | CONFIG_PACKAGE_kmod-video-core=y 68 | CONFIG_PACKAGE_kmod-video-uvc=y 69 | 70 | CONFIG_PACKAGE_kmod-ath=y 71 | CONFIG_ATH_USER_REGD=y 72 | CONFIG_PACKAGE_ATH_DFS=y 73 | CONFIG_PACKAGE_kmod-ath6kl=y 74 | CONFIG_PACKAGE_kmod-ath6kl-usb=y 75 | CONFIG_PACKAGE_kmod-ath9k-common=y 76 | CONFIG_PACKAGE_kmod-ath9k-htc=y 77 | CONFIG_PACKAGE_kmod-brcmfmac=y 78 | CONFIG_BRCMFMAC_SDIO=y 79 | CONFIG_BRCMFMAC_USB=y 80 | CONFIG_BRCMFMAC_PCIE=y 81 | CONFIG_PACKAGE_kmod-brcmutil=y 82 | CONFIG_PACKAGE_kmod-carl9170=y 83 | CONFIG_PACKAGE_kmod-cfg80211=y 84 | CONFIG_PACKAGE_kmod-lib80211=y 85 | CONFIG_PACKAGE_kmod-libertas-usb=y 86 | CONFIG_PACKAGE_kmod-mac80211=y 87 | CONFIG_PACKAGE_MAC80211_DEBUGFS=y 88 | CONFIG_PACKAGE_MAC80211_MESH=y 89 | CONFIG_PACKAGE_kmod-mt76-core=y 90 | CONFIG_PACKAGE_kmod-mt76-usb=y 91 | CONFIG_PACKAGE_kmod-mt7601u=y 92 | CONFIG_PACKAGE_kmod-mt7603=y 93 | CONFIG_PACKAGE_kmod-mt76x02-common=y 94 | CONFIG_PACKAGE_kmod-mt76x02-usb=y 95 | CONFIG_PACKAGE_kmod-mt76x2-common=y 96 | CONFIG_PACKAGE_kmod-mt76x2u=y 97 | CONFIG_PACKAGE_kmod-net-prism54=y 98 | CONFIG_PACKAGE_kmod-net-rtl8192su=y 99 | CONFIG_PACKAGE_kmod-p54-common=y 100 | CONFIG_PACKAGE_kmod-p54-usb=y 101 | CONFIG_PACKAGE_kmod-rsi91x=y 102 | CONFIG_PACKAGE_kmod-rsi91x-usb=y 103 | CONFIG_PACKAGE_kmod-rt2500-usb=y 104 | CONFIG_PACKAGE_kmod-rt2800-lib=y 105 | CONFIG_PACKAGE_kmod-rt2800-usb=y 106 | CONFIG_PACKAGE_kmod-rt2x00-lib=y 107 | CONFIG_PACKAGE_kmod-rt2x00-usb=y 108 | CONFIG_PACKAGE_kmod-rt73-usb=y 109 | CONFIG_PACKAGE_kmod-rtl8187=y 110 | CONFIG_PACKAGE_kmod-rtl8192c-common=y 111 | CONFIG_PACKAGE_kmod-rtl8192cu=y 112 | CONFIG_PACKAGE_kmod-rtlwifi=y 113 | CONFIG_PACKAGE_kmod-rtlwifi-usb=y 114 | CONFIG_PACKAGE_kmod-zd1211rw=y 115 | 116 | CONFIG_PACKAGE_luci-app-adblock=y 117 | CONFIG_PACKAGE_luci-app-adbyby-plus=y 118 | CONFIG_PACKAGE_luci-app-adguardhome=y 119 | CONFIG_PACKAGE_luci-app-adguardhome=y 120 | CONFIG_PACKAGE_luci-app-amule=y 121 | CONFIG_PACKAGE_luci-app-airplay2=y 122 | CONFIG_PACKAGE_luci-app-aria2=y 123 | CONFIG_PACKAGE_luci-app-brook-server=y 124 | CONFIG_PACKAGE_luci-app-cifs-mount=y 125 | CONFIG_PACKAGE_luci-app-commands=y 126 | CONFIG_PACKAGE_luci-app-diskman=y 127 | CONFIG_PACKAGE_luci-app-diskman_INCLUDE_btrfs_progs=y 128 | CONFIG_PACKAGE_luci-app-diskman_INCLUDE_lsblk=y 129 | CONFIG_PACKAGE_luci-app-diskman_INCLUDE_mdadm=y 130 | CONFIG_PACKAGE_luci-app-diskman_INCLUDE_kmod_md_raid456=y 131 | CONFIG_PACKAGE_luci-app-diskman_INCLUDE_kmod_md_linear=y 132 | CONFIG_PACKAGE_luci-app-dnspod=y 133 | CONFIG_PACKAGE_luci-app-dockerman=y 134 | CONFIG_PACKAGE_luci-app-familycloud=y 135 | CONFIG_PACKAGE_luci-app-fileassistant=y 136 | CONFIG_PACKAGE_luci-app-filebrowser=y 137 | CONFIG_PACKAGE_luci-app-frpc=y 138 | CONFIG_PACKAGE_luci-app-frps=y 139 | CONFIG_PACKAGE_luci-app-gowebdav=y 140 | CONFIG_PACKAGE_luci-app-guest-wifi=y 141 | CONFIG_PACKAGE_luci-app-haproxy-tcp=y 142 | CONFIG_PACKAGE_luci-app-hd-idle=y 143 | CONFIG_PACKAGE_luci-app-ipsec-vpnserver-manyusers=y 144 | CONFIG_PACKAGE_luci-app-kodexplorer=y 145 | CONFIG_PACKAGE_luci-app-minidlna=y 146 | CONFIG_PACKAGE_luci-app-mjpg-streamer=y 147 | CONFIG_PACKAGE_luci-app-music-remote-center=y 148 | CONFIG_PACKAGE_luci-app-mwan3=y 149 | CONFIG_PACKAGE_luci-app-mwan3helper=y 150 | CONFIG_PACKAGE_luci-app-n2n_v2=y 151 | CONFIG_PACKAGE_luci-app-netdata=y 152 | CONFIG_PACKAGE_luci-app-nfs=y 153 | CONFIG_PACKAGE_luci-app-nps=y 154 | CONFIG_PACKAGE_luci-app-onliner=y 155 | CONFIG_PACKAGE_luci-app-openclash=y 156 | CONFIG_PACKAGE_luci-app-openvpn-server=y 157 | CONFIG_PACKAGE_luci-app-passwall=y 158 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Brook=y 159 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks=y 160 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_ShadowsocksR_socks=y 161 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks_socks=y 162 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Trojan=y 163 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_dns2socks=y 164 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_kcptun=y 165 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_simple-obfs=y 166 | CONFIG_PACKAGE_luci-app-pppoe-server=y 167 | CONFIG_PACKAGE_luci-app-pptp-vpnserver-manyusers=y 168 | CONFIG_PACKAGE_luci-app-ps3netsrv=y 169 | CONFIG_PACKAGE_luci-app-rclone=y 170 | CONFIG_PACKAGE_luci-app-samba=y 171 | CONFIG_PACKAGE_luci-app-serverchan=y 172 | CONFIG_PACKAGE_luci-app-shairplay=y 173 | CONFIG_PACKAGE_luci-app-smartdns=y 174 | CONFIG_PACKAGE_luci-app-softethervpn=y 175 | CONFIG_PACKAGE_luci-app-sqm=y 176 | CONFIG_PACKAGE_luci-app-ssr-plus=y 177 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Kcptun=y 178 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Shadowsocks=y 179 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Server=y 180 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Socks=y 181 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Simple_obfs=y 182 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Trojan=y 183 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_V2ray=y 184 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_V2ray_plugin=y 185 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_DNS2SOCKS=y 186 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Redsocks2=y 187 | CONFIG_PACKAGE_luci-app-ssr-python-pro-server=y 188 | CONFIG_PACKAGE_luci-app-syncdial=y 189 | CONFIG_PACKAGE_luci-app-syncthing=y 190 | CONFIG_PACKAGE_luci-app-tinyproxy=y 191 | CONFIG_PACKAGE_luci-app-transmission=y 192 | CONFIG_PACKAGE_luci-app-trojan-server=y 193 | CONFIG_PACKAGE_luci-app-ttyd=y 194 | CONFIG_PACKAGE_luci-app-unblockmusic=y 195 | CONFIG_UnblockNeteaseMusic_Go=y 196 | CONFIG_UnblockNeteaseMusic_NodeJS=y 197 | CONFIG_PACKAGE_luci-app-usb-printer=y 198 | CONFIG_PACKAGE_luci-app-v2ray-server=y 199 | CONFIG_PACKAGE_luci-app-watchcat=y 200 | CONFIG_PACKAGE_luci-app-webadmin=y 201 | CONFIG_PACKAGE_luci-app-wifischedule=y 202 | CONFIG_PACKAGE_luci-app-wireguard=y 203 | CONFIG_PACKAGE_luci-app-wrtbwmon=y 204 | CONFIG_PACKAGE_luci-app-xlnetacc=y 205 | CONFIG_PACKAGE_luci-app-zerotier=y 206 | CONFIG_PACKAGE_luci-udptools=y 207 | CONFIG_PACKAGE_luci-proto-openconnect=y 208 | CONFIG_PACKAGE_luci-theme-argon=y 209 | CONFIG_PACKAGE_luci-theme-material=y 210 | 211 | CONFIG_PACKAGE_ariang=y 212 | CONFIG_PACKAGE_rsync=y 213 | CONFIG_PACKAGE_rsyncd=y 214 | CONFIG_PACKAGE_bind-host=y 215 | CONFIG_PACKAGE_openssh-sftp-client=y 216 | CONFIG_PACKAGE_openssh-sftp-server=y 217 | CONFIG_PACKAGE_xl2tpd=y 218 | CONFIG_PACKAGE_ppp-mod-pptp=y 219 | CONFIG_V2RAY_COMPRESS_UPX=n 220 | CONFIG_PACKAGE_ip6tables-extra=m 221 | CONFIG_PACKAGE_ip6tables-mod-nat=m 222 | 223 | CONFIG_PACKAGE_bsdtar=y 224 | CONFIG_PACKAGE_bzip2=y 225 | CONFIG_PACKAGE_e2fsprogs=y 226 | CONFIG_PACKAGE_gzip=y 227 | CONFIG_PACKAGE_unzip=y 228 | CONFIG_PACKAGE_zip=y 229 | CONFIG_PACKAGE_fdisk=y 230 | CONFIG_PACKAGE_fstrim=y 231 | CONFIG_PACKAGE_gpioctl-sysfs=y 232 | CONFIG_PACKAGE_gpiod-tools=y 233 | CONFIG_PACKAGE_i2c-tools=y 234 | CONFIG_PACKAGE_irqbalance=y 235 | CONFIG_PACKAGE_lscpu=y 236 | CONFIG_PACKAGE_lsblk=y 237 | CONFIG_PACKAGE_nano=y 238 | CONFIG_PACKAGE_vim-full=y 239 | CONFIG_PACKAGE_f2fs-tools=y 240 | CONFIG_PACKAGE_f2fsck=y 241 | CONFIG_PACKAGE_resize2fs=y 242 | CONFIG_PACKAGE_zsh=y 243 | CONFIG_PACKAGE_screen=y 244 | CONFIG_PACKAGE_tmux=y 245 | CONFIG_PACKAGE_docker-ce=y 246 | CONFIG_DOCKER_KERNEL_OPTIONS=y 247 | CONFIG_DOCKER_NET_ENCRYPT=y 248 | CONFIG_DOCKER_NET_MACVLAN=y 249 | CONFIG_DOCKER_NET_OVERLAY=y 250 | CONFIG_DOCKER_NET_TFTP=y 251 | CONFIG_DOCKER_RES_SHAPE=y 252 | CONFIG_DOCKER_SECCOMP=y 253 | CONFIG_DOCKER_STO_BTRFS=y 254 | CONFIG_DOCKER_STO_EXT4=y 255 | CONFIG_PACKAGE_tree=y 256 | CONFIG_PACKAGE_usbutils=y 257 | CONFIG_PACKAGE_whereis=y 258 | CONFIG_PACKAGE_gotop=y 259 | CONFIG_PACKAGE_subconverter=y 260 | CONFIG_PACKAGE_tmate=y 261 | CONFIG_PACKAGE_udp2raw=y 262 | CONFIG_PACKAGE_udpspeeder=y 263 | 264 | CONFIG_PACKAGE_kmod-usb-serial=y 265 | CONFIG_PACKAGE_kmod-usb-serial-option=y 266 | CONFIG_PACKAGE_kmod-usb-serial-wwan=y 267 | CONFIG_PACKAGE_usb-modeswitch=y 268 | CONFIG_PACKAGE_kmod-mii=y 269 | CONFIG_PACKAGE_luci-proto-qmi=y 270 | CONFIG_PACKAGE_qmi-utils=y 271 | CONFIG_PACKAGE_umbim=y 272 | CONFIG_PACKAGE_uqmi=y 273 | CONFIG_PACKAGE_comgt-ncm=y 274 | CONFIG_PACKAGE_luci-proto-ncm=y 275 | CONFIG_PACKAGE_comgt=y 276 | CONFIG_PACKAGE_kmod-usb-acm=y 277 | CONFIG_PACKAGE_luci-proto-3g=y 278 | -------------------------------------------------------------------------------- /.github/workflows/build-rpi3-lean-openwrt.yml: -------------------------------------------------------------------------------- 1 | #================================================= 2 | # https://github.com/P3TERX/Actions-OpenWrt 3 | # Description: Build OpenWrt using GitHub Actions 4 | # Lisence: MIT 5 | # Author: P3TERX 6 | # Blog: https://p3terx.com 7 | #================================================= 8 | 9 | name: Build Raspberry Pi 3 Lean's OpenWrt 10 | 11 | on: 12 | repository_dispatch: 13 | release: 14 | types: published 15 | push: 16 | branches: 17 | - master 18 | paths: 19 | - 'config/lean/rpi3-lean-openwrt.config' 20 | # schedule: 21 | # - cron: 0 10 * * * 22 | watch: 23 | types: started 24 | 25 | env: 26 | REPO_URL: https://github.com/coolsnowwolf/lede 27 | REPO_BRANCH: master 28 | CONFIG_FILE: config/lean/rpi3-lean-openwrt.config 29 | DEVICE: openwrt-bcm27xx-bcm2710-rpi-3 30 | ROOTFS_DEVICE: openwrt-bcm27xx-bcm2710-rpi-3 31 | DOCKERHUB_TOKEN: a5b24901-5ade-4284-b7ba-f0bdc25c95eb 32 | DIY_SH: scripts/lean-openwrt.sh 33 | SSH_ACTIONS: false 34 | KMODS_IN_FIRMWARE: true 35 | UPLOAD_EXT4_IMAGES: true 36 | UPLOAD_SQUASHFS_IMAGES: true 37 | UPLOAD_ROOTFS: true 38 | UPLOAD_WETRANSFER: true 39 | UPLOAD_COWTRANSFER: true 40 | TZ: Asia/Shanghai 41 | 42 | jobs: 43 | build: 44 | runs-on: ubuntu-18.04 45 | if: github.event.repository.owner.id == github.event.sender.id 46 | 47 | steps: 48 | - name: Checkout 49 | uses: actions/checkout@master 50 | 51 | - name: Initialization Environment 52 | env: 53 | DEBIAN_FRONTEND: noninteractive 54 | run: | 55 | sudo rm -rf /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc 56 | sudo -E apt-get -qq update 57 | sudo -E apt-get -qq install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs gcc-multilib g++-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler antlr3 gperf 58 | sudo -E apt-get -qq autoremove --purge 59 | sudo -E apt-get -qq clean 60 | sudo timedatectl set-timezone "$TZ" 61 | - name: Clone Source Code 62 | run: git clone --depth 1 $REPO_URL -b $REPO_BRANCH openwrt 63 | 64 | - name: Update Feeds 65 | run: | 66 | cd openwrt 67 | echo "::set-env name=OPENWRTROOT::$PWD" 68 | ./scripts/feeds update -a 69 | - name: Install Feeds 70 | run: | 71 | cd $OPENWRTROOT 72 | ./scripts/feeds install -a 73 | - name: Load Custom Configuration 74 | run: | 75 | [ -e files ] && mv files $OPENWRTROOT/files 76 | [ -e $CONFIG_FILE ] && mv $CONFIG_FILE $OPENWRTROOT/.config 77 | chmod +x $DIY_SH 78 | cd $OPENWRTROOT 79 | ../$DIY_SH 80 | - name: SSH Connection To Actions 81 | uses: P3TERX/debugger-action@master 82 | if: env.SSH_ACTIONS == 'true' || contains(github.event.action, 'ssh') 83 | 84 | - name: Download Package 85 | id: package 86 | run: | 87 | cd $OPENWRTROOT 88 | if "$KMODS_IN_FIRMWARE" = 'true' 89 | then 90 | echo "CONFIG_ALL_KMODS=y" >> .config 91 | fi 92 | make defconfig 93 | make download -j8 94 | find dl -size -1024c -exec ls -l {} \; 95 | find dl -size -1024c -exec rm -f {} \; 96 | - name: Compile Packages 97 | id: compile 98 | run: | 99 | cd $OPENWRTROOT 100 | echo -e "$(nproc) thread compile" 101 | make tools/compile -j$(nproc) || make tools/compile -j1 V=s 102 | make toolchain/compile -j$(nproc) || make toolchain/compile -j1 V=s 103 | make target/compile -j$(nproc) || make target/compile -j1 V=s IGNORE_ERRORS=1 104 | make diffconfig 105 | make package/compile -j$(nproc) IGNORE_ERRORS=1 || make package/compile -j1 V=s IGNORE_ERRORS=1 106 | make package/index 107 | echo "::set-output name=status::success" 108 | - name: Set Environment Variable 109 | if: steps.compile.outputs.status == 'success' 110 | run: | 111 | cd $OPENWRTROOT/bin/packages/* 112 | PLATFORM=$(basename `pwd`) 113 | echo "::set-env name=PLATFORM::$PLATFORM" 114 | cd $OPENWRTROOT/bin/targets/* 115 | TARGET=$(basename `pwd`) 116 | echo "::set-env name=TARGET::$TARGET" 117 | cd * 118 | SUBTARGET=$(basename `pwd`) 119 | echo "::set-env name=SUBTARGET::$SUBTARGET" 120 | echo "::set-env name=FIRMWARE::$PWD" 121 | - name: Generate Firmware 122 | if: steps.compile.outputs.status == 'success' 123 | id: generate 124 | run: | 125 | cd $OPENWRTROOT 126 | mkdir -p files/etc/opkg 127 | if "$KMODS_IN_FIRMWARE" = 'true' 128 | then 129 | mkdir -p files/www/snapshots/targets 130 | cp -r bin/targets/$TARGET files/www/snapshots/targets 131 | cp ../config/opkg/distfeeds-18.06-local.conf files/etc/opkg/distfeeds.conf 132 | sed -i "s/subtarget/$SUBTARGET/g" files/etc/opkg/distfeeds.conf 133 | sed -i "s/target\//$TARGET\//g" files/etc/opkg/distfeeds.conf 134 | sed -i "s/platform/$PLATFORM/g" files/etc/opkg/distfeeds.conf 135 | else 136 | cp ../config/opkg/distfeeds-18.06-remote.conf files/etc/opkg/distfeeds.conf 137 | sed -i "s/subtarget/$SUBTARGET/g" files/etc/opkg/distfeeds.conf 138 | sed -i "s/target\//$TARGET\//g" files/etc/opkg/distfeeds.conf 139 | sed -i "s/platform/$PLATFORM/g" files/etc/opkg/distfeeds.conf 140 | fi 141 | make package/install -j$(nproc) || make package/install -j1 V=s 142 | make target/install -j$(nproc) || make target/install -j1 V=s 143 | make checksum 144 | grep '^CONFIG_TARGET.*DEVICE.*=y' .config | sed -r 's/.*DEVICE_(.*)=y/\1/' > DEVICE_NAME 145 | [ -s DEVICE_NAME ] && echo "::set-env name=DEVICE_NAME::_$(cat DEVICE_NAME)" 146 | echo "::set-env name=FILE_DATE::_$(date +"%Y%m%d%H%M")" 147 | echo "::set-output name=status::success" 148 | 149 | - name: Deploy Packages-Server 150 | if: steps.generate.outputs.status == 'success' 151 | run: | 152 | mkdir -p server/web/snapshots/targets/$TARGET/$SUBTARGET 153 | cp -r $OPENWRTROOT/bin/packages server/web/snapshots 154 | cp -r $OPENWRTROOT/bin/targets/$TARGET/$SUBTARGET/packages server/web/snapshots/targets/$TARGET/$SUBTARGET 155 | mkdir -p $OPENWRTROOT/bin/targets/$TARGET/$SUBTARGET/pre-packages-server 156 | cp -r server $OPENWRTROOT/bin/targets/$TARGET/$SUBTARGET/pre-packages-server 157 | cd $OPENWRTROOT/bin/targets/$TARGET/$SUBTARGET 158 | zip -q -r packages-server.zip pre-packages-server/server 159 | 160 | - name: Extract Gz Files 161 | if: steps.generate.outputs.status == 'success' 162 | run: | 163 | cd $OPENWRTROOT/bin/targets/$TARGET/$SUBTARGET 164 | gzip -qdc $DEVICE-squashfs-factory.img.gz > $DEVICE-squashfs-factory.img || true 165 | gzip -qdc $DEVICE-squashfs-sysupgrade.img.gz > $DEVICE-squashfs-sysupgrade.img || true 166 | gzip -qdc $DEVICE-ext4-factory.img.gz > $DEVICE-ext4-factory.img || true 167 | gzip -qdc $DEVICE-ext4-sysupgrade.img.gz > $DEVICE-ext4-sysupgrade.img || true 168 | 169 | - name: Generate Sha256sum File For Images 170 | if: steps.generate.outputs.status == 'success' 171 | run: | 172 | cd $OPENWRTROOT/bin/targets/$TARGET/$SUBTARGET 173 | mv sha256sums sha256sums.orig 174 | sha256sum *.img > sha256sums 175 | 176 | - name: Upload Config 177 | uses: actions/upload-artifact@master 178 | if: steps.generate.outputs.status == 'success' 179 | with: 180 | name: config.seed 181 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/config.seed 182 | 183 | - name: Upload Packages-Server 184 | uses: actions/upload-artifact@master 185 | if: steps.generate.outputs.status == 'success' 186 | with: 187 | name: packages-server 188 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/pre-packages-server 189 | 190 | - name: Upload Packages Info 191 | uses: actions/upload-artifact@master 192 | if: steps.generate.outputs.status == 'success' 193 | with: 194 | name: ${{ env.DEVICE }}.manifest 195 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.DEVICE }}.manifest 196 | 197 | - name: Upload RootFS Archive 198 | uses: actions/upload-artifact@master 199 | if: steps.generate.outputs.status == 'success' && env.UPLOAD_ROOTFS == 'true' 200 | with: 201 | name: ${{ env.DEVICE }}-rootfs.tar.gz 202 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.DEVICE }}-rootfs.tar.gz 203 | 204 | - name: Generate docker image 205 | if: steps.generate.outputs.status == 'success' && env.UPLOAD_ROOTFS == 'true' 206 | run: | 207 | current_time=`date "+%Y-%m-%d"` 208 | echo ${{ env.DOCKERHUB_TOKEN }} | xargs docker login -u scenerycmopen --password 209 | docker import openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.ROOTFS_DEVICE }}-rootfs.tar.gz scenerycmopen/${{ env.ROOTFS_DEVICE }}-lean-openwrt:$current_time 210 | docker push scenerycmopen/${{ env.ROOTFS_DEVICE }}-lean-openwrt:$current_time 211 | docker tag scenerycmopen/${{ env.ROOTFS_DEVICE }}-lean-openwrt:$current_time scenerycmopen/${{ env.ROOTFS_DEVICE }}-lean-openwrt:latest 212 | docker push scenerycmopen/${{ env.ROOTFS_DEVICE }}-lean-openwrt:latest 213 | 214 | - name: Upload SquashFS Factory Image 215 | uses: actions/upload-artifact@master 216 | if: steps.generate.outputs.status == 'success' && env.UPLOAD_SQUASHFS_IMAGES == 'true' 217 | with: 218 | name: ${{ env.DEVICE }}-squashfs-factory.img 219 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.DEVICE }}-squashfs-factory.img 220 | 221 | - name: Upload SquashFS Sysupgrade Image 222 | uses: actions/upload-artifact@master 223 | if: steps.generate.outputs.status == 'success' && env.UPLOAD_SQUASHFS_IMAGES == 'true' 224 | with: 225 | name: ${{ env.DEVICE }}-squashfs-sysupgrade.img 226 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.DEVICE }}-squashfs-sysupgrade.img 227 | 228 | - name: Upload Ext4 Factory Image 229 | uses: actions/upload-artifact@master 230 | if: steps.generate.outputs.status == 'success' && env.UPLOAD_EXT4_IMAGES == 'true' 231 | with: 232 | name: ${{ env.DEVICE }}-ext4-factory.img 233 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.DEVICE }}-ext4-factory.img 234 | 235 | - name: Upload Ext4 Sysupgrade Image 236 | uses: actions/upload-artifact@master 237 | if: steps.generate.outputs.status == 'success' && env.UPLOAD_EXT4_IMAGES == 'true' 238 | with: 239 | name: ${{ env.DEVICE }}-ext4-sysupgrade.img 240 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.DEVICE }}-ext4-sysupgrade.img 241 | 242 | - name: Upload Images Sha256sums 243 | uses: actions/upload-artifact@master 244 | if: steps.generate.outputs.status == 'success' 245 | with: 246 | name: sha256sums 247 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/sha256sums -------------------------------------------------------------------------------- /.github/workflows/build-rpi4-lean-openwrt.yml: -------------------------------------------------------------------------------- 1 | #================================================= 2 | # https://github.com/P3TERX/Actions-OpenWrt 3 | # Description: Build OpenWrt using GitHub Actions 4 | # Lisence: MIT 5 | # Author: P3TERX 6 | # Blog: https://p3terx.com 7 | #================================================= 8 | 9 | name: Build Raspberry Pi 4 Lean's OpenWrt 10 | 11 | on: 12 | repository_dispatch: 13 | release: 14 | types: published 15 | push: 16 | branches: 17 | - master 18 | paths: 19 | - 'config/lean/rpi4-lean-openwrt.config' 20 | # schedule: 21 | # - cron: 0 16 * * * 22 | # watch: 23 | # types: started 24 | 25 | env: 26 | REPO_URL: https://github.com/coolsnowwolf/lede 27 | REPO_BRANCH: master 28 | CONFIG_FILE: config/lean/rpi4-lean-openwrt.config 29 | DEVICE: openwrt-bcm27xx-bcm2711-rpi-4 30 | ROOTFS_DEVICE: openwrt-bcm27xx-bcm2711-rpi-4 31 | DOCKERHUB_TOKEN: a5b24901-5ade-4284-b7ba-f0bdc25c95eb 32 | DIY_SH: scripts/lean-openwrt.sh 33 | SSH_ACTIONS: false 34 | KMODS_IN_FIRMWARE: true 35 | UPLOAD_EXT4_IMAGES: true 36 | UPLOAD_SQUASHFS_IMAGES: true 37 | UPLOAD_ROOTFS: true 38 | UPLOAD_WETRANSFER: true 39 | UPLOAD_COWTRANSFER: true 40 | TZ: Asia/Shanghai 41 | 42 | jobs: 43 | build: 44 | runs-on: ubuntu-18.04 45 | if: github.event.repository.owner.id == github.event.sender.id 46 | 47 | steps: 48 | - name: Checkout 49 | uses: actions/checkout@master 50 | 51 | - name: Initialization Environment 52 | env: 53 | DEBIAN_FRONTEND: noninteractive 54 | run: | 55 | sudo rm -rf /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc 56 | sudo -E apt-get -qq update 57 | sudo -E apt-get -qq install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs gcc-multilib g++-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler antlr3 gperf 58 | sudo -E apt-get -qq autoremove --purge 59 | sudo -E apt-get -qq clean 60 | sudo timedatectl set-timezone "$TZ" 61 | 62 | - name: Clone Source Code 63 | run: git clone --depth 1 $REPO_URL -b $REPO_BRANCH openwrt 64 | 65 | - name: Update Feeds 66 | run: | 67 | cd openwrt 68 | echo "::set-env name=OPENWRTROOT::$PWD" 69 | ./scripts/feeds update -a 70 | 71 | - name: Install Feeds 72 | run: | 73 | cd $OPENWRTROOT 74 | ./scripts/feeds install -a 75 | 76 | - name: Load Custom Configuration 77 | run: | 78 | [ -e files ] && mv files $OPENWRTROOT/files 79 | [ -e $CONFIG_FILE ] && mv $CONFIG_FILE $OPENWRTROOT/.config 80 | chmod +x $DIY_SH 81 | cd $OPENWRTROOT 82 | ../$DIY_SH 83 | 84 | - name: SSH Connection To Actions 85 | uses: P3TERX/debugger-action@master 86 | if: env.SSH_ACTIONS == 'true' || contains(github.event.action, 'ssh') 87 | 88 | - name: Download Package 89 | id: package 90 | run: | 91 | cd $OPENWRTROOT 92 | if "$KMODS_IN_FIRMWARE" = 'true' 93 | then 94 | echo "CONFIG_ALL_KMODS=y" >> .config 95 | fi 96 | make defconfig 97 | make download -j8 98 | find dl -size -1024c -exec ls -l {} \; 99 | find dl -size -1024c -exec rm -f {} \; 100 | 101 | - name: Compile Packages 102 | id: compile 103 | run: | 104 | cd $OPENWRTROOT 105 | echo -e "$(nproc) thread compile" 106 | make tools/compile -j$(nproc) || make tools/compile -j1 V=s 107 | make toolchain/compile -j$(nproc) || make toolchain/compile -j1 V=s 108 | make target/compile -j$(nproc) || make target/compile -j1 V=s IGNORE_ERRORS=1 109 | make diffconfig 110 | make package/compile -j$(nproc) IGNORE_ERRORS=1 || make package/compile -j1 V=s IGNORE_ERRORS=1 111 | make package/index 112 | echo "::set-output name=status::success" 113 | 114 | - name: Set Environment Variable 115 | if: steps.compile.outputs.status == 'success' 116 | run: | 117 | cd $OPENWRTROOT/bin/packages/* 118 | PLATFORM=$(basename `pwd`) 119 | echo "::set-env name=PLATFORM::$PLATFORM" 120 | cd $OPENWRTROOT/bin/targets/* 121 | TARGET=$(basename `pwd`) 122 | echo "::set-env name=TARGET::$TARGET" 123 | cd * 124 | SUBTARGET=$(basename `pwd`) 125 | echo "::set-env name=SUBTARGET::$SUBTARGET" 126 | echo "::set-env name=FIRMWARE::$PWD" 127 | 128 | - name: Generate Firmware 129 | if: steps.compile.outputs.status == 'success' 130 | id: generate 131 | run: | 132 | cd $OPENWRTROOT 133 | mkdir -p files/etc/opkg 134 | if "$KMODS_IN_FIRMWARE" = 'true' 135 | then 136 | mkdir -p files/www/snapshots/targets 137 | cp -r bin/targets/$TARGET files/www/snapshots/targets 138 | cp ../config/opkg/distfeeds-18.06-local.conf files/etc/opkg/distfeeds.conf 139 | sed -i "s/subtarget/$SUBTARGET/g" files/etc/opkg/distfeeds.conf 140 | sed -i "s/target\//$TARGET\//g" files/etc/opkg/distfeeds.conf 141 | sed -i "s/platform/$PLATFORM/g" files/etc/opkg/distfeeds.conf 142 | else 143 | cp ../config/opkg/distfeeds-18.06-remote.conf files/etc/opkg/distfeeds.conf 144 | sed -i "s/subtarget/$SUBTARGET/g" files/etc/opkg/distfeeds.conf 145 | sed -i "s/target\//$TARGET\//g" files/etc/opkg/distfeeds.conf 146 | sed -i "s/platform/$PLATFORM/g" files/etc/opkg/distfeeds.conf 147 | fi 148 | make package/install -j$(nproc) || make package/install -j1 V=s 149 | make target/install -j$(nproc) || make target/install -j1 V=s 150 | make checksum 151 | grep '^CONFIG_TARGET.*DEVICE.*=y' .config | sed -r 's/.*DEVICE_(.*)=y/\1/' > DEVICE_NAME 152 | [ -s DEVICE_NAME ] && echo "::set-env name=DEVICE_NAME::_$(cat DEVICE_NAME)" 153 | echo "::set-env name=FILE_DATE::_$(date +"%Y%m%d%H%M")" 154 | echo "::set-output name=status::success" 155 | 156 | - name: Deploy Packages-Server 157 | if: steps.generate.outputs.status == 'success' 158 | run: | 159 | mkdir -p server/web/snapshots/targets/$TARGET/$SUBTARGET 160 | cp -r $OPENWRTROOT/bin/packages server/web/snapshots 161 | cp -r $OPENWRTROOT/bin/targets/$TARGET/$SUBTARGET/packages server/web/snapshots/targets/$TARGET/$SUBTARGET 162 | mkdir -p $OPENWRTROOT/bin/targets/$TARGET/$SUBTARGET/pre-packages-server 163 | cp -r server $OPENWRTROOT/bin/targets/$TARGET/$SUBTARGET/pre-packages-server 164 | cd $OPENWRTROOT/bin/targets/$TARGET/$SUBTARGET 165 | zip -q -r packages-server.zip pre-packages-server/server 166 | 167 | - name: Extract Gz Files 168 | if: steps.generate.outputs.status == 'success' 169 | run: | 170 | cd $OPENWRTROOT/bin/targets/$TARGET/$SUBTARGET 171 | gzip -qdc $DEVICE-squashfs-factory.img.gz > $DEVICE-squashfs-factory.img || true 172 | gzip -qdc $DEVICE-squashfs-sysupgrade.img.gz > $DEVICE-squashfs-sysupgrade.img || true 173 | gzip -qdc $DEVICE-ext4-factory.img.gz > $DEVICE-ext4-factory.img || true 174 | gzip -qdc $DEVICE-ext4-sysupgrade.img.gz > $DEVICE-ext4-sysupgrade.img || true 175 | 176 | - name: Generate Sha256sum File For Images 177 | if: steps.generate.outputs.status == 'success' 178 | run: | 179 | cd $OPENWRTROOT/bin/targets/$TARGET/$SUBTARGET 180 | mv sha256sums sha256sums.orig 181 | sha256sum *.img > sha256sums 182 | 183 | - name: Upload Config 184 | uses: actions/upload-artifact@master 185 | if: steps.generate.outputs.status == 'success' 186 | with: 187 | name: config.seed 188 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/config.seed 189 | 190 | - name: Upload Packages-Server 191 | uses: actions/upload-artifact@master 192 | if: steps.generate.outputs.status == 'success' 193 | with: 194 | name: packages-server 195 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/pre-packages-server 196 | 197 | - name: Upload Packages Info 198 | uses: actions/upload-artifact@master 199 | if: steps.generate.outputs.status == 'success' 200 | with: 201 | name: ${{ env.DEVICE }}.manifest 202 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.DEVICE }}.manifest 203 | 204 | - name: Upload RootFS Archive 205 | uses: actions/upload-artifact@master 206 | if: steps.generate.outputs.status == 'success' && env.UPLOAD_ROOTFS == 'true' 207 | with: 208 | name: ${{ env.DEVICE }}-rootfs.tar.gz 209 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.DEVICE }}-rootfs.tar.gz 210 | 211 | - name: Generate docker image 212 | if: steps.generate.outputs.status == 'success' && env.UPLOAD_ROOTFS == 'true' 213 | run: | 214 | current_time=`date "+%Y-%m-%d"` 215 | echo ${{ env.DOCKERHUB_TOKEN }} | xargs docker login -u scenerycmopen --password 216 | docker import openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.ROOTFS_DEVICE }}-rootfs.tar.gz scenerycmopen/${{ env.ROOTFS_DEVICE }}-lean-openwrt:$current_time 217 | docker push scenerycmopen/${{ env.ROOTFS_DEVICE }}-lean-openwrt:$current_time 218 | docker tag scenerycmopen/${{ env.ROOTFS_DEVICE }}-lean-openwrt:$current_time scenerycmopen/${{ env.ROOTFS_DEVICE }}-lean-openwrt:latest 219 | docker push scenerycmopen/${{ env.ROOTFS_DEVICE }}-lean-openwrt:latest 220 | 221 | - name: Upload SquashFS Factory Image 222 | uses: actions/upload-artifact@master 223 | if: steps.generate.outputs.status == 'success' && env.UPLOAD_SQUASHFS_IMAGES == 'true' 224 | with: 225 | name: ${{ env.DEVICE }}-squashfs-factory.img 226 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.DEVICE }}-squashfs-factory.img 227 | 228 | - name: Upload SquashFS Sysupgrade Image 229 | uses: actions/upload-artifact@master 230 | if: steps.generate.outputs.status == 'success' && env.UPLOAD_SQUASHFS_IMAGES == 'true' 231 | with: 232 | name: ${{ env.DEVICE }}-squashfs-sysupgrade.img 233 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.DEVICE }}-squashfs-sysupgrade.img 234 | 235 | - name: Upload Ext4 Factory Image 236 | uses: actions/upload-artifact@master 237 | if: steps.generate.outputs.status == 'success' && env.UPLOAD_EXT4_IMAGES == 'true' 238 | with: 239 | name: ${{ env.DEVICE }}-ext4-factory.img 240 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.DEVICE }}-ext4-factory.img 241 | 242 | - name: Upload Ext4 Sysupgrade Image 243 | uses: actions/upload-artifact@master 244 | if: steps.generate.outputs.status == 'success' && env.UPLOAD_EXT4_IMAGES == 'true' 245 | with: 246 | name: ${{ env.DEVICE }}-ext4-sysupgrade.img 247 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.DEVICE }}-ext4-sysupgrade.img 248 | 249 | - name: Upload Images Sha256sums 250 | uses: actions/upload-artifact@master 251 | if: steps.generate.outputs.status == 'success' 252 | with: 253 | name: sha256sums 254 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/sha256sums 255 | 256 | - name: Organize Files 257 | id: organize 258 | if: steps.generate.outputs.status == 'success' && !cancelled() 259 | run: | 260 | cd $OPENWRTROOT/bin/targets/$TARGET/$SUBTARGET 261 | rm -rf *.img packages pre-packages-server sha256sums 262 | mv sha256sums.orig sha256sums 263 | echo "::set-output name=status::success" 264 | -------------------------------------------------------------------------------- /.github/workflows/build-rpi4-project-openwrt.yml: -------------------------------------------------------------------------------- 1 | #================================================= 2 | # https://github.com/P3TERX/Actions-OpenWrt 3 | # Description: Build OpenWrt using GitHub Actions 4 | # Lisence: MIT 5 | # Author: P3TERX 6 | # Blog: https://p3terx.com 7 | #================================================= 8 | 9 | name: Build Raspberry Pi 4 Project OpenWrt 10 | 11 | on: 12 | repository_dispatch: 13 | release: 14 | types: published 15 | push: 16 | branches: 17 | - master 18 | paths: 19 | - 'config/project/rpi4-project-openwrt.config' 20 | # schedule: 21 | # - cron: 0 16 * * * 22 | # watch: 23 | # types: started 24 | 25 | env: 26 | REPO_URL: https://github.com/project-openwrt/openwrt 27 | REPO_BRANCH: 18.06-kernel5.4 28 | CONFIG_FILE: config/project/rpi4-project-openwrt.config 29 | DEVICE: openwrt-bcm27xx-bcm2711-rpi-4 30 | ROOTFS_DEVICE: openwrt-bcm27xx-bcm2711-rpi-4 31 | DOCKERHUB_TOKEN: a5b24901-5ade-4284-b7ba-f0bdc25c95eb 32 | DIY_SH: scripts/project-openwrt.sh 33 | SSH_ACTIONS: false 34 | KMODS_IN_FIRMWARE: true 35 | UPLOAD_EXT4_IMAGES: true 36 | UPLOAD_SQUASHFS_IMAGES: true 37 | UPLOAD_ROOTFS: true 38 | UPLOAD_WETRANSFER: true 39 | UPLOAD_COWTRANSFER: true 40 | TZ: Asia/Shanghai 41 | 42 | jobs: 43 | build: 44 | runs-on: ubuntu-18.04 45 | if: github.event.repository.owner.id == github.event.sender.id 46 | 47 | steps: 48 | - name: Checkout 49 | uses: actions/checkout@master 50 | 51 | - name: Initialization Environment 52 | env: 53 | DEBIAN_FRONTEND: noninteractive 54 | run: | 55 | sudo rm -rf /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc 56 | sudo -E apt-get -qq update 57 | sudo -E apt-get -qq install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs gcc-multilib g++-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler antlr3 gperf 58 | sudo -E apt-get -qq autoremove --purge 59 | sudo -E apt-get -qq clean 60 | sudo timedatectl set-timezone "$TZ" 61 | 62 | - name: Clone Source Code 63 | run: git clone --depth 1 $REPO_URL -b $REPO_BRANCH openwrt 64 | 65 | - name: Update Feeds 66 | run: | 67 | cd openwrt 68 | echo "::set-env name=OPENWRTROOT::$PWD" 69 | ./scripts/feeds update -a 70 | 71 | - name: Install Feeds 72 | run: | 73 | cd $OPENWRTROOT 74 | ./scripts/feeds install -a 75 | 76 | - name: Load Custom Configuration 77 | run: | 78 | [ -e files ] && mv files $OPENWRTROOT/files 79 | [ -e $CONFIG_FILE ] && mv $CONFIG_FILE $OPENWRTROOT/.config 80 | chmod +x $DIY_SH 81 | cd $OPENWRTROOT 82 | ../$DIY_SH 83 | 84 | - name: SSH Connection To Actions 85 | uses: P3TERX/debugger-action@master 86 | if: env.SSH_ACTIONS == 'true' || contains(github.event.action, 'ssh') 87 | 88 | - name: Download Package 89 | id: package 90 | run: | 91 | cd $OPENWRTROOT 92 | if "$KMODS_IN_FIRMWARE" = 'true' 93 | then 94 | echo "CONFIG_ALL_KMODS=y" >> .config 95 | fi 96 | make defconfig 97 | make download -j8 98 | find dl -size -1024c -exec ls -l {} \; 99 | find dl -size -1024c -exec rm -f {} \; 100 | 101 | - name: Compile Packages 102 | id: compile 103 | run: | 104 | cd $OPENWRTROOT 105 | echo -e "$(nproc) thread compile" 106 | make tools/compile -j$(nproc) || make tools/compile -j1 V=s 107 | make toolchain/compile -j$(nproc) || make toolchain/compile -j1 V=s 108 | make target/compile -j$(nproc) || make target/compile -j1 V=s IGNORE_ERRORS=1 109 | make diffconfig 110 | make package/compile -j$(nproc) IGNORE_ERRORS=1 || make package/compile -j1 V=s IGNORE_ERRORS=1 111 | make package/index 112 | echo "::set-output name=status::success" 113 | 114 | - name: Set Environment Variable 115 | if: steps.compile.outputs.status == 'success' 116 | run: | 117 | cd $OPENWRTROOT/bin/packages/* 118 | PLATFORM=$(basename `pwd`) 119 | echo "::set-env name=PLATFORM::$PLATFORM" 120 | cd $OPENWRTROOT/bin/targets/* 121 | TARGET=$(basename `pwd`) 122 | echo "::set-env name=TARGET::$TARGET" 123 | cd * 124 | SUBTARGET=$(basename `pwd`) 125 | echo "::set-env name=SUBTARGET::$SUBTARGET" 126 | echo "::set-env name=FIRMWARE::$PWD" 127 | 128 | - name: Generate Firmware 129 | if: steps.compile.outputs.status == 'success' 130 | id: generate 131 | run: | 132 | cd $OPENWRTROOT 133 | mkdir -p files/etc/opkg 134 | if "$KMODS_IN_FIRMWARE" = 'true' 135 | then 136 | mkdir -p files/www/snapshots/targets 137 | cp -r bin/targets/$TARGET files/www/snapshots/targets 138 | cp ../config/opkg/distfeeds-18.06-local.conf files/etc/opkg/distfeeds.conf 139 | sed -i "s/subtarget/$SUBTARGET/g" files/etc/opkg/distfeeds.conf 140 | sed -i "s/target\//$TARGET\//g" files/etc/opkg/distfeeds.conf 141 | sed -i "s/platform/$PLATFORM/g" files/etc/opkg/distfeeds.conf 142 | else 143 | cp ../config/opkg/distfeeds-18.06-remote.conf files/etc/opkg/distfeeds.conf 144 | sed -i "s/subtarget/$SUBTARGET/g" files/etc/opkg/distfeeds.conf 145 | sed -i "s/target\//$TARGET\//g" files/etc/opkg/distfeeds.conf 146 | sed -i "s/platform/$PLATFORM/g" files/etc/opkg/distfeeds.conf 147 | fi 148 | make package/install -j$(nproc) || make package/install -j1 V=s 149 | make target/install -j$(nproc) || make target/install -j1 V=s 150 | make checksum 151 | grep '^CONFIG_TARGET.*DEVICE.*=y' .config | sed -r 's/.*DEVICE_(.*)=y/\1/' > DEVICE_NAME 152 | [ -s DEVICE_NAME ] && echo "::set-env name=DEVICE_NAME::_$(cat DEVICE_NAME)" 153 | echo "::set-env name=FILE_DATE::_$(date +"%Y%m%d%H%M")" 154 | echo "::set-output name=status::success" 155 | 156 | - name: Deploy Packages-Server 157 | if: steps.generate.outputs.status == 'success' 158 | run: | 159 | mkdir -p server/web/snapshots/targets/$TARGET/$SUBTARGET 160 | cp -r $OPENWRTROOT/bin/packages server/web/snapshots 161 | cp -r $OPENWRTROOT/bin/targets/$TARGET/$SUBTARGET/packages server/web/snapshots/targets/$TARGET/$SUBTARGET 162 | mkdir -p $OPENWRTROOT/bin/targets/$TARGET/$SUBTARGET/pre-packages-server 163 | cp -r server $OPENWRTROOT/bin/targets/$TARGET/$SUBTARGET/pre-packages-server 164 | cd $OPENWRTROOT/bin/targets/$TARGET/$SUBTARGET 165 | zip -q -r packages-server.zip pre-packages-server/server 166 | 167 | - name: Extract Gz Files 168 | if: steps.generate.outputs.status == 'success' 169 | run: | 170 | cd $OPENWRTROOT/bin/targets/$TARGET/$SUBTARGET 171 | gzip -qdc $DEVICE-squashfs-factory.img.gz > $DEVICE-squashfs-factory.img || true 172 | gzip -qdc $DEVICE-squashfs-sysupgrade.img.gz > $DEVICE-squashfs-sysupgrade.img || true 173 | gzip -qdc $DEVICE-ext4-factory.img.gz > $DEVICE-ext4-factory.img || true 174 | gzip -qdc $DEVICE-ext4-sysupgrade.img.gz > $DEVICE-ext4-sysupgrade.img || true 175 | 176 | - name: Generate Sha256sum File For Images 177 | if: steps.generate.outputs.status == 'success' 178 | run: | 179 | cd $OPENWRTROOT/bin/targets/$TARGET/$SUBTARGET 180 | mv sha256sums sha256sums.orig 181 | sha256sum *.img > sha256sums 182 | 183 | - name: Upload Config 184 | uses: actions/upload-artifact@master 185 | if: steps.generate.outputs.status == 'success' 186 | with: 187 | name: config.seed 188 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/config.seed 189 | 190 | - name: Upload Packages-Server 191 | uses: actions/upload-artifact@master 192 | if: steps.generate.outputs.status == 'success' 193 | with: 194 | name: packages-server 195 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/pre-packages-server 196 | 197 | - name: Upload Packages Info 198 | uses: actions/upload-artifact@master 199 | if: steps.generate.outputs.status == 'success' 200 | with: 201 | name: ${{ env.DEVICE }}.manifest 202 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.DEVICE }}.manifest 203 | 204 | - name: Upload RootFS Archive 205 | uses: actions/upload-artifact@master 206 | if: steps.generate.outputs.status == 'success' && env.UPLOAD_ROOTFS == 'true' 207 | with: 208 | name: ${{ env.DEVICE }}-rootfs.tar.gz 209 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.DEVICE }}-rootfs.tar.gz 210 | 211 | - name: Generate docker image 212 | if: steps.generate.outputs.status == 'success' && env.UPLOAD_ROOTFS == 'true' 213 | run: | 214 | current_time=`date "+%Y-%m-%d"` 215 | echo ${{ env.DOCKERHUB_TOKEN }} | xargs docker login -u scenerycmopen --password 216 | docker import openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.ROOTFS_DEVICE }}-rootfs.tar.gz scenerycmopen/${{ env.ROOTFS_DEVICE }}-project-openwrt:$current_time 217 | docker push scenerycmopen/${{ env.ROOTFS_DEVICE }}-project-openwrt:$current_time 218 | docker tag scenerycmopen/${{ env.ROOTFS_DEVICE }}-project-openwrt:$current_time scenerycmopen/${{ env.ROOTFS_DEVICE }}-project-openwrt:latest 219 | docker push scenerycmopen/${{ env.ROOTFS_DEVICE }}-project-openwrt:latest 220 | 221 | - name: Upload SquashFS Factory Image 222 | uses: actions/upload-artifact@master 223 | if: steps.generate.outputs.status == 'success' && env.UPLOAD_SQUASHFS_IMAGES == 'true' 224 | with: 225 | name: ${{ env.DEVICE }}-squashfs-factory.img 226 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.DEVICE }}-squashfs-factory.img 227 | 228 | - name: Upload SquashFS Sysupgrade Image 229 | uses: actions/upload-artifact@master 230 | if: steps.generate.outputs.status == 'success' && env.UPLOAD_SQUASHFS_IMAGES == 'true' 231 | with: 232 | name: ${{ env.DEVICE }}-squashfs-sysupgrade.img 233 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.DEVICE }}-squashfs-sysupgrade.img 234 | 235 | - name: Upload Ext4 Factory Image 236 | uses: actions/upload-artifact@master 237 | if: steps.generate.outputs.status == 'success' && env.UPLOAD_EXT4_IMAGES == 'true' 238 | with: 239 | name: ${{ env.DEVICE }}-ext4-factory.img 240 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.DEVICE }}-ext4-factory.img 241 | 242 | - name: Upload Ext4 Sysupgrade Image 243 | uses: actions/upload-artifact@master 244 | if: steps.generate.outputs.status == 'success' && env.UPLOAD_EXT4_IMAGES == 'true' 245 | with: 246 | name: ${{ env.DEVICE }}-ext4-sysupgrade.img 247 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.DEVICE }}-ext4-sysupgrade.img 248 | 249 | - name: Upload Images Sha256sums 250 | uses: actions/upload-artifact@master 251 | if: steps.generate.outputs.status == 'success' 252 | with: 253 | name: sha256sums 254 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/sha256sums 255 | 256 | - name: Organize Files 257 | id: organize 258 | if: steps.generate.outputs.status == 'success' && !cancelled() 259 | run: | 260 | cd $OPENWRTROOT/bin/targets/$TARGET/$SUBTARGET 261 | rm -rf *.img packages pre-packages-server sha256sums 262 | mv sha256sums.orig sha256sums 263 | echo "::set-output name=status::success" 264 | -------------------------------------------------------------------------------- /.github/workflows/build-rpi3-project-openwrt.yml: -------------------------------------------------------------------------------- 1 | #================================================= 2 | # https://github.com/P3TERX/Actions-OpenWrt 3 | # Description: Build OpenWrt using GitHub Actions 4 | # Lisence: MIT 5 | # Author: P3TERX 6 | # Blog: https://p3terx.com 7 | #================================================= 8 | 9 | name: Build Raspberry Pi 3 Project OpenWrt 10 | 11 | on: 12 | repository_dispatch: 13 | release: 14 | types: published 15 | push: 16 | branches: 17 | - master 18 | paths: 19 | - 'config/project/rpi3-project-openwrt.config' 20 | # schedule: 21 | # - cron: 0 10 * * * 22 | watch: 23 | types: started 24 | 25 | env: 26 | REPO_URL: https://github.com/project-openwrt/openwrt 27 | REPO_BRANCH: 18.06-kernel5.4 28 | CONFIG_FILE: config/project/rpi3-project-openwrt.config 29 | DEVICE: openwrt-bcm27xx-bcm2710-rpi-3 30 | ROOTFS_DEVICE: openwrt-bcm27xx-bcm2710-rpi-3 31 | DOCKERHUB_TOKEN: a5b24901-5ade-4284-b7ba-f0bdc25c95eb 32 | DIY_SH: scripts/project-openwrt.sh 33 | SSH_ACTIONS: false 34 | KMODS_IN_FIRMWARE: true 35 | UPLOAD_EXT4_IMAGES: true 36 | UPLOAD_SQUASHFS_IMAGES: true 37 | UPLOAD_ROOTFS: true 38 | UPLOAD_WETRANSFER: true 39 | UPLOAD_COWTRANSFER: true 40 | TZ: Asia/Shanghai 41 | 42 | jobs: 43 | build: 44 | runs-on: ubuntu-18.04 45 | if: github.event.repository.owner.id == github.event.sender.id 46 | 47 | steps: 48 | - name: Checkout 49 | uses: actions/checkout@master 50 | 51 | - name: Initialization Environment 52 | env: 53 | DEBIAN_FRONTEND: noninteractive 54 | run: | 55 | sudo rm -rf /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc 56 | sudo -E apt-get -qq update 57 | sudo -E apt-get -qq install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs gcc-multilib g++-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler antlr3 gperf 58 | sudo -E apt-get -qq autoremove --purge 59 | sudo -E apt-get -qq clean 60 | sudo timedatectl set-timezone "$TZ" 61 | 62 | - name: Clone Source Code 63 | run: git clone --depth 1 $REPO_URL -b $REPO_BRANCH openwrt 64 | 65 | - name: Update Feeds 66 | run: | 67 | cd openwrt 68 | echo "::set-env name=OPENWRTROOT::$PWD" 69 | ./scripts/feeds update -a 70 | 71 | - name: Install Feeds 72 | run: | 73 | cd $OPENWRTROOT 74 | ./scripts/feeds install -a 75 | 76 | - name: Load Custom Configuration 77 | run: | 78 | [ -e files ] && mv files $OPENWRTROOT/files 79 | [ -e $CONFIG_FILE ] && mv $CONFIG_FILE $OPENWRTROOT/.config 80 | chmod +x $DIY_SH 81 | cd $OPENWRTROOT 82 | ../$DIY_SH 83 | 84 | - name: SSH Connection To Actions 85 | uses: P3TERX/debugger-action@master 86 | if: env.SSH_ACTIONS == 'true' || contains(github.event.action, 'ssh') 87 | 88 | - name: Download Package 89 | id: package 90 | run: | 91 | cd $OPENWRTROOT 92 | if "$KMODS_IN_FIRMWARE" = 'true' 93 | then 94 | echo "CONFIG_ALL_KMODS=y" >> .config 95 | fi 96 | make defconfig 97 | make download -j8 98 | find dl -size -1024c -exec ls -l {} \; 99 | find dl -size -1024c -exec rm -f {} \; 100 | 101 | - name: Compile Packages 102 | id: compile 103 | run: | 104 | cd $OPENWRTROOT 105 | echo -e "$(nproc) thread compile" 106 | make tools/compile -j$(nproc) || make tools/compile -j1 V=s 107 | make toolchain/compile -j$(nproc) || make toolchain/compile -j1 V=s 108 | make target/compile -j$(nproc) || make target/compile -j1 V=s IGNORE_ERRORS=1 109 | make diffconfig 110 | make package/compile -j$(nproc) IGNORE_ERRORS=1 || make package/compile -j1 V=s IGNORE_ERRORS=1 111 | make package/index 112 | echo "::set-output name=status::success" 113 | 114 | - name: Set Environment Variable 115 | if: steps.compile.outputs.status == 'success' 116 | run: | 117 | cd $OPENWRTROOT/bin/packages/* 118 | PLATFORM=$(basename `pwd`) 119 | echo "::set-env name=PLATFORM::$PLATFORM" 120 | cd $OPENWRTROOT/bin/targets/* 121 | TARGET=$(basename `pwd`) 122 | echo "::set-env name=TARGET::$TARGET" 123 | cd * 124 | SUBTARGET=$(basename `pwd`) 125 | echo "::set-env name=SUBTARGET::$SUBTARGET" 126 | echo "::set-env name=FIRMWARE::$PWD" 127 | 128 | - name: Generate Firmware 129 | if: steps.compile.outputs.status == 'success' 130 | id: generate 131 | run: | 132 | cd $OPENWRTROOT 133 | mkdir -p files/etc/opkg 134 | if "$KMODS_IN_FIRMWARE" = 'true' 135 | then 136 | mkdir -p files/www/snapshots/targets 137 | cp -r bin/targets/$TARGET files/www/snapshots/targets 138 | cp ../config/opkg/distfeeds-18.06-local.conf files/etc/opkg/distfeeds.conf 139 | sed -i "s/subtarget/$SUBTARGET/g" files/etc/opkg/distfeeds.conf 140 | sed -i "s/target\//$TARGET\//g" files/etc/opkg/distfeeds.conf 141 | sed -i "s/platform/$PLATFORM/g" files/etc/opkg/distfeeds.conf 142 | else 143 | cp ../config/opkg/distfeeds-18.06-remote.conf files/etc/opkg/distfeeds.conf 144 | sed -i "s/subtarget/$SUBTARGET/g" files/etc/opkg/distfeeds.conf 145 | sed -i "s/target\//$TARGET\//g" files/etc/opkg/distfeeds.conf 146 | sed -i "s/platform/$PLATFORM/g" files/etc/opkg/distfeeds.conf 147 | fi 148 | make package/install -j$(nproc) || make package/install -j1 V=s 149 | make target/install -j$(nproc) || make target/install -j1 V=s 150 | make checksum 151 | grep '^CONFIG_TARGET.*DEVICE.*=y' .config | sed -r 's/.*DEVICE_(.*)=y/\1/' > DEVICE_NAME 152 | [ -s DEVICE_NAME ] && echo "::set-env name=DEVICE_NAME::_$(cat DEVICE_NAME)" 153 | echo "::set-env name=FILE_DATE::_$(date +"%Y%m%d%H%M")" 154 | echo "::set-output name=status::success" 155 | 156 | - name: Deploy Packages-Server 157 | if: steps.generate.outputs.status == 'success' 158 | run: | 159 | mkdir -p server/web/snapshots/targets/$TARGET/$SUBTARGET 160 | cp -r $OPENWRTROOT/bin/packages server/web/snapshots 161 | cp -r $OPENWRTROOT/bin/targets/$TARGET/$SUBTARGET/packages server/web/snapshots/targets/$TARGET/$SUBTARGET 162 | mkdir -p $OPENWRTROOT/bin/targets/$TARGET/$SUBTARGET/pre-packages-server 163 | cp -r server $OPENWRTROOT/bin/targets/$TARGET/$SUBTARGET/pre-packages-server 164 | cd $OPENWRTROOT/bin/targets/$TARGET/$SUBTARGET 165 | zip -q -r packages-server.zip pre-packages-server/server 166 | 167 | - name: Extract Gz Files 168 | if: steps.generate.outputs.status == 'success' 169 | run: | 170 | cd $OPENWRTROOT/bin/targets/$TARGET/$SUBTARGET 171 | gzip -qdc $DEVICE-squashfs-factory.img.gz > $DEVICE-squashfs-factory.img || true 172 | gzip -qdc $DEVICE-squashfs-sysupgrade.img.gz > $DEVICE-squashfs-sysupgrade.img || true 173 | gzip -qdc $DEVICE-ext4-factory.img.gz > $DEVICE-ext4-factory.img || true 174 | gzip -qdc $DEVICE-ext4-sysupgrade.img.gz > $DEVICE-ext4-sysupgrade.img || true 175 | 176 | - name: Generate Sha256sum File For Images 177 | if: steps.generate.outputs.status == 'success' 178 | run: | 179 | cd $OPENWRTROOT/bin/targets/$TARGET/$SUBTARGET 180 | mv sha256sums sha256sums.orig 181 | sha256sum *.img > sha256sums 182 | 183 | - name: Upload Config 184 | uses: actions/upload-artifact@master 185 | if: steps.generate.outputs.status == 'success' 186 | with: 187 | name: config.seed 188 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/config.seed 189 | 190 | - name: Upload Packages-Server 191 | uses: actions/upload-artifact@master 192 | if: steps.generate.outputs.status == 'success' 193 | with: 194 | name: packages-server 195 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/pre-packages-server 196 | 197 | - name: Upload Packages Info 198 | uses: actions/upload-artifact@master 199 | if: steps.generate.outputs.status == 'success' 200 | with: 201 | name: ${{ env.DEVICE }}.manifest 202 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.DEVICE }}.manifest 203 | 204 | - name: Upload RootFS Archive 205 | uses: actions/upload-artifact@master 206 | if: steps.generate.outputs.status == 'success' && env.UPLOAD_ROOTFS == 'true' 207 | with: 208 | name: ${{ env.DEVICE }}-rootfs.tar.gz 209 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.DEVICE }}-rootfs.tar.gz 210 | 211 | - name: Generate docker image 212 | if: steps.generate.outputs.status == 'success' && env.UPLOAD_ROOTFS == 'true' 213 | run: | 214 | current_time=`date "+%Y-%m-%d"` 215 | echo ${{ env.DOCKERHUB_TOKEN }} | xargs docker login -u scenerycmopen --password 216 | docker import openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.ROOTFS_DEVICE }}-rootfs.tar.gz scenerycmopen/${{ env.ROOTFS_DEVICE }}-project-openwrt:$current_time 217 | docker push scenerycmopen/${{ env.ROOTFS_DEVICE }}-project-openwrt:$current_time 218 | docker tag scenerycmopen/${{ env.ROOTFS_DEVICE }}-project-openwrt:$current_time scenerycmopen/${{ env.ROOTFS_DEVICE }}-project-openwrt:latest 219 | docker push scenerycmopen/${{ env.ROOTFS_DEVICE }}-project-openwrt:latest 220 | 221 | - name: Upload SquashFS Factory Image 222 | uses: actions/upload-artifact@master 223 | if: steps.generate.outputs.status == 'success' && env.UPLOAD_SQUASHFS_IMAGES == 'true' 224 | with: 225 | name: ${{ env.DEVICE }}-squashfs-factory.img 226 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.DEVICE }}-squashfs-factory.img 227 | 228 | - name: Upload SquashFS Sysupgrade Image 229 | uses: actions/upload-artifact@master 230 | if: steps.generate.outputs.status == 'success' && env.UPLOAD_SQUASHFS_IMAGES == 'true' 231 | with: 232 | name: ${{ env.DEVICE }}-squashfs-sysupgrade.img 233 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.DEVICE }}-squashfs-sysupgrade.img 234 | 235 | - name: Upload Ext4 Factory Image 236 | uses: actions/upload-artifact@master 237 | if: steps.generate.outputs.status == 'success' && env.UPLOAD_EXT4_IMAGES == 'true' 238 | with: 239 | name: ${{ env.DEVICE }}-ext4-factory.img 240 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.DEVICE }}-ext4-factory.img 241 | 242 | - name: Upload Ext4 Sysupgrade Image 243 | uses: actions/upload-artifact@master 244 | if: steps.generate.outputs.status == 'success' && env.UPLOAD_EXT4_IMAGES == 'true' 245 | with: 246 | name: ${{ env.DEVICE }}-ext4-sysupgrade.img 247 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.DEVICE }}-ext4-sysupgrade.img 248 | 249 | - name: Upload Images Sha256sums 250 | uses: actions/upload-artifact@master 251 | if: steps.generate.outputs.status == 'success' 252 | with: 253 | name: sha256sums 254 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/sha256sums 255 | 256 | - name: Organize Files 257 | id: organize 258 | if: steps.generate.outputs.status == 'success' && !cancelled() 259 | run: | 260 | cd $OPENWRTROOT/bin/targets/$TARGET/$SUBTARGET 261 | rm -rf *.img packages pre-packages-server sha256sums 262 | mv sha256sums.orig sha256sums 263 | echo "::set-output name=status::success" 264 | -------------------------------------------------------------------------------- /.github/workflows/build-rpi4-offical-openwrt.yml: -------------------------------------------------------------------------------- 1 | #================================================= 2 | # https://github.com/P3TERX/Actions-OpenWrt 3 | # Description: Build OpenWrt using GitHub Actions 4 | # Lisence: MIT 5 | # Author: P3TERX 6 | # Blog: https://p3terx.com 7 | #================================================= 8 | 9 | name: Build Raspberry Pi 4 Offical OpenWrt 10 | 11 | on: 12 | repository_dispatch: 13 | release: 14 | types: published 15 | push: 16 | branches: 17 | - master 18 | paths: 19 | - 'config/offical/rpi4-offical-openwrt.config' 20 | # schedule: 21 | # - cron: 0 16 * * * 22 | watch: 23 | types: started 24 | 25 | env: 26 | REPO_URL: https://github.com/openwrt/openwrt 27 | REPO_BRANCH: master 28 | CONFIG_FILE: config/offical/rpi4-offical-openwrt.config 29 | DEVICE: openwrt-bcm27xx-bcm2711-rpi-4 30 | ROOTFS_DEVICE: openwrt-bcm27xx-bcm2711-rpi-4 31 | DOCKERHUB_TOKEN: a5b24901-5ade-4284-b7ba-f0bdc25c95eb 32 | DIY_SH: scripts/offical-openwrt.sh 33 | SSH_ACTIONS: false 34 | KMODS_IN_FIRMWARE: true 35 | UPLOAD_EXT4_IMAGES: true 36 | UPLOAD_SQUASHFS_IMAGES: true 37 | UPLOAD_ROOTFS: true 38 | UPLOAD_WETRANSFER: true 39 | UPLOAD_COWTRANSFER: true 40 | TZ: Asia/Shanghai 41 | 42 | jobs: 43 | build: 44 | runs-on: ubuntu-18.04 45 | if: github.event.repository.owner.id == github.event.sender.id 46 | 47 | steps: 48 | - name: Checkout 49 | uses: actions/checkout@master 50 | 51 | - name: Initialization Environment 52 | env: 53 | DEBIAN_FRONTEND: noninteractive 54 | run: | 55 | sudo rm -rf /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc 56 | sudo -E apt-get -qq update 57 | sudo -E apt-get -qq install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs gcc-multilib g++-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler antlr3 gperf 58 | sudo -E apt-get -qq autoremove --purge 59 | sudo -E apt-get -qq clean 60 | sudo timedatectl set-timezone "$TZ" 61 | 62 | - name: Clone Source Code 63 | run: git clone --depth 1 $REPO_URL -b $REPO_BRANCH openwrt 64 | 65 | - name: Update Feeds 66 | run: | 67 | cd openwrt 68 | echo "::set-env name=OPENWRTROOT::$PWD" 69 | sed -i 's/luci.git/luci.git\;openwrt-19.07/g' feeds.conf.default 70 | ./scripts/feeds update -a 71 | 72 | - name: Install Feeds 73 | run: | 74 | cd $OPENWRTROOT 75 | ./scripts/feeds install -a 76 | 77 | - name: Load Custom Configuration 78 | run: | 79 | [ -e files ] && mv files $OPENWRTROOT/files 80 | [ -e $CONFIG_FILE ] && mv $CONFIG_FILE $OPENWRTROOT/.config 81 | chmod +x $DIY_SH 82 | chmod +x scripts/enable-rpi4-wifi.sh 83 | cd $OPENWRTROOT 84 | ../$DIY_SH 85 | ../scripts/enable-rpi4-wifi.sh 86 | 87 | - name: SSH Connection To Actions 88 | uses: P3TERX/debugger-action@master 89 | if: env.SSH_ACTIONS == 'true' || contains(github.event.action, 'ssh') 90 | 91 | - name: Download Package 92 | id: package 93 | run: | 94 | cd $OPENWRTROOT 95 | if "$KMODS_IN_FIRMWARE" = 'true' 96 | then 97 | echo "CONFIG_ALL_KMODS=y" >> .config 98 | fi 99 | make defconfig 100 | make download -j8 101 | find dl -size -1024c -exec ls -l {} \; 102 | find dl -size -1024c -exec rm -f {} \; 103 | 104 | - name: Compile Packages 105 | id: compile 106 | run: | 107 | cd $OPENWRTROOT 108 | echo -e "$(nproc) thread compile" 109 | make tools/compile -j$(nproc) || make tools/compile -j1 V=s 110 | make toolchain/compile -j$(nproc) || make toolchain/compile -j1 V=s 111 | make target/compile -j$(nproc) || make target/compile -j1 V=s IGNORE_ERRORS=1 112 | make buildinfo 113 | make package/compile -j$(nproc) IGNORE_ERRORS=1 || make package/compile -j1 V=s IGNORE_ERRORS=1 114 | make package/index 115 | echo "::set-output name=status::success" 116 | 117 | - name: Set Environment Variable 118 | if: steps.compile.outputs.status == 'success' 119 | run: | 120 | cd $OPENWRTROOT/bin/packages/* 121 | PLATFORM=$(basename `pwd`) 122 | echo "::set-env name=PLATFORM::$PLATFORM" 123 | cd $OPENWRTROOT/bin/targets/* 124 | TARGET=$(basename `pwd`) 125 | echo "::set-env name=TARGET::$TARGET" 126 | cd * 127 | SUBTARGET=$(basename `pwd`) 128 | echo "::set-env name=SUBTARGET::$SUBTARGET" 129 | echo "::set-env name=FIRMWARE::$PWD" 130 | 131 | - name: Generate Firmware 132 | if: steps.compile.outputs.status == 'success' 133 | id: generate 134 | run: | 135 | cd $OPENWRTROOT 136 | mkdir -p files/etc/opkg 137 | if "$KMODS_IN_FIRMWARE" = 'true' 138 | then 139 | mkdir -p files/www/snapshots/targets 140 | cp -r bin/targets/$TARGET files/www/snapshots/targets 141 | cp ../config/opkg/distfeeds-19.07-local.conf files/etc/opkg/distfeeds.conf 142 | sed -i "s/subtarget/$SUBTARGET/g" files/etc/opkg/distfeeds.conf 143 | sed -i "s/target\//$TARGET\//g" files/etc/opkg/distfeeds.conf 144 | sed -i "s/platform/$PLATFORM/g" files/etc/opkg/distfeeds.conf 145 | else 146 | cp ../config/opkg/distfeeds-19.07-remote.conf files/etc/opkg/distfeeds.conf 147 | sed -i "s/subtarget/$SUBTARGET/g" files/etc/opkg/distfeeds.conf 148 | sed -i "s/target\//$TARGET\//g" files/etc/opkg/distfeeds.conf 149 | sed -i "s/platform/$PLATFORM/g" files/etc/opkg/distfeeds.conf 150 | fi 151 | make package/install -j$(nproc) || make package/install -j1 V=s 152 | make target/install -j$(nproc) || make target/install -j1 V=s 153 | make checksum 154 | grep '^CONFIG_TARGET.*DEVICE.*=y' .config | sed -r 's/.*DEVICE_(.*)=y/\1/' > DEVICE_NAME 155 | [ -s DEVICE_NAME ] && echo "::set-env name=DEVICE_NAME::_$(cat DEVICE_NAME)" 156 | echo "::set-env name=FILE_DATE::_$(date +"%Y%m%d%H%M")" 157 | echo "::set-output name=status::success" 158 | 159 | - name: Deploy Packages-Server 160 | if: steps.generate.outputs.status == 'success' 161 | run: | 162 | mkdir -p server/web/snapshots/targets/$TARGET/$SUBTARGET 163 | cp -r $OPENWRTROOT/bin/packages server/web/snapshots 164 | cp -r $OPENWRTROOT/bin/targets/$TARGET/$SUBTARGET/packages server/web/snapshots/targets/$TARGET/$SUBTARGET 165 | mkdir -p $OPENWRTROOT/bin/targets/$TARGET/$SUBTARGET/pre-packages-server 166 | cp -r server $OPENWRTROOT/bin/targets/$TARGET/$SUBTARGET/pre-packages-server 167 | cd $OPENWRTROOT/bin/targets/$TARGET/$SUBTARGET 168 | zip -q -r packages-server.zip pre-packages-server/server 169 | 170 | - name: Extract Gz Files 171 | if: steps.generate.outputs.status == 'success' 172 | run: | 173 | cd $OPENWRTROOT/bin/targets/$TARGET/$SUBTARGET 174 | gzip -qdc $DEVICE-squashfs-factory.img.gz > $DEVICE-squashfs-factory.img || true 175 | gzip -qdc $DEVICE-squashfs-sysupgrade.img.gz > $DEVICE-squashfs-sysupgrade.img || true 176 | gzip -qdc $DEVICE-ext4-factory.img.gz > $DEVICE-ext4-factory.img || true 177 | gzip -qdc $DEVICE-ext4-sysupgrade.img.gz > $DEVICE-ext4-sysupgrade.img || true 178 | 179 | - name: Generate Sha256sum File For Images 180 | if: steps.generate.outputs.status == 'success' 181 | run: | 182 | cd $OPENWRTROOT/bin/targets/$TARGET/$SUBTARGET 183 | mv sha256sums sha256sums.orig 184 | sha256sum *.img > sha256sums 185 | 186 | - name: Upload Config 187 | uses: actions/upload-artifact@master 188 | if: steps.generate.outputs.status == 'success' 189 | with: 190 | name: config.buildinfo 191 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/config.buildinfo 192 | 193 | - name: Upload Packages-Server 194 | uses: actions/upload-artifact@master 195 | if: steps.generate.outputs.status == 'success' 196 | with: 197 | name: packages-server 198 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/pre-packages-server 199 | 200 | - name: Upload Packages Info 201 | uses: actions/upload-artifact@master 202 | if: steps.generate.outputs.status == 'success' 203 | with: 204 | name: ${{ env.DEVICE }}.manifest 205 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.DEVICE }}.manifest 206 | 207 | - name: Upload RootFS Archive 208 | uses: actions/upload-artifact@master 209 | if: steps.generate.outputs.status == 'success' && env.UPLOAD_ROOTFS == 'true' 210 | with: 211 | name: ${{ env.DEVICE }}-rootfs.tar.gz 212 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.DEVICE }}-rootfs.tar.gz 213 | 214 | - name: Generate docker image 215 | if: steps.generate.outputs.status == 'success' && env.UPLOAD_ROOTFS == 'true' 216 | run: | 217 | current_time=`date "+%Y-%m-%d"` 218 | echo ${{ env.DOCKERHUB_TOKEN }} | xargs docker login -u scenerycmopen --password 219 | docker import openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.ROOTFS_DEVICE }}-rootfs.tar.gz scenerycmopen/${{ env.ROOTFS_DEVICE }}-offical-openwrt:$current_time 220 | docker push scenerycmopen/${{ env.ROOTFS_DEVICE }}-offical-openwrt:$current_time 221 | docker tag scenerycmopen/${{ env.ROOTFS_DEVICE }}-offical-openwrt:$current_time scenerycmopen/${{ env.ROOTFS_DEVICE }}-offical-openwrt:latest 222 | docker push scenerycmopen/${{ env.ROOTFS_DEVICE }}-offical-openwrt:latest 223 | 224 | - name: Upload SquashFS Factory Image 225 | uses: actions/upload-artifact@master 226 | if: steps.generate.outputs.status == 'success' && env.UPLOAD_SQUASHFS_IMAGES == 'true' 227 | with: 228 | name: ${{ env.DEVICE }}-squashfs-factory.img 229 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.DEVICE }}-squashfs-factory.img 230 | 231 | - name: Upload SquashFS Sysupgrade Image 232 | uses: actions/upload-artifact@master 233 | if: steps.generate.outputs.status == 'success' && env.UPLOAD_SQUASHFS_IMAGES == 'true' 234 | with: 235 | name: ${{ env.DEVICE }}-squashfs-sysupgrade.img 236 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.DEVICE }}-squashfs-sysupgrade.img 237 | 238 | - name: Upload Ext4 Factory Image 239 | uses: actions/upload-artifact@master 240 | if: steps.generate.outputs.status == 'success' && env.UPLOAD_EXT4_IMAGES == 'true' 241 | with: 242 | name: ${{ env.DEVICE }}-ext4-factory.img 243 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.DEVICE }}-ext4-factory.img 244 | 245 | - name: Upload Ext4 Sysupgrade Image 246 | uses: actions/upload-artifact@master 247 | if: steps.generate.outputs.status == 'success' && env.UPLOAD_EXT4_IMAGES == 'true' 248 | with: 249 | name: ${{ env.DEVICE }}-ext4-sysupgrade.img 250 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${{ env.DEVICE }}-ext4-sysupgrade.img 251 | 252 | - name: Upload Images Sha256sums 253 | uses: actions/upload-artifact@master 254 | if: steps.generate.outputs.status == 'success' 255 | with: 256 | name: sha256sums 257 | path: openwrt/bin/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/sha256sums 258 | 259 | - name: Organize Files 260 | id: organize 261 | if: steps.generate.outputs.status == 'success' && !cancelled() 262 | run: | 263 | cd $OPENWRTROOT/bin/targets/$TARGET/$SUBTARGET 264 | rm -rf *.img packages pre-packages-server sha256sums 265 | mv sha256sums.orig sha256sums 266 | echo "::set-output name=status::success" 267 | --------------------------------------------------------------------------------