1054009064

Results 6 comments of 1054009064

![Screenshot_20220227-221626_Chrome](https://user-images.githubusercontent.com/44148148/155886086-afdb42de-c96a-4f90-aae7-e6b4bfb3cfd9.png)

## 借贴反馈个问题: 近期合并了使用 aria2 进行 `make download` 的代码,部分用户安装了 aria2 进行 `make download`, 就会返回 openwrt cdn 这类比较快的下载,导致 hash 校验不正确 (如 #10185) 而 openwrt cdn 的 `jq-1.6.tar.gz` 和 `https://github.com/stedolan/jq` 的大小就存在差异(如图二) @smallprogram 能否找到一个更完美的方法呢?...

> > 目前我只知道有这么几种方案 > > 1. 简单粗暴,取消hash校验,`PKG_HASH:=skip`,但是可能会出现安全性问题 > 2. 干掉非op cdn的源,统一用hash一致的源,工作量很大 > 3. revert aria2脚本 哈哈,实在不清楚他们为什么源码用 `stedolan/jq` 的包,但 cdn 又魔改(或重新压缩)了另外一个包...

> > 在op上游交了[pr](https://github.com/openwrt/packages/pull/19496) @bradfordzhang 感谢您。这个 jq 只是个例,应用了 aria2 后,日后可能会有越来越多的 openwrt cdn 和源码包 hash 不一致。但 aria2 确实提高了下载效率,糟糕的 cdn 缓存让这看起来变得糟糕了。😂

@bradfordzhang 目前 aria2 的下载只会在判断到最快的链接下载,而一旦 hash 不匹配,就直接判断为失败,而不是去选下一个网址继续进行尝试,这是否是个 bug 呢?

@malash You can try to update the linux-firmware to 20230310, because I see that the wcn6855-firmware is updated to [WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.23](https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=c7a57ef688f7d99d8338a5d8edddc8836ff0e6de).