update:openwrt

This commit is contained in:
dichgrem
2025-11-30 15:19:56 +08:00
parent a14f07559d
commit fc214b99ea

View File

@@ -497,16 +497,19 @@ make package/luci-app-zzz/compile V=s
./bin/packages/x86_64/base/zzz_0.1.1-r1_x86_64.ipk ./bin/packages/x86_64/base/zzz_0.1.1-r1_x86_64.ipk
``` ```
## 常用命令: ## 常用命令
> 注意不能升级kmod前缀的软件包base-files是危险包谨慎升级
```bash ```bash
# 更新软件列表 # 更新软件列表
opkg update opkg update
# 更新所有 LUCI 插件 # 列出可升级的非内核包
opkg list-upgradable | grep luci- | cut -f 1 -d ' ' | xargs opkg upgrade opkg list-upgradable | grep -vE '^(kmod-|kernel)'
# 如果要更新所有软件,包括 OpenWRT 内核、固件等 # 升级单个软件包
opkg list-upgradable | cut -f 1 -d ' ' | xargs opkg upgrade opkg upgrade 包名
# 固件版本号 # 固件版本号
vim /etc/os-release vim /etc/os-release