Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mgqnfoqv7k2w
AutoBuildImmortalWrt
Commits
52b2838e
"googlemock/git@developer.sourcefind.cn:yangql/googletest.git" did not exist on "93bfdde0eeac83fb51b856dc4dc9c38c408b0ee0"
Unverified
Commit
52b2838e
authored
Jul 13, 2025
by
wukongdaily
Committed by
GitHub
Jul 13, 2025
Browse files
arm64 修改集成openclash内核的逻辑
parent
edb1ecd5
Changes
18
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
140 additions
and
110 deletions
+140
-110
.github/workflows/build-QEMU-arm64-24.10.1.yml
.github/workflows/build-QEMU-arm64-24.10.1.yml
+0
-12
.github/workflows/build-RaspBerryPi-23.05.4.yml
.github/workflows/build-RaspBerryPi-23.05.4.yml
+0
-12
.github/workflows/build-RaspBerryPi-24.10.2.yml
.github/workflows/build-RaspBerryPi-24.10.2.yml
+0
-12
.github/workflows/build-glinet-23.05.4.yml
.github/workflows/build-glinet-23.05.4.yml
+1
-13
.github/workflows/build-glinet-24.10.2.yml
.github/workflows/build-glinet-24.10.2.yml
+1
-14
.github/workflows/build-rockchip-immortalWrt-23.05.4.yml
.github/workflows/build-rockchip-immortalWrt-23.05.4.yml
+0
-12
.github/workflows/build-rockchip-immortalWrt-24.10.2.yml
.github/workflows/build-rockchip-immortalWrt-24.10.2.yml
+0
-11
.github/workflows/build-sunxi-cortexa53-23.05.4.yml
.github/workflows/build-sunxi-cortexa53-23.05.4.yml
+0
-12
.github/workflows/build-sunxi-cortexa53-24.10.2.yml
.github/workflows/build-sunxi-cortexa53-24.10.2.yml
+0
-12
armsr-armv8/build.sh
armsr-armv8/build.sh
+16
-0
mediatek-filogic/build-24.sh
mediatek-filogic/build-24.sh
+15
-0
mediatek-filogic/build.sh
mediatek-filogic/build.sh
+15
-0
raspberrypi/23.05.4/build.sh
raspberrypi/23.05.4/build.sh
+15
-0
raspberrypi/24.10/build.sh
raspberrypi/24.10/build.sh
+16
-0
rockchip/23.05.4/build.sh
rockchip/23.05.4/build.sh
+17
-0
rockchip/build.sh
rockchip/build.sh
+16
-0
sunxi-cortexa53/24.10/build.sh
sunxi-cortexa53/24.10/build.sh
+14
-0
sunxi-cortexa53/build.sh
sunxi-cortexa53/build.sh
+14
-0
No files found.
.github/workflows/build-QEMU-arm64-24.10.1.yml
View file @
52b2838e
...
...
@@ -54,18 +54,6 @@ jobs:
fi
fi
-
name
:
Download Clash Meta, GeoIP, and GeoSite
run
:
|
PLATFORM="arm64"
mkdir -p files/etc/openclash/core
# Download clash_meta
META_URL="https://raw.githubusercontent.com/vernesong/OpenClash/core/master/meta/clash-linux-${PLATFORM}.tar.gz"
wget -qO- $META_URL | tar xOvz > files/etc/openclash/core/clash_meta
chmod +x files/etc/openclash/core/clash_meta
# Download GeoIP and GeoSite
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat -O files/etc/openclash/GeoIP.dat
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat -O files/etc/openclash/GeoSite.dat
-
name
:
Building armsr-armv8 QEMU ImmortalWrt
run
:
|
profiles="${{ github.event.inputs.profile }}"
...
...
.github/workflows/build-RaspBerryPi-23.05.4.yml
View file @
52b2838e
...
...
@@ -40,18 +40,6 @@ jobs:
-
name
:
Set executable permissions
run
:
|
chmod +x ${{ github.workspace }}/raspberrypi/23.05.4/build.sh
-
name
:
Download Clash Meta, GeoIP, and GeoSite
run
:
|
PLATFORM="arm64"
mkdir -p files/etc/openclash/core
# Download clash_meta
META_URL="https://raw.githubusercontent.com/vernesong/OpenClash/core/master/meta/clash-linux-${PLATFORM}.tar.gz"
wget -qO- $META_URL | tar xOvz > files/etc/openclash/core/clash_meta
chmod +x files/etc/openclash/core/clash_meta
# Download GeoIP and GeoSite
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat -O files/etc/openclash/GeoIP.dat
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat -O files/etc/openclash/GeoSite.dat
-
name
:
Build raspberrypi ImmortalWrt 23.05.4
run
:
|
...
...
.github/workflows/build-RaspBerryPi-24.10.2.yml
View file @
52b2838e
...
...
@@ -41,18 +41,6 @@ jobs:
run
:
|
chmod +x ${{ github.workspace }}/raspberrypi/24.10/build.sh
-
name
:
Download Clash Meta, GeoIP, and GeoSite
run
:
|
PLATFORM="arm64"
mkdir -p files/etc/openclash/core
# Download clash_meta
META_URL="https://raw.githubusercontent.com/vernesong/OpenClash/core/master/meta/clash-linux-${PLATFORM}.tar.gz"
wget -qO- $META_URL | tar xOvz > files/etc/openclash/core/clash_meta
chmod +x files/etc/openclash/core/clash_meta
# Download GeoIP and GeoSite
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat -O files/etc/openclash/GeoIP.dat
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat -O files/etc/openclash/GeoSite.dat
-
name
:
Build raspberrypi ImmortalWrt 24.10.2
run
:
|
profiles="${{ github.event.inputs.profile }}"
...
...
.github/workflows/build-glinet-23.05.4.yml
View file @
52b2838e
...
...
@@ -58,19 +58,7 @@ jobs:
exit 1
fi
fi
-
name
:
Download Clash Meta, GeoIP, and GeoSite
run
:
|
PLATFORM="arm64"
mkdir -p files/etc/openclash/core
# Download clash_meta
META_URL="https://raw.githubusercontent.com/vernesong/OpenClash/core/master/meta/clash-linux-${PLATFORM}.tar.gz"
wget -qO- $META_URL | tar xOvz > files/etc/openclash/core/clash_meta
chmod +x files/etc/openclash/core/clash_meta
# Download GeoIP and GeoSite
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat -O files/etc/openclash/GeoIP.dat
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat -O files/etc/openclash/GeoSite.dat
-
name
:
Build Gl-iNet ImmortalWrt 23.05.4
run
:
|
...
...
.github/workflows/build-glinet-24.10.2.yml
View file @
52b2838e
...
...
@@ -56,20 +56,7 @@ jobs:
echo "Error: PPPoE account and password must be provided when PPPoE is enabled!"
exit 1
fi
fi
-
name
:
Download Clash Meta, GeoIP, and GeoSite
run
:
|
PLATFORM="arm64"
mkdir -p files/etc/openclash/core
# Download clash_meta
META_URL="https://raw.githubusercontent.com/vernesong/OpenClash/core/master/meta/clash-linux-${PLATFORM}.tar.gz"
wget -qO- $META_URL | tar xOvz > files/etc/openclash/core/clash_meta
chmod +x files/etc/openclash/core/clash_meta
# Download GeoIP and GeoSite
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat -O files/etc/openclash/GeoIP.dat
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat -O files/etc/openclash/GeoSite.dat
fi
-
name
:
Build Gl-iNet ImmortalWrt 24.10.2
run
:
|
...
...
.github/workflows/build-rockchip-immortalWrt-23.05.4.yml
View file @
52b2838e
...
...
@@ -71,18 +71,6 @@ jobs:
exit 1
fi
fi
-
name
:
Download Clash Meta, GeoIP, and GeoSite
run
:
|
PLATFORM="arm64"
mkdir -p files/etc/openclash/core
# Download clash_meta
META_URL="https://raw.githubusercontent.com/vernesong/OpenClash/core/master/meta/clash-linux-${PLATFORM}.tar.gz"
wget -qO- $META_URL | tar xOvz > files/etc/openclash/core/clash_meta
chmod +x files/etc/openclash/core/clash_meta
# Download GeoIP and GeoSite
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat -O files/etc/openclash/GeoIP.dat
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat -O files/etc/openclash/GeoSite.dat
-
name
:
Building Rockchip ImmortalWrt
run
:
|
...
...
.github/workflows/build-rockchip-immortalWrt-24.10.2.yml
View file @
52b2838e
...
...
@@ -92,17 +92,6 @@ jobs:
fi
fi
-
name
:
Download Clash Meta, GeoIP, and GeoSite
run
:
|
PLATFORM="arm64"
mkdir -p files/etc/openclash/core
# Download clash_meta
META_URL="https://raw.githubusercontent.com/vernesong/OpenClash/core/master/meta/clash-linux-${PLATFORM}.tar.gz"
wget -qO- $META_URL | tar xOvz > files/etc/openclash/core/clash_meta
chmod +x files/etc/openclash/core/clash_meta
# Download GeoIP and GeoSite
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat -O files/etc/openclash/GeoIP.dat
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat -O files/etc/openclash/GeoSite.dat
-
name
:
Building Rockchip ImmortalWrt
run
:
|
...
...
.github/workflows/build-sunxi-cortexa53-23.05.4.yml
View file @
52b2838e
...
...
@@ -44,18 +44,6 @@ jobs:
run
:
|
chmod +x ${{ github.workspace }}/sunxi-cortexa53/build.sh
-
name
:
Download Clash Meta, GeoIP, and GeoSite
run
:
|
PLATFORM="arm64"
mkdir -p files/etc/openclash/core
# Download clash_meta
META_URL="https://raw.githubusercontent.com/vernesong/OpenClash/core/master/meta/clash-linux-${PLATFORM}.tar.gz"
wget -qO- $META_URL | tar xOvz > files/etc/openclash/core/clash_meta
chmod +x files/etc/openclash/core/clash_meta
# Download GeoIP and GeoSite
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat -O files/etc/openclash/GeoIP.dat
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat -O files/etc/openclash/GeoSite.dat
-
name
:
Build sunxi-cortexa53 ImmpotalWrt 23.05.4
run
:
|
profiles="${{ github.event.inputs.profile }}"
...
...
.github/workflows/build-sunxi-cortexa53-24.10.2.yml
View file @
52b2838e
...
...
@@ -46,18 +46,6 @@ jobs:
run
:
|
chmod +x ${{ github.workspace }}/sunxi-cortexa53/build.sh
-
name
:
Download Clash Meta, GeoIP, and GeoSite
run
:
|
PLATFORM="arm64"
mkdir -p files/etc/openclash/core
# Download clash_meta
META_URL="https://raw.githubusercontent.com/vernesong/OpenClash/core/master/meta/clash-linux-${PLATFORM}.tar.gz"
wget -qO- $META_URL | tar xOvz > files/etc/openclash/core/clash_meta
chmod +x files/etc/openclash/core/clash_meta
# Download GeoIP and GeoSite
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat -O files/etc/openclash/GeoIP.dat
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat -O files/etc/openclash/GeoSite.dat
-
name
:
Build sunxi-cortexa53 ImmpotalWrt 24.10.2
run
:
|
profiles="${{ github.event.inputs.profile }}"
...
...
armsr-armv8/build.sh
View file @
52b2838e
...
...
@@ -45,6 +45,22 @@ PACKAGES="$PACKAGES fdisk"
PACKAGES
=
"
$PACKAGES
script-utils"
PACKAGES
=
"
$PACKAGES
luci-i18n-samba4-zh-cn"
# 若构建openclash 则添加内核
if
echo
"
$PACKAGES
"
|
grep
-q
"luci-app-openclash"
;
then
echo
"✅ 已选择 luci-app-openclash,添加 openclash core"
mkdir
-p
files/etc/openclash/core
# Download clash_meta
META_URL
=
"https://raw.githubusercontent.com/vernesong/OpenClash/core/master/meta/clash-linux-arm64.tar.gz"
wget
-qO-
$META_URL
|
tar
xOvz
>
files/etc/openclash/core/clash_meta
chmod
+x files/etc/openclash/core/clash_meta
# Download GeoIP and GeoSite
wget
-q
https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat
-O
files/etc/openclash/GeoIP.dat
wget
-q
https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat
-O
files/etc/openclash/GeoSite.dat
else
echo
"⚪️ 未选择 luci-app-openclash"
fi
# 构建镜像
echo
"
$(
date
'+%Y-%m-%d %H:%M:%S'
)
- Building image with the following packages:"
echo
"
$PACKAGES
"
...
...
mediatek-filogic/build-24.sh
View file @
52b2838e
...
...
@@ -48,6 +48,21 @@ if [ "$INCLUDE_DOCKER" = "yes" ]; then
echo
"Adding package: luci-i18n-dockerman-zh-cn"
fi
# 若构建openclash 则添加内核
if
echo
"
$PACKAGES
"
|
grep
-q
"luci-app-openclash"
;
then
echo
"✅ 已选择 luci-app-openclash,添加 openclash core"
mkdir
-p
files/etc/openclash/core
# Download clash_meta
META_URL
=
"https://raw.githubusercontent.com/vernesong/OpenClash/core/master/meta/clash-linux-arm64.tar.gz"
wget
-qO-
$META_URL
|
tar
xOvz
>
files/etc/openclash/core/clash_meta
chmod
+x files/etc/openclash/core/clash_meta
# Download GeoIP and GeoSite
wget
-q
https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat
-O
files/etc/openclash/GeoIP.dat
wget
-q
https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat
-O
files/etc/openclash/GeoSite.dat
else
echo
"⚪️ 未选择 luci-app-openclash"
fi
# 构建镜像
echo
"
$(
date
'+%Y-%m-%d %H:%M:%S'
)
- Building image with the following packages:"
...
...
mediatek-filogic/build.sh
View file @
52b2838e
...
...
@@ -47,6 +47,21 @@ if [ "$INCLUDE_DOCKER" = "yes" ]; then
echo
"Adding package: luci-i18n-dockerman-zh-cn"
fi
# 若构建openclash 则添加内核
if
echo
"
$PACKAGES
"
|
grep
-q
"luci-app-openclash"
;
then
echo
"✅ 已选择 luci-app-openclash,添加 openclash core"
mkdir
-p
files/etc/openclash/core
# Download clash_meta
META_URL
=
"https://raw.githubusercontent.com/vernesong/OpenClash/core/master/meta/clash-linux-arm64.tar.gz"
wget
-qO-
$META_URL
|
tar
xOvz
>
files/etc/openclash/core/clash_meta
chmod
+x files/etc/openclash/core/clash_meta
# Download GeoIP and GeoSite
wget
-q
https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat
-O
files/etc/openclash/GeoIP.dat
wget
-q
https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat
-O
files/etc/openclash/GeoSite.dat
else
echo
"⚪️ 未选择 luci-app-openclash"
fi
# 构建镜像
echo
"
$(
date
'+%Y-%m-%d %H:%M:%S'
)
- Building image with the following packages:"
...
...
raspberrypi/23.05.4/build.sh
View file @
52b2838e
...
...
@@ -36,6 +36,21 @@ if [ "$INCLUDE_DOCKER" = "yes" ]; then
echo
"Adding package: luci-i18n-dockerman-zh-cn"
fi
# 若构建openclash 则添加内核
if
echo
"
$PACKAGES
"
|
grep
-q
"luci-app-openclash"
;
then
echo
"✅ 已选择 luci-app-openclash,添加 openclash core"
mkdir
-p
files/etc/openclash/core
# Download clash_meta
META_URL
=
"https://raw.githubusercontent.com/vernesong/OpenClash/core/master/meta/clash-linux-arm64.tar.gz"
wget
-qO-
$META_URL
|
tar
xOvz
>
files/etc/openclash/core/clash_meta
chmod
+x files/etc/openclash/core/clash_meta
# Download GeoIP and GeoSite
wget
-q
https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat
-O
files/etc/openclash/GeoIP.dat
wget
-q
https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat
-O
files/etc/openclash/GeoSite.dat
else
echo
"⚪️ 未选择 luci-app-openclash"
fi
# 构建镜像
echo
"
$(
date
'+%Y-%m-%d %H:%M:%S'
)
- Building image with the following packages:"
echo
"
$PACKAGES
"
...
...
raspberrypi/24.10/build.sh
View file @
52b2838e
...
...
@@ -39,6 +39,22 @@ if [ "$INCLUDE_DOCKER" = "yes" ]; then
echo
"Adding package: luci-i18n-dockerman-zh-cn"
fi
# 若构建openclash 则添加内核
if
echo
"
$PACKAGES
"
|
grep
-q
"luci-app-openclash"
;
then
echo
"✅ 已选择 luci-app-openclash,添加 openclash core"
mkdir
-p
files/etc/openclash/core
# Download clash_meta
META_URL
=
"https://raw.githubusercontent.com/vernesong/OpenClash/core/master/meta/clash-linux-arm64.tar.gz"
wget
-qO-
$META_URL
|
tar
xOvz
>
files/etc/openclash/core/clash_meta
chmod
+x files/etc/openclash/core/clash_meta
# Download GeoIP and GeoSite
wget
-q
https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat
-O
files/etc/openclash/GeoIP.dat
wget
-q
https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat
-O
files/etc/openclash/GeoSite.dat
else
echo
"⚪️ 未选择 luci-app-openclash"
fi
# 构建镜像
echo
"
$(
date
'+%Y-%m-%d %H:%M:%S'
)
- Building image with the following packages:"
...
...
rockchip/23.05.4/build.sh
View file @
52b2838e
...
...
@@ -45,6 +45,23 @@ PACKAGES="$PACKAGES fdisk"
PACKAGES
=
"
$PACKAGES
script-utils"
PACKAGES
=
"
$PACKAGES
luci-i18n-samba4-zh-cn"
# 若构建openclash 则添加内核
if
echo
"
$PACKAGES
"
|
grep
-q
"luci-app-openclash"
;
then
echo
"✅ 已选择 luci-app-openclash,添加 openclash core"
mkdir
-p
files/etc/openclash/core
# Download clash_meta
META_URL
=
"https://raw.githubusercontent.com/vernesong/OpenClash/core/master/meta/clash-linux-arm64.tar.gz"
wget
-qO-
$META_URL
|
tar
xOvz
>
files/etc/openclash/core/clash_meta
chmod
+x files/etc/openclash/core/clash_meta
# Download GeoIP and GeoSite
wget
-q
https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat
-O
files/etc/openclash/GeoIP.dat
wget
-q
https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat
-O
files/etc/openclash/GeoSite.dat
else
echo
"⚪️ 未选择 luci-app-openclash"
fi
# 构建镜像
echo
"
$(
date
'+%Y-%m-%d %H:%M:%S'
)
- Building image with the following packages:"
echo
"
$PACKAGES
"
...
...
rockchip/build.sh
View file @
52b2838e
...
...
@@ -90,6 +90,22 @@ PACKAGES="$PACKAGES luci-i18n-dufs-zh-cn"
echo
"
$(
date
'+%Y-%m-%d %H:%M:%S'
)
- Building image with the following packages:"
echo
"
$PACKAGES
"
# 若构建openclash 则添加内核
if
echo
"
$PACKAGES
"
|
grep
-q
"luci-app-openclash"
;
then
echo
"✅ 已选择 luci-app-openclash,添加 openclash core"
mkdir
-p
files/etc/openclash/core
# Download clash_meta
META_URL
=
"https://raw.githubusercontent.com/vernesong/OpenClash/core/master/meta/clash-linux-arm64.tar.gz"
wget
-qO-
$META_URL
|
tar
xOvz
>
files/etc/openclash/core/clash_meta
chmod
+x files/etc/openclash/core/clash_meta
# Download GeoIP and GeoSite
wget
-q
https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat
-O
files/etc/openclash/GeoIP.dat
wget
-q
https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat
-O
files/etc/openclash/GeoSite.dat
else
echo
"⚪️ 未选择 luci-app-openclash"
fi
make image
PROFILE
=
$PROFILE
PACKAGES
=
"
$PACKAGES
"
FILES
=
"/home/build/immortalwrt/files"
ROOTFS_PARTSIZE
=
$ROOTFS_PARTSIZE
if
[
$?
-ne
0
]
;
then
...
...
sunxi-cortexa53/24.10/build.sh
View file @
52b2838e
...
...
@@ -38,6 +38,20 @@ if [ "$INCLUDE_DOCKER" = "yes" ]; then
echo
"Adding package: luci-i18n-dockerman-zh-cn"
fi
# 若构建openclash 则添加内核
if
echo
"
$PACKAGES
"
|
grep
-q
"luci-app-openclash"
;
then
echo
"✅ 已选择 luci-app-openclash,添加 openclash core"
mkdir
-p
files/etc/openclash/core
# Download clash_meta
META_URL
=
"https://raw.githubusercontent.com/vernesong/OpenClash/core/master/meta/clash-linux-arm64.tar.gz"
wget
-qO-
$META_URL
|
tar
xOvz
>
files/etc/openclash/core/clash_meta
chmod
+x files/etc/openclash/core/clash_meta
# Download GeoIP and GeoSite
wget
-q
https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat
-O
files/etc/openclash/GeoIP.dat
wget
-q
https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat
-O
files/etc/openclash/GeoSite.dat
else
echo
"⚪️ 未选择 luci-app-openclash"
fi
# 构建镜像
echo
"
$(
date
'+%Y-%m-%d %H:%M:%S'
)
- Building image with the following packages:"
...
...
sunxi-cortexa53/build.sh
View file @
52b2838e
...
...
@@ -35,6 +35,20 @@ if [ "$INCLUDE_DOCKER" = "yes" ]; then
echo
"Adding package: luci-i18n-dockerman-zh-cn"
fi
# 若构建openclash 则添加内核
if
echo
"
$PACKAGES
"
|
grep
-q
"luci-app-openclash"
;
then
echo
"✅ 已选择 luci-app-openclash,添加 openclash core"
mkdir
-p
files/etc/openclash/core
# Download clash_meta
META_URL
=
"https://raw.githubusercontent.com/vernesong/OpenClash/core/master/meta/clash-linux-arm64.tar.gz"
wget
-qO-
$META_URL
|
tar
xOvz
>
files/etc/openclash/core/clash_meta
chmod
+x files/etc/openclash/core/clash_meta
# Download GeoIP and GeoSite
wget
-q
https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat
-O
files/etc/openclash/GeoIP.dat
wget
-q
https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat
-O
files/etc/openclash/GeoSite.dat
else
echo
"⚪️ 未选择 luci-app-openclash"
fi
# 构建镜像
echo
"
$(
date
'+%Y-%m-%d %H:%M:%S'
)
- Building image with the following packages:"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment