├── .config ├── .github └── workflows │ ├── ARMv8_OpenWrt.yml │ ├── ARMv8_ROOTFS.yml │ ├── Panther-X2-Breakings.yml │ ├── Panther-X2-OpenWrt.yml │ ├── Tvi3315a-Breakings.yml │ └── Tvi3315a-OpenWrt.yml ├── LICENSE ├── README.md ├── bg1.jpg ├── diy-part1.sh ├── diy-part2.sh └── feeds.conf.default /.github/workflows/ARMv8_OpenWrt.yml: -------------------------------------------------------------------------------- 1 | #======================================================================================================================== 2 | # https://github.com/ophub/amlogic-s9xxx-openwrt 3 | # Description: Use Releases file to packaging 4 | # Cron: min (0 - 59) / hour (0 - 23) / day of month (1 - 31) / month (1 - 12) / day of week (0 - 6)(Sunday - Saturday) 5 | #======================================================================================================================== 6 | 7 | name: ARMv8_OpenWrt 8 | 9 | on: 10 | repository_dispatch: 11 | workflow_dispatch: 12 | inputs: 13 | ssh: 14 | description: 'SSH connection' 15 | required: false 16 | default: 'false' 17 | schedule: 18 | - cron: '45 21 * * 0' 19 | 20 | env: 21 | REPO_URL: https://github.com/coolsnowwolf/lede 22 | REPO_BRANCH: master 23 | FEEDS_CONF: feeds.conf.default 24 | CONFIG_FILE: .config 25 | DIY_P1_SH: diy-part1.sh 26 | DIY_P2_SH: diy-part2.sh 27 | UPLOAD_FIRMWARE: false 28 | UPLOAD_RELEASE: true 29 | RECENT_LASTEST: 30 30 | TZ: Asia/Shanghai 31 | FILE_NAME: ARMv8 32 | PRODUCT_NAME: ARMv8 33 | 34 | jobs: 35 | build: 36 | runs-on: ubuntu-22.04 37 | steps: 38 | - name: Checkout 39 | uses: actions/checkout@v4 40 | 41 | - name: Initialization environment 42 | id: init 43 | env: 44 | DEBIAN_FRONTEND: noninteractive 45 | run: | 46 | docker rmi $(docker images -q) 2>/dev/null 47 | [[ -n "${AGENT_TOOLSDIRECTORY}" ]] && sudo rm -rf "${AGENT_TOOLSDIRECTORY}" 48 | sudo rm -rf /usr/share/dotnet /etc/apt/sources.list.d /usr/local/lib/android 2>/dev/null 49 | sudo swapoff -a 50 | sudo rm -f /swapfile /mnt/swapfile 51 | sudo -E apt-get -y update 52 | sudo -E apt-get -y purge azure-cli ghc* zulu* llvm* firefox google* dotnet* powershell openjdk* mongodb* moby* || true 53 | sudo -E apt-get -y install $(curl -fsSL https://tinyurl.com/ubuntu2204-make-openwrt) 54 | sudo -E systemctl daemon-reload 55 | #sudo -E apt-get -y full-upgrade 56 | sudo -E apt-get -y autoremove --purge 57 | sudo -E apt-get clean 58 | sudo sed -i '/NVM_DIR/d;/skel/d' /root/{.bashrc,.profile} 59 | sudo rm -rf ~/{.cargo,.dotnet,.rustup} 60 | sudo timedatectl set-timezone "${TZ}" 61 | echo "status=success" >> ${GITHUB_OUTPUT} 62 | 63 | - name: Create simulated physical disk 64 | run: | 65 | mnt_size=$(expr $(df -h /mnt | tail -1 | awk '{print $4}' | sed 's/[[:alpha:]]//g' | sed 's/\..*//') - 1) 66 | root_size=$(expr $(df -h / | tail -1 | awk '{print $4}' | sed 's/[[:alpha:]]//g' | sed 's/\..*//') - 4) 67 | sudo truncate -s "${mnt_size}"G /mnt/mnt.img 68 | sudo truncate -s "${root_size}"G /root.img 69 | sudo losetup /dev/loop6 /mnt/mnt.img 70 | sudo losetup /dev/loop7 /root.img 71 | sudo pvcreate /dev/loop6 72 | sudo pvcreate /dev/loop7 73 | sudo vgcreate github /dev/loop6 /dev/loop7 74 | sudo lvcreate -n runner -l 100%FREE github 75 | sudo mkfs.xfs /dev/github/runner 76 | sudo mkdir -p /workdir 77 | sudo mount /dev/github/runner /workdir 78 | sudo chown $USER:$GROUPS /workdir 79 | df -Th 80 | 81 | - name: Clone source code 82 | working-directory: /workdir 83 | run: | 84 | df -hT $PWD 85 | git clone $REPO_URL -b $REPO_BRANCH openwrt 86 | ln -sf /workdir/openwrt $GITHUB_WORKSPACE/openwrt 87 | cd openwrt 88 | useVersionInfo=$(git show -s --date=short --format="Author: %an
date: %cd
commit: %s
commit hash: %H") 89 | echo "useVersionInfo=$useVersionInfo" >> $GITHUB_ENV 90 | echo "DATE=$(date "+%Y-%m-%d %H:%M:%S")" >> $GITHUB_ENV 91 | echo "DATE1=$(date "+%Y-%m-%d")" >> $GITHUB_ENV 92 | 93 | - name: Package Armvirt as OpenWrt 94 | if: (!cancelled()) 95 | uses: ophub/flippy-openwrt-actions@main 96 | env: 97 | OPENWRT_ARMVIRT: https://github.com/Zane-E/OP-ARM/releases/download/openwrt_armvirt/openwrt-armsr-armv8-generic-rootfs.tar.gz 98 | PACKAGE_SOC: all 99 | WHOAMI: Milo_Zed 100 | #KERNEL_REPO_URL: https://github.com/breakings/OpenWrt/tree/main/opt 101 | KERNEL_VERSION_NAME: 6.1.1_6.6.1_6.12.1 102 | OPENWRT_VER: R25.5.25 103 | KERNEL_AUTO_LATEST: true 104 | GZIP_IMGS: .gz 105 | GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} 106 | 107 | - name: SSH connection to Actions @ Ctrl+C to enter, Ctrl+D to exit 108 | uses: P3TERX/ssh2actions@main 109 | if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh') 110 | env: 111 | TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} 112 | TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} 113 | 114 | - name: Upload artifact to Actions 115 | uses: kittaakos/upload-artifact-as-is@master 116 | if: env.PACKAGED_STATUS == 'success' && env.UPLOAD_FIRMWARE == 'true' && !cancelled() 117 | with: 118 | path: ${{ env.PACKAGED_OUTPUTPATH }}/ 119 | 120 | - name: Upload OpenWrt Firmware to Release 121 | id: release 122 | uses: ncipollo/release-action@main 123 | if: env.PACKAGED_STATUS == 'success' && env.UPLOAD_RELEASE == 'true' && !cancelled() 124 | with: 125 | name: R${{ env.DATE }} for ${{ env.FILE_NAME }} 126 | allowUpdates: true 127 | removeArtifacts: true 128 | tag: ${{ env.FILE_NAME }} 129 | commit: main 130 | token: ${{ secrets.GITHUB_TOKEN }} 131 | artifacts: ${{ env.PACKAGED_OUTPUTPATH }}/* 132 | body: | 133 | - 默认IP:192.168.1.1 默认密码:password ( WiFi 密码相同 ) 134 | - 当前使用版本:【 编译前的最后一次➦[主源码](https://github.com/coolsnowwolf/lede)更新记录 】 135 | ${{ env.useVersionInfo }} 136 | 137 | - name: Delete releases and workflows runs 138 | uses: ophub/delete-releases-workflows@main 139 | with: 140 | delete_releases: true 141 | releases_keep_latest: 10 142 | delete_workflows: true 143 | workflows_keep_day: 3 144 | gh_token: ${{ secrets.GITHUB_TOKEN }} 145 | 146 | - name: Telegram notification 147 | run: | 148 | MSG=" 149 | 打包时间:${{ env.DATE }} 150 | OpenWrt 更新信息:${{ env.useVersionInfo }} 151 | ${{ env.PRODUCT_NAME }} 打包完成 152 | " 153 | curl "https://api.telegram.org/bot${{ secrets.TELEGRAM_TOKEN }}/sendMessage" -d "chat_id=${{ secrets.TELEGRAM_TO }}&text=${MSG}" 154 | -------------------------------------------------------------------------------- /.github/workflows/ARMv8_ROOTFS.yml: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2019-2020 P3TERX 3 | # 4 | # This is free software, licensed under the MIT License. 5 | # See /LICENSE for more information. 6 | # 7 | # https://github.com/P3TERX/Actions-OpenWrt 8 | # Description: Build OpenWrt using GitHub Actions 9 | # 10 | 11 | name: ARMv8_ROOTFS 12 | 13 | on: 14 | repository_dispatch: 15 | workflow_dispatch: 16 | inputs: 17 | ssh: 18 | description: 'SSH connection to Actions' 19 | required: false 20 | default: 'false' 21 | schedule: 22 | - cron: '55 15 * * 0' 23 | 24 | env: 25 | REPO_URL: https://github.com/coolsnowwolf/lede 26 | REPO_BRANCH: master 27 | FEEDS_CONF: feeds.conf.default 28 | CONFIG_FILE: .config 29 | DIY_P1_SH: diy-part1.sh 30 | DIY_P2_SH: diy-part2.sh 31 | UPLOAD_BIN_DIR: false 32 | UPLOAD_FIRMWARE: false 33 | UPLOAD_RELEASE: true 34 | TZ: Asia/Shanghai 35 | FILE_NAME: openwrt_armvirt 36 | PRODUCT_NAME: openwrt_armvirt 37 | 38 | jobs: 39 | build: 40 | runs-on: ubuntu-22.04 41 | steps: 42 | - name: Checkout 43 | uses: actions/checkout@v4 44 | 45 | - name: Initialization environment 46 | id: init 47 | env: 48 | DEBIAN_FRONTEND: noninteractive 49 | run: | 50 | docker rmi $(docker images -q) 2>/dev/null 51 | [[ -n "${AGENT_TOOLSDIRECTORY}" ]] && sudo rm -rf "${AGENT_TOOLSDIRECTORY}" 52 | sudo rm -rf /usr/share/dotnet /etc/apt/sources.list.d /usr/local/lib/android 2>/dev/null 53 | sudo swapoff -a 54 | sudo rm -f /swapfile /mnt/swapfile 55 | sudo -E apt-get -y update 56 | sudo -E apt-get -y purge azure-cli ghc* zulu* llvm* firefox google* dotnet* powershell openjdk* mongodb* moby* || true 57 | sudo -E apt-get -y install $(curl -fsSL https://tinyurl.com/ubuntu2204-make-openwrt) 58 | sudo -E systemctl daemon-reload 59 | #sudo -E apt-get -y full-upgrade 60 | sudo -E apt-get -y autoremove --purge 61 | sudo -E apt-get clean 62 | sudo sed -i '/NVM_DIR/d;/skel/d' /root/{.bashrc,.profile} 63 | sudo rm -rf ~/{.cargo,.dotnet,.rustup} 64 | sudo timedatectl set-timezone "${TZ}" 65 | echo "status=success" >> ${GITHUB_OUTPUT} 66 | 67 | - name: Create simulated physical disk 68 | run: | 69 | mnt_size=$(expr $(df -h /mnt | tail -1 | awk '{print $4}' | sed 's/[[:alpha:]]//g' | sed 's/\..*//') - 1) 70 | root_size=$(expr $(df -h / | tail -1 | awk '{print $4}' | sed 's/[[:alpha:]]//g' | sed 's/\..*//') - 4) 71 | sudo truncate -s "${mnt_size}"G /mnt/mnt.img 72 | sudo truncate -s "${root_size}"G /root.img 73 | sudo losetup /dev/loop6 /mnt/mnt.img 74 | sudo losetup /dev/loop7 /root.img 75 | sudo pvcreate /dev/loop6 76 | sudo pvcreate /dev/loop7 77 | sudo vgcreate github /dev/loop6 /dev/loop7 78 | sudo lvcreate -n runner -l 100%FREE github 79 | sudo mkfs.xfs /dev/github/runner 80 | sudo mkdir -p /workdir 81 | sudo mount /dev/github/runner /workdir 82 | sudo chown $USER:$GROUPS /workdir 83 | df -Th 84 | 85 | - name: Clone source code 86 | working-directory: /workdir 87 | run: | 88 | df -hT $PWD 89 | git clone $REPO_URL -b $REPO_BRANCH openwrt 90 | ln -sf /workdir/openwrt $GITHUB_WORKSPACE/openwrt 91 | cd openwrt 92 | useVersionInfo=$(git show -s --date=short --format="Author: %an
date: %cd
commit: %s
commit hash: %H") 93 | echo "useVersionInfo=$useVersionInfo" >> $GITHUB_ENV 94 | echo "DATE=$(date "+%Y-%m-%d %H:%M:%S")" >> $GITHUB_ENV 95 | echo "DATE1=$(date "+%Y-%m-%d")" >> $GITHUB_ENV 96 | 97 | #- name: Cache Toolchain 98 | #uses: klever1988/cachewrtbuild@main 99 | #with: 100 | #ccache: false 101 | #skip: true 102 | #toolchain: true 103 | #clean: false 104 | #prefix: ${{ github.workspace }}/openwrt 105 | 106 | - name: Load custom feeds 107 | run: | 108 | [ -e $FEEDS_CONF ] && mv $FEEDS_CONF openwrt/feeds.conf.default 109 | chmod +x $DIY_P1_SH 110 | cd openwrt 111 | $GITHUB_WORKSPACE/$DIY_P1_SH 112 | 113 | - name: Update feeds 114 | run: cd openwrt && ./scripts/feeds update -a 115 | 116 | - name: Install feeds 117 | run: cd openwrt && ./scripts/feeds install -a 118 | 119 | - name: Load custom configuration 120 | run: | 121 | [ -e files ] && mv files openwrt/files 122 | [ -e $CONFIG_FILE ] && mv $CONFIG_FILE openwrt/.config 123 | chmod +x $DIY_P2_SH 124 | cd openwrt 125 | $GITHUB_WORKSPACE/$DIY_P2_SH 126 | 127 | - name: SSH connection to Actions 128 | uses: P3TERX/ssh2actions@v1.0.0 129 | if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh') 130 | env: 131 | TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} 132 | TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} 133 | 134 | - name: Download package 135 | id: package 136 | run: | 137 | cd openwrt 138 | make defconfig 139 | make download -j8 140 | find dl -size -1024c -exec ls -l {} \; 141 | find dl -size -1024c -exec rm -f {} \; 142 | 143 | - name: Compile the firmware 144 | id: compile 145 | run: | 146 | cd openwrt 147 | echo -e "$(nproc) thread compile" 148 | make -j$(nproc) || make -j1 || make -j1 V=s 149 | echo "status=success" >> ${GITHUB_OUTPUT} 150 | grep '^CONFIG_TARGET.*DEVICE.*=y' .config | sed -r 's/.*DEVICE_(.*)=y/\1/' > DEVICE_NAME 151 | [ -s DEVICE_NAME ] && echo "DEVICE_NAME=_$(cat DEVICE_NAME)" >> $GITHUB_ENV 152 | echo "FILE_DATE=_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV 153 | 154 | - name: Clean up server space 155 | if: steps.compile.outputs.status == 'success' && !cancelled() 156 | run: | 157 | cd openwrt/ 158 | rm -rf $(ls . | grep -v "^bin$" | xargs) 2>/dev/null 159 | df -hT ${PWD} 160 | 161 | - name: Upload bin directory 162 | uses: actions/upload-artifact@main 163 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_BIN_DIR == 'true' 164 | with: 165 | name: OpenWrt_bin${{ env.DEVICE_NAME }}${{ env.FILE_DATE }} 166 | path: openwrt/bin 167 | 168 | - name: Organize files 169 | id: organize 170 | if: steps.compile.outputs.status == 'success' && !cancelled() 171 | run: | 172 | cd $GITHUB_WORKSPACE/openwrt/bin/packages 173 | tar -zcvf Packages.tar.gz ./* 174 | cp Packages.tar.gz $GITHUB_WORKSPACE/openwrt/bin/targets/*/* 175 | cd $GITHUB_WORKSPACE/openwrt/bin/targets/*/* 176 | rm -rf packages 177 | echo "FIRMWARE=$PWD" >> $GITHUB_ENV 178 | echo "status=success" >> ${GITHUB_OUTPUT} 179 | 180 | - name: Upload firmware directory 181 | uses: actions/upload-artifact@main 182 | if: env.UPLOAD_FIRMWARE == 'true' && steps.organize.outputs.status == 'success' && !cancelled() 183 | with: 184 | name: OpenWrt_firmware${{ env.DEVICE_NAME }}${{ env.FILE_DATE }} 185 | path: ${{ env.FIRMWARE }} 186 | 187 | - name: Create release 188 | id: release 189 | uses: ncipollo/release-action@v1 190 | with: 191 | name: R${{ env.DATE }} for ${{ env.PRODUCT_NAME }} 192 | allowUpdates: true 193 | tag: ${{ env.FILE_NAME }} 194 | commit: main 195 | token: ${{ secrets.GITHUB_TOKEN }} 196 | body: | 197 | - 精简底包,非完整固件,每周自动编译 198 | - 当前使用版本:【 编译前的最后一次[➦主源码](https://github.com/coolsnowwolf/lede)更新记录 】 199 | ${{ env.useVersionInfo }} 200 | artifacts: ${{ env.FIRMWARE }}/* 201 | 202 | - name: Delete releases and workflows runs 203 | uses: ophub/delete-releases-workflows@main 204 | with: 205 | delete_releases: true 206 | releases_keep_latest: 10 207 | delete_workflows: true 208 | workflows_keep_day: 3 209 | gh_token: ${{ secrets.GITHUB_TOKEN }} 210 | 211 | - name: Telegram notification 212 | run: | 213 | MSG=" 214 | 编译时间:${{ env.DATE }} 215 | OpenWrt 更新信息:${{ env.useVersionInfo }} 216 | ${{ env.PRODUCT_NAME }} 编译完成 217 | " 218 | curl "https://api.telegram.org/bot${{ secrets.TELEGRAM_TOKEN }}/sendMessage" -d "chat_id=${{ secrets.TELEGRAM_TO }}&text=${MSG}" 219 | -------------------------------------------------------------------------------- /.github/workflows/Panther-X2-Breakings.yml: -------------------------------------------------------------------------------- 1 | #======================================================================================================================== 2 | # https://github.com/ophub/amlogic-s9xxx-openwrt 3 | # Description: Use Releases file to packaging 4 | # Cron: min (0 - 59) / hour (0 - 23) / day of month (1 - 31) / month (1 - 12) / day of week (0 - 6)(Sunday - Saturday) 5 | #======================================================================================================================== 6 | 7 | name: Panther-X2-Breakings 8 | 9 | on: 10 | repository_dispatch: 11 | workflow_dispatch: 12 | inputs: 13 | ssh: 14 | description: 'SSH connection' 15 | required: false 16 | default: 'false' 17 | # schedule: 18 | # - cron: '45 23 * * 0' 19 | 20 | env: 21 | REPO_URL: https://github.com/coolsnowwolf/lede 22 | REPO_BRANCH: master 23 | FEEDS_CONF: feeds.conf.default 24 | CONFIG_FILE: .config 25 | DIY_P1_SH: diy-part1.sh 26 | DIY_P2_SH: diy-part2.sh 27 | UPLOAD_FIRMWARE: false 28 | UPLOAD_RELEASE: true 29 | RECENT_LASTEST: 30 30 | TZ: Asia/Shanghai 31 | FILE_NAME: Panther-X2-Breakings 32 | PRODUCT_NAME: ARMv8 33 | 34 | jobs: 35 | build: 36 | runs-on: ubuntu-22.04 37 | steps: 38 | - name: Checkout 39 | uses: actions/checkout@v4 40 | 41 | - name: Initialization environment 42 | env: 43 | DEBIAN_FRONTEND: noninteractive 44 | run: | 45 | docker rmi `docker images -q` 46 | sudo rm -rf /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc 47 | sudo -E apt-get -qq update 48 | sudo -E apt-get -qq install $(curl -fsSL https://tinyurl.com/ubuntu2204-make-openwrt) 49 | sudo -E apt-get -qq autoremove --purge 50 | sudo -E apt-get -qq clean 51 | sudo timedatectl set-timezone "$TZ" 52 | sudo mkdir -p /workdir 53 | sudo chown $USER:$GROUPS /workdir 54 | 55 | - name: Clone source code 56 | working-directory: /workdir 57 | run: | 58 | df -hT $PWD 59 | git clone $REPO_URL -b $REPO_BRANCH openwrt 60 | ln -sf /workdir/openwrt $GITHUB_WORKSPACE/openwrt 61 | cd openwrt 62 | useVersionInfo=$(git show -s --date=short --format="Author: %an
date: %cd
commit: %s
commit hash: %H") 63 | echo "useVersionInfo=$useVersionInfo" >> $GITHUB_ENV 64 | echo "DATE=$(date "+%Y-%m-%d %H:%M:%S")" >> $GITHUB_ENV 65 | echo "DATE1=$(date "+%Y-%m-%d")" >> $GITHUB_ENV 66 | 67 | - name: Package Armvirt as OpenWrt 68 | if: (!cancelled()) 69 | uses: Zane-E/openwrt_packit@master 70 | env: 71 | OPENWRT_ARMVIRT: https://github.com/breakingbadboy/OpenWrt/releases/download/openwrt_armvirt/openwrt-armsr-armv8-rootfs.tar.gz 72 | PACKAGE_SOC: panther-x2 73 | WHOAMI: Milo_Zed 74 | # KERNEL_REPO_URL: https://github.com/ophub/kernel/releases/tag/kernel_stable 75 | KERNEL_VERSION_NAME: 6.1.1_6.6.1_6.12.1 76 | token: ${{ secrets.GITHUB_TOKEN }} 77 | OPENWRT_VER: R25.5.25 78 | KERNEL_AUTO_LATEST: true 79 | GZIP_IMGS: .gz 80 | 81 | - name: Upload artifact to Actions 82 | uses: kittaakos/upload-artifact-as-is@master 83 | if: env.PACKAGED_STATUS == 'success' && env.UPLOAD_FIRMWARE == 'true' && !cancelled() 84 | with: 85 | path: ${{ env.PACKAGED_OUTPUTPATH }}/ 86 | 87 | - name: Upload OpenWrt Firmware to Release 88 | id: release 89 | uses: ncipollo/release-action@main 90 | if: env.PACKAGED_STATUS == 'success' && env.UPLOAD_RELEASE == 'true' && !cancelled() 91 | with: 92 | name: R${{ env.DATE }} for ${{ env.FILE_NAME }} 93 | allowUpdates: true 94 | removeArtifacts: true 95 | tag: ${{ env.FILE_NAME }} 96 | commit: main 97 | token: ${{ secrets.GITHUB_TOKEN }} 98 | artifacts: ${{ env.PACKAGED_OUTPUTPATH }}/* 99 | body: | 100 | - 默认 IP:192.168.1.1 默认密码:password ( WiFi 密码相同 ) 101 | - 底包来源:Breakings ( 高大全 ) 102 | - 地址:https://github.com/breakingbadboy/OpenWrt 103 | 104 | - name: Delete releases and workflows runs 105 | uses: ophub/delete-releases-workflows@main 106 | with: 107 | delete_releases: true 108 | releases_keep_latest: 10 109 | delete_workflows: true 110 | workflows_keep_day: 3 111 | gh_token: ${{ secrets.GITHUB_TOKEN }} 112 | -------------------------------------------------------------------------------- /.github/workflows/Panther-X2-OpenWrt.yml: -------------------------------------------------------------------------------- 1 | #======================================================================================================================== 2 | # https://github.com/ophub/amlogic-s9xxx-openwrt 3 | # Description: Use Releases file to packaging 4 | # Cron: min (0 - 59) / hour (0 - 23) / day of month (1 - 31) / month (1 - 12) / day of week (0 - 6)(Sunday - Saturday) 5 | #======================================================================================================================== 6 | 7 | name: Panther-X2-OpenWrt 8 | 9 | on: 10 | repository_dispatch: 11 | workflow_dispatch: 12 | inputs: 13 | ssh: 14 | description: 'SSH connection' 15 | required: false 16 | default: 'false' 17 | schedule: 18 | - cron: '45 21 * * 0' 19 | 20 | env: 21 | REPO_URL: https://github.com/coolsnowwolf/lede 22 | REPO_BRANCH: master 23 | FEEDS_CONF: feeds.conf.default 24 | CONFIG_FILE: .config 25 | DIY_P1_SH: diy-part1.sh 26 | DIY_P2_SH: diy-part2.sh 27 | UPLOAD_FIRMWARE: false 28 | UPLOAD_RELEASE: true 29 | RECENT_LASTEST: 30 30 | TZ: Asia/Shanghai 31 | FILE_NAME: Panther-X2 32 | PRODUCT_NAME: ARMv8 33 | 34 | jobs: 35 | build: 36 | runs-on: ubuntu-22.04 37 | steps: 38 | - name: Checkout 39 | uses: actions/checkout@v4 40 | 41 | - name: Initialization environment 42 | env: 43 | DEBIAN_FRONTEND: noninteractive 44 | run: | 45 | docker rmi `docker images -q` 46 | sudo rm -rf /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc 47 | sudo -E apt-get -qq update 48 | sudo -E apt-get -qq install $(curl -fsSL https://tinyurl.com/ubuntu2204-make-openwrt) 49 | sudo -E apt-get -qq autoremove --purge 50 | sudo -E apt-get -qq clean 51 | sudo timedatectl set-timezone "$TZ" 52 | sudo mkdir -p /workdir 53 | sudo chown $USER:$GROUPS /workdir 54 | 55 | - name: Clone source code 56 | working-directory: /workdir 57 | run: | 58 | df -hT $PWD 59 | git clone $REPO_URL -b $REPO_BRANCH openwrt 60 | ln -sf /workdir/openwrt $GITHUB_WORKSPACE/openwrt 61 | cd openwrt 62 | useVersionInfo=$(git show -s --date=short --format="Author: %an
date: %cd
commit: %s
commit hash: %H") 63 | echo "useVersionInfo=$useVersionInfo" >> $GITHUB_ENV 64 | echo "DATE=$(date "+%Y-%m-%d %H:%M:%S")" >> $GITHUB_ENV 65 | echo "DATE1=$(date "+%Y-%m-%d")" >> $GITHUB_ENV 66 | 67 | - name: Package Armvirt as OpenWrt 68 | if: (!cancelled()) 69 | uses: Zane-E/openwrt_packit@master 70 | env: 71 | OPENWRT_ARMVIRT: https://github.com/Zane-E/OP-ARM/releases/download/openwrt_armvirt/openwrt-armsr-armv8-generic-rootfs.tar.gz 72 | PACKAGE_SOC: panther-x2 73 | WHOAMI: Milo_Zed 74 | # KERNEL_REPO_URL: https://github.com/breakingbadboy/OpenWrt/releases/tag/kernel_stable 75 | KERNEL_VERSION_NAME: 6.1.1_6.6.1_6.12.1 76 | GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} 77 | OPENWRT_VER: R25.5.25 78 | KERNEL_AUTO_LATEST: true 79 | GZIP_IMGS: .gz 80 | 81 | - name: Upload artifact to Actions 82 | uses: kittaakos/upload-artifact-as-is@master 83 | if: env.PACKAGED_STATUS == 'success' && env.UPLOAD_FIRMWARE == 'true' && !cancelled() 84 | with: 85 | path: ${{ env.PACKAGED_OUTPUTPATH }}/ 86 | 87 | - name: Upload OpenWrt Firmware to Release 88 | id: release 89 | uses: ncipollo/release-action@main 90 | if: env.PACKAGED_STATUS == 'success' && env.UPLOAD_RELEASE == 'true' && !cancelled() 91 | with: 92 | name: R${{ env.DATE }} for ${{ env.FILE_NAME }} 93 | allowUpdates: true 94 | removeArtifacts: true 95 | tag: ${{ env.FILE_NAME }} 96 | commit: main 97 | token: ${{ secrets.GITHUB_TOKEN }} 98 | artifacts: ${{ env.PACKAGED_OUTPUTPATH }}/* 99 | body: | 100 | - 默认 IP:192.168.1.1 默认密码:password ( WiFi 密码相同 ) 101 | - 当前使用版本:【 编译前的最后一次➦[主源码](https://github.com/coolsnowwolf/lede)更新记录 】 102 | ${{ env.useVersionInfo }} 103 | 104 | - name: Delete releases and workflows runs 105 | uses: ophub/delete-releases-workflows@main 106 | with: 107 | delete_releases: true 108 | releases_keep_latest: 10 109 | delete_workflows: true 110 | workflows_keep_day: 3 111 | gh_token: ${{ secrets.GITHUB_TOKEN }} 112 | -------------------------------------------------------------------------------- /.github/workflows/Tvi3315a-Breakings.yml: -------------------------------------------------------------------------------- 1 | #======================================================================================================================== 2 | # https://github.com/ophub/amlogic-s9xxx-openwrt 3 | # Description: Use Releases file to packaging 4 | # Cron: min (0 - 59) / hour (0 - 23) / day of month (1 - 31) / month (1 - 12) / day of week (0 - 6)(Sunday - Saturday) 5 | #======================================================================================================================== 6 | 7 | name: Tvi3315a-Breakings 8 | 9 | on: 10 | repository_dispatch: 11 | workflow_dispatch: 12 | inputs: 13 | ssh: 14 | description: 'SSH connection' 15 | required: false 16 | default: 'false' 17 | # schedule: 18 | # - cron: '35 23 * * 0' 19 | 20 | env: 21 | REPO_URL: https://github.com/coolsnowwolf/lede 22 | REPO_BRANCH: master 23 | FEEDS_CONF: feeds.conf.default 24 | CONFIG_FILE: .config 25 | DIY_P1_SH: diy-part1.sh 26 | DIY_P2_SH: diy-part2.sh 27 | UPLOAD_FIRMWARE: false 28 | UPLOAD_RELEASE: true 29 | RECENT_LASTEST: 30 30 | TZ: Asia/Shanghai 31 | FILE_NAME: Tvi3315a-Breakings 32 | PRODUCT_NAME: ARMv8 33 | 34 | jobs: 35 | build: 36 | runs-on: ubuntu-22.04 37 | steps: 38 | - name: Checkout 39 | uses: actions/checkout@v4 40 | 41 | - name: Initialization environment 42 | env: 43 | DEBIAN_FRONTEND: noninteractive 44 | run: | 45 | docker rmi `docker images -q` 46 | sudo rm -rf /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc 47 | sudo -E apt-get -qq update 48 | sudo -E apt-get -qq install $(curl -fsSL https://tinyurl.com/ubuntu2204-make-openwrt) 49 | sudo -E apt-get -qq autoremove --purge 50 | sudo -E apt-get -qq clean 51 | sudo timedatectl set-timezone "$TZ" 52 | sudo mkdir -p /workdir 53 | sudo chown $USER:$GROUPS /workdir 54 | 55 | - name: Clone source code 56 | working-directory: /workdir 57 | run: | 58 | df -hT $PWD 59 | git clone $REPO_URL -b $REPO_BRANCH openwrt 60 | ln -sf /workdir/openwrt $GITHUB_WORKSPACE/openwrt 61 | cd openwrt 62 | useVersionInfo=$(git show -s --date=short --format="Author: %an
date: %cd
commit: %s
commit hash: %H") 63 | echo "useVersionInfo=$useVersionInfo" >> $GITHUB_ENV 64 | echo "DATE=$(date "+%Y-%m-%d %H:%M:%S")" >> $GITHUB_ENV 65 | echo "DATE1=$(date "+%Y-%m-%d")" >> $GITHUB_ENV 66 | 67 | - name: Package Armvirt as OpenWrt 68 | if: (!cancelled()) 69 | uses: Zane-E/openwrt_packit@master 70 | env: 71 | OPENWRT_ARMVIRT: https://github.com/breakingbadboy/OpenWrt/releases/download/openwrt_armvirt/openwrt-armsr-armv8-rootfs.tar.gz 72 | PACKAGE_SOC: tvi3315a 73 | WHOAMI: Milo_Zed 74 | KERNEL_REPO_URL: https://github.com/ophub/kernel/releases/tag/kernel_stable 75 | KERNEL_VERSION_NAME: 6.1.1_6.6.1_6.12.1 76 | token: ${{ secrets.GITHUB_TOKEN }} 77 | OPENWRT_VER: R25.5.25 78 | KERNEL_AUTO_LATEST: true 79 | GZIP_IMGS: .gz 80 | 81 | - name: Upload artifact to Actions 82 | uses: kittaakos/upload-artifact-as-is@master 83 | if: env.PACKAGED_STATUS == 'success' && env.UPLOAD_FIRMWARE == 'true' && !cancelled() 84 | with: 85 | path: ${{ env.PACKAGED_OUTPUTPATH }}/ 86 | 87 | - name: Upload OpenWrt Firmware to Release 88 | id: release 89 | uses: ncipollo/release-action@main 90 | if: env.PACKAGED_STATUS == 'success' && env.UPLOAD_RELEASE == 'true' && !cancelled() 91 | with: 92 | name: R${{ env.DATE }} for ${{ env.FILE_NAME }} 93 | allowUpdates: true 94 | removeArtifacts: true 95 | tag: ${{ env.FILE_NAME }} 96 | commit: main 97 | token: ${{ secrets.GITHUB_TOKEN }} 98 | artifacts: ${{ env.PACKAGED_OUTPUTPATH }}/* 99 | body: | 100 | - 默认 IP:192.168.1.1 默认密码:password ( WiFi 密码相同 ) 101 | - 默认 DTB 文件为超频版 ( 大核 2.0 小核 1.6 ),原 DTB 文件备份在目录中,可自行恢复 102 | - 底包来源:Breakings ( 高大全 ) 103 | - 地址:https://github.com/breakingbadboy/OpenWrt 104 | 105 | - name: Delete releases and workflows runs 106 | uses: ophub/delete-releases-workflows@main 107 | with: 108 | delete_releases: true 109 | releases_keep_latest: 10 110 | delete_workflows: true 111 | workflows_keep_day: 3 112 | gh_token: ${{ secrets.GITHUB_TOKEN }} 113 | -------------------------------------------------------------------------------- /.github/workflows/Tvi3315a-OpenWrt.yml: -------------------------------------------------------------------------------- 1 | #======================================================================================================================== 2 | # https://github.com/ophub/amlogic-s9xxx-openwrt 3 | # Description: Use Releases file to packaging 4 | # Cron: min (0 - 59) / hour (0 - 23) / day of month (1 - 31) / month (1 - 12) / day of week (0 - 6)(Sunday - Saturday) 5 | #======================================================================================================================== 6 | 7 | name: Tvi3315a-OpenWrt 8 | 9 | on: 10 | repository_dispatch: 11 | workflow_dispatch: 12 | inputs: 13 | ssh: 14 | description: 'SSH connection' 15 | required: false 16 | default: 'false' 17 | schedule: 18 | - cron: '55 21 * * 0' 19 | 20 | env: 21 | REPO_URL: https://github.com/coolsnowwolf/lede 22 | REPO_BRANCH: master 23 | FEEDS_CONF: feeds.conf.default 24 | CONFIG_FILE: .config 25 | DIY_P1_SH: diy-part1.sh 26 | DIY_P2_SH: diy-part2.sh 27 | UPLOAD_FIRMWARE: false 28 | UPLOAD_RELEASE: true 29 | RECENT_LASTEST: 30 30 | TZ: Asia/Shanghai 31 | FILE_NAME: Tvi3315a 32 | PRODUCT_NAME: ARMv8 33 | 34 | jobs: 35 | build: 36 | runs-on: ubuntu-22.04 37 | steps: 38 | - name: Checkout 39 | uses: actions/checkout@v4 40 | 41 | - name: Initialization environment 42 | env: 43 | DEBIAN_FRONTEND: noninteractive 44 | run: | 45 | docker rmi `docker images -q` 46 | sudo rm -rf /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc 47 | sudo -E apt-get -qq update 48 | sudo -E apt-get -qq install $(curl -fsSL https://tinyurl.com/ubuntu2204-make-openwrt) 49 | sudo -E apt-get -qq autoremove --purge 50 | sudo -E apt-get -qq clean 51 | sudo timedatectl set-timezone "$TZ" 52 | sudo mkdir -p /workdir 53 | sudo chown $USER:$GROUPS /workdir 54 | 55 | - name: Clone source code 56 | working-directory: /workdir 57 | run: | 58 | df -hT $PWD 59 | git clone $REPO_URL -b $REPO_BRANCH openwrt 60 | ln -sf /workdir/openwrt $GITHUB_WORKSPACE/openwrt 61 | cd openwrt 62 | useVersionInfo=$(git show -s --date=short --format="Author: %an
date: %cd
commit: %s
commit hash: %H") 63 | echo "useVersionInfo=$useVersionInfo" >> $GITHUB_ENV 64 | echo "DATE=$(date "+%Y-%m-%d %H:%M:%S")" >> $GITHUB_ENV 65 | echo "DATE1=$(date "+%Y-%m-%d")" >> $GITHUB_ENV 66 | 67 | - name: Package Armvirt as OpenWrt 68 | if: (!cancelled()) 69 | uses: Zane-E/openwrt_packit@master 70 | env: 71 | OPENWRT_ARMVIRT: https://github.com/Zane-E/OP-ARM/releases/download/openwrt_armvirt/openwrt-armsr-armv8-generic-rootfs.tar.gz 72 | PACKAGE_SOC: tvi3315a 73 | WHOAMI: Milo_Zed 74 | KERNEL_REPO_URL: https://github.com/ophub/kernel/releases/tag/kernel_stable 75 | KERNEL_VERSION_NAME: 6.1.1_6.6.1_6.12.1 76 | GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} 77 | OPENWRT_VER: R25.5.25 78 | KERNEL_AUTO_LATEST: true 79 | GZIP_IMGS: .gz 80 | 81 | - name: Upload artifact to Actions 82 | uses: kittaakos/upload-artifact-as-is@master 83 | if: env.PACKAGED_STATUS == 'success' && env.UPLOAD_FIRMWARE == 'true' && !cancelled() 84 | with: 85 | path: ${{ env.PACKAGED_OUTPUTPATH }}/ 86 | 87 | - name: Upload OpenWrt Firmware to Release 88 | id: release 89 | uses: ncipollo/release-action@main 90 | if: env.PACKAGED_STATUS == 'success' && env.UPLOAD_RELEASE == 'true' && !cancelled() 91 | with: 92 | name: R${{ env.DATE }} for ${{ env.FILE_NAME }} 93 | allowUpdates: true 94 | removeArtifacts: true 95 | tag: ${{ env.FILE_NAME }} 96 | commit: main 97 | token: ${{ secrets.GITHUB_TOKEN }} 98 | artifacts: ${{ env.PACKAGED_OUTPUTPATH }}/* 99 | body: | 100 | - 默认 IP:192.168.1.1 默认密码:password ( WiFi 密码相同 ) 101 | - 默认 DTB 文件为超频版 ( 大核 2.0 小核 1.6 ),原 DTB 文件备份在目录中,可自行恢复 102 | - 当前使用版本:【 编译前的最后一次➦[主源码](https://github.com/coolsnowwolf/lede)更新记录 】 103 | ${{ env.useVersionInfo }} 104 | 105 | - name: Delete releases and workflows runs 106 | uses: ophub/delete-releases-workflows@main 107 | with: 108 | delete_releases: true 109 | releases_keep_latest: 10 110 | delete_workflows: true 111 | workflows_keep_day: 3 112 | gh_token: ${{ secrets.GITHUB_TOKEN }} 113 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019-2020 P3TERX 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 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | ![68747470733a2f2f63646e2e6a7364656c6976722e6e65742f67682f4a656a7a3136382f506963747572652f4f70656e5772742d6c6f676f2e706e67](https://user-images.githubusercontent.com/72865351/220032469-2f1fc659-cf8b-4f3b-ade1-603fa12a92b0.png) 4 | 5 | 6 | 7 | ![Snipaste_2024-01-01_14-32-11](https://github.com/Zane-E/OP-ARM/assets/72865351/bb964673-21bd-4e8f-9c97-0d67810b3de8) 8 | 9 | 10 | 项目使用 Github Actions 拉取 Lean 的 Openwrt 源码仓库进行云编译 11 | 12 | 固件默认 IP 地址:192.168.1.1 默认密码:password 无线默认密码:password 13 | 14 | 15 | 16 | **English** | [中文](https://p3terx.com/archives/build-openwrt-with-github-actions.html) 17 | 18 | # Actions-OpenWrt 19 | 20 | [![LICENSE](https://img.shields.io/github/license/mashape/apistatus.svg?style=flat-square&label=LICENSE)](https://github.com/P3TERX/Actions-OpenWrt/blob/master/LICENSE) 21 | ![GitHub Stars](https://img.shields.io/github/stars/P3TERX/Actions-OpenWrt.svg?style=flat-square&label=Stars&logo=github) 22 | ![GitHub Forks](https://img.shields.io/github/forks/P3TERX/Actions-OpenWrt.svg?style=flat-square&label=Forks&logo=github) 23 | 24 | A template for building OpenWrt with GitHub Actions 25 | 26 | ## Usage 27 | 28 | - Click the [Use this template](https://github.com/P3TERX/Actions-OpenWrt/generate) button to create a new repository. 29 | - Generate `.config` files using [Lean's OpenWrt](https://github.com/coolsnowwolf/lede) source code. ( You can change it through environment variables in the workflow file. ) 30 | - Push `.config` file to the GitHub repository. 31 | - Select `Build OpenWrt` on the Actions page. 32 | - Click the `Run workflow` button. 33 | - When the build is complete, click the `Artifacts` button in the upper right corner of the Actions page to download the binaries. 34 | 35 | ## Tips 36 | 37 | - It may take a long time to create a `.config` file and build the OpenWrt firmware. Thus, before create repository to build your own firmware, you may check out if others have already built it which meet your needs by simply [search `Actions-Openwrt` in GitHub](https://github.com/search?q=Actions-openwrt). 38 | - Add some meta info of your built firmware (such as firmware architecture and installed packages) to your repository introduction, this will save others' time. 39 | 40 | ## Credits 41 | 42 | - [Microsoft Azure](https://azure.microsoft.com) 43 | - [GitHub Actions](https://github.com/features/actions) 44 | - [OpenWrt](https://github.com/openwrt/openwrt) 45 | - [Lean's OpenWrt](https://github.com/coolsnowwolf/lede) 46 | - [tmate](https://github.com/tmate-io/tmate) 47 | - [mxschmitt/action-tmate](https://github.com/mxschmitt/action-tmate) 48 | - [csexton/debugger-action](https://github.com/csexton/debugger-action) 49 | - [Cowtransfer](https://cowtransfer.com) 50 | - [WeTransfer](https://wetransfer.com/) 51 | - [Mikubill/transfer](https://github.com/Mikubill/transfer) 52 | - [softprops/action-gh-release](https://github.com/softprops/action-gh-release) 53 | - [ActionsRML/delete-workflow-runs](https://github.com/ActionsRML/delete-workflow-runs) 54 | - [dev-drprasad/delete-older-releases](https://github.com/dev-drprasad/delete-older-releases) 55 | - [peter-evans/repository-dispatch](https://github.com/peter-evans/repository-dispatch) 56 | 57 | ## License 58 | 59 | [MIT](https://github.com/P3TERX/Actions-OpenWrt/blob/main/LICENSE) © [**P3TERX**](https://p3terx.com) 60 | -------------------------------------------------------------------------------- /bg1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zane-E/OP-ARM/dbb2d82511e57e49d0653b0c133e0d2ff0decbf4/bg1.jpg -------------------------------------------------------------------------------- /diy-part1.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright (c) 2019-2020 P3TERX 4 | # 5 | # This is free software, licensed under the MIT License. 6 | # See /LICENSE for more information. 7 | # 8 | # https://github.com/P3TERX/Actions-OpenWrt 9 | # File name: diy-part1.sh 10 | # Description: OpenWrt DIY script part 1 (Before Update feeds) 11 | # 12 | 13 | # Uncomment a feed source 14 | #sed -i 's/^#\(.*helloworld\)/\1/' feeds.conf.default 15 | 16 | # Add a feed source 17 | #echo 'src-git helloworld https://github.com/fw876/helloworld' >>feeds.conf.default 18 | #echo 'src-git passwall https://github.com/xiaorouji/openwrt-passwall' >>feeds.conf.default 19 | -------------------------------------------------------------------------------- /diy-part2.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright (c) 2019-2020 P3TERX 4 | # 5 | # This is free software, licensed under the MIT License. 6 | # See /LICENSE for more information. 7 | # 8 | # https://github.com/P3TERX/Actions-OpenWrt 9 | # File name: diy-part2.sh 10 | # Description: OpenWrt DIY script part 2 (After Update feeds) 11 | # 12 | function merge_package(){ 13 | repo=`echo $1 | rev | cut -d'/' -f 1 | rev` 14 | pkg=`echo $2 | rev | cut -d'/' -f 1 | rev` 15 | git clone --depth=1 --single-branch $1 16 | mv $2 package/custom/ 17 | rm -rf $repo 18 | } 19 | function drop_package(){ 20 | find package/ -follow -name $1 -not -path "package/custom/*" | xargs -rt rm -rf 21 | } 22 | function merge_feed(){ 23 | if [ ! -d "feed/$1" ]; then 24 | echo >> feeds.conf.default 25 | echo "src-git $1 $2" >> feeds.conf.default 26 | fi 27 | ./scripts/feeds update $1 28 | ./scripts/feeds install -a -p $1 29 | } 30 | rm -rf package/custom; mkdir package/custom 31 | 32 | # Modify default IP 33 | #sed -i 's/192.168.1.1/192.168.50.5/g' package/base-files/files/bin/config_generate 34 | 35 | # poweroff 36 | git clone https://github.com/esirplayground/luci-app-poweroff package/luci-app-poweroff 37 | 38 | #主题 39 | rm -rf feeds/luci/applications/luci-app-argon-config 40 | rm -rf feeds/kenzo/luci-app-argon-config 41 | git clone -b 18.06 https://github.com/jerrykuku/luci-app-argon-config.git feeds/luci/applications/luci-app-argon-config 42 | 43 | rm -rf feeds/luci/themes/luci-theme-argon 44 | rm -rf feeds/kenzo/luci-theme-argon 45 | git clone -b 18.06 https://github.com/jerrykuku/luci-theme-argon.git feeds/luci/themes/luci-theme-argon 46 | sed -i '41,59d' feeds/luci/themes/luci-theme-argon/luasrc/view/themes/argon/footer.htm 47 | 48 | # 微信推送 49 | rm -rf feeds/kenzo/luci-app-wechatpush 50 | rm -rf feeds/luci/applications/luci-app-serverchan 51 | git clone -b openwrt-18.06 https://github.com/tty228/luci-app-serverchan.git feeds/luci/applications/luci-app-serverchan 52 | 53 | # luci-app-adguardhome 54 | rm -rf feeds/kenzo/luci-app-adguardhome 55 | git clone https://github.com/Zane-E/luci-app-adguardhome.git feeds/kenzo/luci-app-adguardhome 56 | 57 | # filebrowser 58 | rm -rf feeds/kenzo/luci-app-filebrowser 59 | merge_package https://github.com/Lienol/openwrt-package openwrt-package/luci-app-filebrowser 60 | 61 | # mosdns 62 | rm -rf feeds/kenzo/luci-app-mosdns 63 | rm -rf feeds/luci/applications/luci-app-mosdns 64 | git clone -b v5-lua https://github.com/sbwml/luci-app-mosdns.git feeds/luci/applications/luci-app-mosdns 65 | 66 | # 修改主题背景 67 | cp -f $GITHUB_WORKSPACE/bg1.jpg feeds/luci/themes/luci-theme-argon/htdocs/luci-static/argon/img/bg1.jpg 68 | 69 | ./scripts/feeds update -a 70 | ./scripts/feeds install -a 71 | -------------------------------------------------------------------------------- /feeds.conf.default: -------------------------------------------------------------------------------- 1 | src-git packages https://github.com/coolsnowwolf/packages 2 | src-git luci https://github.com/coolsnowwolf/luci 3 | src-git routing https://github.com/coolsnowwolf/routing 4 | src-git telephony https://git.openwrt.org/feed/telephony.git 5 | #src-git oui https://github.com/zhaojh329/oui.git 6 | #src-git video https://github.com/openwrt/video.git 7 | #src-git targets https://github.com/openwrt/targets.git 8 | #src-git oldpackages http://git.openwrt.org/packages.git 9 | #src-link custom /usr/src/openwrt/custom-feed 10 | src-git kenzo https://github.com/kenzok8/openwrt-packages 11 | src-git small https://github.com/kenzok8/small 12 | --------------------------------------------------------------------------------