自由猫

解决 Lean 固件编译后无 SSR-Plus 的问题

Published: (Updated: ) in 技巧, , , by .

在最近的更新后,Lean 源码中删除了 SSR Plus + 功能模块。在编译路由器固件过程中,进入 Luci-Application 菜单后,找不到 luci-app-ssr-plus 选项,当然也就无法编译这一模块。

如果是初次编译,git clone 完成后,修改 feeds.conf.default 文件,将:

# src-git helloworld https://github.com/fw876/helloworld

前面的 # 去掉,修改为:

src-git helloworld https://github.com/fw876/helloworld

2021-11-22更新:如果 feeds.conf.default 文件中没有这一行,可手动加上。

再执行

./scripts/feeds update -a
./scripts/feeds install -a
make menuconfig

等命令进行编译即可。

如果是二次编译,则执行以下命令:

$ git pull
$ rm -rf ./tmp && rm -rf .config

再编辑 feeds.config.default 文件,将 helloworld 一行前的 # 去掉。然后更新 feeds:

$ ./scripts/feeds clean
$ ./scripts/feeds update -a && ./scripts/feeds install -a

再进行 make menuconfig 等命令进行编译即可。

Comments

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注