Closed pmxEr5lZwZ closed 4 years ago
实体机编译,真的很多莫名奇妙问题,成功率低的可怕,试试github的action吧,用了action我已经彻底放弃实体机编译了
@aizhouyi 非常感谢,不过有个疑问,第一次编译的config没有ssrplus,如果我想第二次注释HELLOWORLD+勾选后,我应该这么做?有没有workflow的模板可以分享一下呢?谢谢
@aizhouyi 非常感谢,不过有个疑问,第一次编译的config没有ssrplus,如果我想第二次注释HELLOWORLD+勾选后,我应该这么做?有没有workflow的模板可以分享一下呢?谢谢
一一解答 第一,可以通过修改feeds文件实现,确实可以。但我用的不是这种方法。 第二,我是直接下载科学源码,再去feeds。 云action推荐 https://github.com/P3TERX/Actions-OpenWr 这个写的非常完善了,文档十分详细。 第三,模板很多了,很多定时编译的大佬一直更新,比如 https://github.com/SuLingGG/OpenWrt-Rpi 你也可以点进我的仓库可以看到我的, https://github.com/aizhouyi/openwrt_compile.git 主要修改是workflow文件(只是我开启了国内上传固件,其他全是默认)和diy-part1.sh(这个就是增加你想要的功能),把本地的配置文件推上去,自动就开始编译了。
到这里的报错基本就快编译好了,我自己遇到的是冲突造成的,你检查一下,我之前不知道已经集成了wifi驱动,自己又装了一个,最后冲突了。我建议,git下来后,什么都不要改,直接满线程跑一遍代码,一切正常,后面都好解决了,编译错了重新再来,后面再编译我用VPS跑10分钟不到就可以跑完,美滋滋。
按照教程来的,从来没有编译成功过, (这三天内的经历) 1.之前用docker ubuntu 18.04编译,不行, 2.后来用windows商店Ubuntu 18.04 LTS编译,开全局代理,不行 3.海外VPS用Docker ubuntu 18.04编译,不行, 4.海外VPS用make menuconfig不选型号,默认编译,不行, 5.windows商店Ubuntu 20.04 LTS 编译,选择Newifi D2型号,不行 是我的人品不行么。。。