1. 程式人生 > >openwrt 修改feeds.conf.default為GitHub源

openwrt 修改feeds.conf.default為GitHub源

lede和openwrt合併之後
lede官網掛了。。
git.openwrt.org,也訪問不了。。

只要去github上找最新原始碼:

git clone https://github.com/openwrt/openwrt.git

最新的lede

git clone -b lede-17.01 https://github.com/openwrt/openwrt.git

但是問題又來了,,
./script/feeds update -a 又掛了,,

檢視檔案feeds.conf.default

src-git packages https://git.openwrt.org/feed/packages.git
src-git luci https://git.openwrt.org/project/luci.git src-git routing https://git.openwrt.org/feed/routing.git src-git telephony https://git.openwrt.org/feed/telephony.git #src-git video https://github.com/openwrt/video.git #src-git targets https://github.com/openwrt/targets.git #src-git management https://github.com/openwrt-management/packages.git
#src-git oldpackages http://git.openwrt.org/packages.git #src-link custom /usr/src/openwrt/custom-feed

git.openwrt.org訪問不了,無法更新,只能使用github源地址:
更新如下:

src-git packages https://github.com/openwrt/packages.git
src-git luci https://github.com/openwrt/luci.git
src-git routing https://github.com/openwrt-routing/packages.git
src-git telephony https://github.com/openwrt/telephony.git src-git management https://github.com/openwrt-management/packages.git

OK,./script/feeds update -a 可以了