Compare commits
11 Commits
2024.04.04
...
2024.07.07
Author | SHA1 | Date | |
---|---|---|---|
8d4dc505d9 | |||
e2d22d369e | |||
5cb2a0ee59 | |||
051edbae83 | |||
0d493541cb | |||
ec7b9d63ff | |||
cd22fe0fea | |||
85725e56e5 | |||
f01c217945 | |||
7056b3d65e | |||
55a62837a7 |
19
.github/workflows/Redmi-AX6000-hanwckf.yml
vendored
19
.github/workflows/Redmi-AX6000-hanwckf.yml
vendored
@ -8,21 +8,14 @@
|
|||||||
# Description: Build OpenWrt using GitHub Actions
|
# Description: Build OpenWrt using GitHub Actions
|
||||||
#
|
#
|
||||||
###############改名字##############
|
###############改名字##############
|
||||||
name: Redmi-AX6000-hanwckf
|
name: Redmi-AX6000-hanwckf_Build
|
||||||
|
|
||||||
on:
|
on: [push]
|
||||||
repository_dispatch:
|
|
||||||
workflow_dispatch:
|
|
||||||
inputs:
|
|
||||||
ssh:
|
|
||||||
description: 'SSH connection to Actions'
|
|
||||||
required: false
|
|
||||||
default: 'false'
|
|
||||||
# schedule:
|
# schedule:
|
||||||
# - cron: 0 16 * * *
|
# - cron: 0 16 * * *
|
||||||
|
|
||||||
env:
|
env:
|
||||||
REPO_URL: https://github.com/hanwckf/immortalwrt-mt798x
|
REPO_URL: http://mc.null.red:3000/Backups/immortalwrt-mt798x
|
||||||
REPO_BRANCH: openwrt-21.02
|
REPO_BRANCH: openwrt-21.02
|
||||||
FEEDS_CONF: feeds.conf.default
|
FEEDS_CONF: feeds.conf.default
|
||||||
CONFIG_FILE: hanwckf/Redmi-AX6000/.config
|
CONFIG_FILE: hanwckf/Redmi-AX6000/.config
|
||||||
@ -49,10 +42,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
sudo rm -rf /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc
|
sudo rm -rf /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc
|
||||||
sudo -E apt-get -qq update
|
sudo -E apt-get -qq update
|
||||||
sudo -E apt-get -qq install $(curl -fsSL git.io/depends-ubuntu-2004)
|
sudo -E apt-get -qq install ack antlr3 bc tar unzip asciidoc autoconf automake autopoint binutils bison build-essential bzip2 ccache cmake cpio curl device-tree-compiler fastjar flex gawk gettext gcc-multilib g++-multilib git gperf haveged help2man intltool libc6-dev-i386 libelf-dev libfuse-dev libglib2.0-dev libgmp3-dev libltdl-dev libmpc-dev libmpfr-dev libncurses5-dev libncursesw5-dev libpython3-dev libreadline-dev libssl-dev libtool lrzsz mkisofs msmtp ninja-build p7zip p7zip-full patch pkgconf python2.7 python3 python3-pyelftools python3-setuptools qemu-utils rsync scons squashfs-tools subversion swig texinfo uglifyjs upx-ucl unzip vim wget xmlto xxd zlib1g-dev
|
||||||
sudo -E apt-get -qq autoremove --purge
|
sudo -E apt-get -qq autoremove --purge
|
||||||
sudo -E apt-get -qq clean
|
sudo -E apt-get -qq clean
|
||||||
sudo timedatectl set-timezone "$TZ"
|
|
||||||
sudo mkdir -p /workdir
|
sudo mkdir -p /workdir
|
||||||
sudo chown $USER:$GROUPS /workdir
|
sudo chown $USER:$GROUPS /workdir
|
||||||
|
|
||||||
@ -103,6 +95,7 @@ jobs:
|
|||||||
id: compile
|
id: compile
|
||||||
run: |
|
run: |
|
||||||
cd openwrt
|
cd openwrt
|
||||||
|
export FORCE_UNSAFE_CONFIGURE=1
|
||||||
echo -e "$(nproc) thread compile"
|
echo -e "$(nproc) thread compile"
|
||||||
make -j$(nproc) || make -j1 || make -j1 V=s
|
make -j$(nproc) || make -j1 || make -j1 V=s
|
||||||
grep '^CONFIG_TARGET.*DEVICE.*=y' .config | sed -r 's/.*DEVICE_(.*)=y/\1/' > DEVICE_NAME
|
grep '^CONFIG_TARGET.*DEVICE.*=y' .config | sed -r 's/.*DEVICE_(.*)=y/\1/' > DEVICE_NAME
|
||||||
@ -128,7 +121,7 @@ jobs:
|
|||||||
echo "status=success" >> $GITHUB_OUTPUT
|
echo "status=success" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: 上传固件到github
|
- name: 上传固件到github
|
||||||
uses: actions/upload-artifact@main
|
uses: actions/upload-artifact@v3
|
||||||
if: steps.organize.outputs.status == 'success' && !cancelled()
|
if: steps.organize.outputs.status == 'success' && !cancelled()
|
||||||
with:
|
with:
|
||||||
name: ${{ env.FILE_DATE }}-${{ env.OPENWRT_NAME }}-${{ env.DEVICE_NAME }}
|
name: ${{ env.FILE_DATE }}-${{ env.OPENWRT_NAME }}-${{ env.DEVICE_NAME }}
|
||||||
|
@ -18,8 +18,6 @@ CONFIG_PACKAGE_luci-compat=y
|
|||||||
## LuCI->Applications
|
## LuCI->Applications
|
||||||
##【不要CPU频率设置】
|
##【不要CPU频率设置】
|
||||||
# CONFIG_PACKAGE_luci-app-cpufreq is not set
|
# CONFIG_PACKAGE_luci-app-cpufreq is not set
|
||||||
## TTYD终端
|
|
||||||
CONFIG_PACKAGE_luci-app-ttyd=y
|
|
||||||
## KMS服务器
|
## KMS服务器
|
||||||
CONFIG_PACKAGE_luci-app-vlmcsd=y
|
CONFIG_PACKAGE_luci-app-vlmcsd=y
|
||||||
## upnp
|
## upnp
|
||||||
@ -32,7 +30,7 @@ CONFIG_PACKAGE_luci-app-upnp=y
|
|||||||
#CONFIG_PACKAGE_ddns-scripts_aliyun=y
|
#CONFIG_PACKAGE_ddns-scripts_aliyun=y
|
||||||
#CONFIG_PACKAGE_ddns-scripts-cloudflare=y
|
#CONFIG_PACKAGE_ddns-scripts-cloudflare=y
|
||||||
#CONFIG_PACKAGE_ddns-scripts-dnspod=y
|
#CONFIG_PACKAGE_ddns-scripts-dnspod=y
|
||||||
CONFIG_PACKAGE_luci-app-frps=y
|
#CONFIG_PACKAGE_luci-app-frps=y
|
||||||
## OpenClash
|
## OpenClash
|
||||||
CONFIG_PACKAGE_luci-app-openclash=y
|
CONFIG_PACKAGE_luci-app-openclash=y
|
||||||
## PassWall
|
## PassWall
|
||||||
@ -85,6 +83,18 @@ CONFIG_PACKAGE_iwinfo=y
|
|||||||
CONFIG_PACKAGE_iptables-mod-filter=y
|
CONFIG_PACKAGE_iptables-mod-filter=y
|
||||||
CONFIG_PACKAGE_iptables-mod-u32=y
|
CONFIG_PACKAGE_iptables-mod-u32=y
|
||||||
CONFIG_PACKAGE_iptables-mod-ulog=y
|
CONFIG_PACKAGE_iptables-mod-ulog=y
|
||||||
|
CONFIG_PACKAGE_iptables-mod-conntrack-extra=y
|
||||||
|
CONFIG_PACKAGE_iptables-mod-extra=y
|
||||||
|
CONFIG_PACKAGE_iptables-mod-hashlimit=y
|
||||||
|
CONFIG_PACKAGE_iptables-mod-iface=y
|
||||||
|
CONFIG_PACKAGE_iptables-mod-ipmark=y
|
||||||
|
CONFIG_PACKAGE_iptables-mod-ipopt=y
|
||||||
|
CONFIG_PACKAGE_iptables-mod-iprange=y
|
||||||
|
CONFIG_PACKAGE_iptables-mod-ipv4options=y
|
||||||
|
CONFIG_PACKAGE_iptables-mod-nat-extra=y
|
||||||
|
CONFIG_PACKAGE_iptables-mod-proto=y
|
||||||
|
CONFIG_PACKAGE_iptables-mod-tee=y
|
||||||
|
CONFIG_PACKAGE_iptables-mod-tproxy=y
|
||||||
CONFIG_PACKAGE_kmod-ata-core=y
|
CONFIG_PACKAGE_kmod-ata-core=y
|
||||||
CONFIG_PACKAGE_kmod-crypto-ccm=y
|
CONFIG_PACKAGE_kmod-crypto-ccm=y
|
||||||
CONFIG_PACKAGE_kmod-crypto-cmac=y
|
CONFIG_PACKAGE_kmod-crypto-cmac=y
|
||||||
|
Reference in New Issue
Block a user