Files
shell/openwrt/build.sh
2025-11-19 09:31:42 +08:00

21 lines
821 B
Bash
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/bin/bash
PACKAGES=""
PACKAGES="$PACKAGES curl"
PACKAGES="$PACKAGES luci-theme-argon"
PACKAGES="$PACKAGES luci-i18n-base-zh-cn"
PACKAGES="$PACKAGES luci-i18n-firewall-zh-cn"
PACKAGES="$PACKAGES luci-i18n-package-manager-zh-cn"
PACKAGES="$PACKAGES luci-i18n-homeproxy-zh-cn"
PACKAGES="$PACKAGES luci-i18n-ttyd-zh-cn"
PACKAGES="$PACKAGES luci-i18n-diskman-zh-cn"
PACKAGES="$PACKAGES luci-i18n-filemanager-zh-cn"
# Docker需要1G以上空间下载汉化包即可自动安装对应软件和依赖
# PACKAGES="$PACKAGES luci-i18n-dockerman-zh-cn"
make image PACKAGES="$PACKAGES" FILES="/home/build/immortalwrt/files" ROOTFS_PARTSIZE="512"
# 通常需要传入路由器型号例如PROFILE=friendlyarm_nanopi-r2s
# 路由器型号id查询地址https://downloads.immortalwrt.org/releases/24.10.4/.overview.json