Update README.md

This commit is contained in:
mmc1987 2024-07-27 21:53:44 +08:00 committed by GitHub
parent 41012068f2
commit 4ebf380b59
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1 +1,28 @@
# luci-app-zerotier
Compile / 编译
# 进入 OpenWrt SDK 目录,建议使用 Docker如:
docker run -it -v $PWD/bin:/builder/bin openwrt/sdk:x86-64-22.03.5 bash
# 要更新 feeds
# - 获取 feeds/luci/luci.mk
# - 获取依赖包 zerotier 编译信息 (feeds/packages/net)
# - 获取 feeds/luci/applications 目录
./scripts/feeds update -a
# 拷贝到合适目录,如
git clone --depth=1 https://github.com/zhengmz/luci-app-zerotier.git feeds/luci/applications/luci-app-zerotier
# 加载
./scripts/feeds update -f luci
./scripts/feeds install -p luci -f luci-app-zerotier
make defconfig
# 编译
make package/luci-app-zerotier/compile
# 结果
# 存放在 bin/packages/x86_64/luci 目录
luci-app-zerotier*.ipk
luci-i18n-zerotier-zh-cn*.ipk