action来编译openwrt
大佬,我有用github的action来编译openwrt,我想把插件编译到到里面去,是添加个软件源吗?
https://github.com/stackia/rtp2httpd/tree/465a3dffab08b58b050bc8a713a9765af1a4c413/openwrt-support
CONFIG_PACKAGE_luci-app-rtp2httpd=y
请问是这样设置吗?
是的,openwrt-support 这个目录可以作为软件源直接加入到 openwrt 的 feeds.conf.default 里面
是的,openwrt-support 这个目录可以作为软件源直接加入到 openwrt 的 feeds.conf.default 里面
大白一个,本地编译,在feeds.conf.default 里面添加 src-git rtp2httpd https://github.com/stackia/rtp2httpd/tree/465a3dffab08b58b050bc8a713a9765af1a4c413/openwrt-support
结果出现如下 致命错误:仓库 'https://github.com/stackia/rtp2httpd/tree/465a3dffab08b58b050bc8a713a9765af1a4c413/openwrt-support/' 未找到
请问大佬,如何添加呢?
看了下目前应该还是不支持直接添加到 feeds.conf.default 里面去用
需要你们自己给 Makefile 做一些 patch,带上
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/stackia/rtp2httpd.git
PKG_SOURCE_VERSION:=main
例如 https://github.com/smdx/rtp2httpd/blob/main/Makefile
只能等大佬,后续优化了。
https://github.com/stackia/rtp2httpd/blob/main/docs/installation.md#openwrt-%E7%BC%96%E8%AF%91%E5%AE%89%E8%A3%85
现在已经支持直接使用本仓库提供的 openwrt Makefile。
谢谢大佬,不断完善,并且耐心解答,教程很细,我这样的白痴也能看懂
主要是大佬,更新频率太高了,不是在写代码就是在写代码。