tossp / redpill-tool-chain

这是一个测试项目,可能会有不可预测的事情发生(比如:毁损数据、烧毁硬件等等),请谨慎使用。
806 stars 1.89k forks source link

镜像验证错误 #89

Closed psonys closed 2 years ago

psonys commented 2 years ago

[#] Checking runtime for required tools... [OK] [#] PAT file /opt/redpill-load/cache/ds918p_42661.pat not found - downloading from https://global.download.synology.com/download/DSM/release/7.1/42661/DSM_DS918%2B_42661.pat % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 342M 100 342M 0 0 12.8M 0 0:00:26 0:00:26 --:--:-- 12.4M [#] Verifying /opt/redpill-load/cache/ds918p_42661.pat file... [OK] [#] File /opt/redpill-load/cache/ds918p_42661.pat, Decryption required [#] Test encryption pat results 1 error 42506 blocks extract rd

psonys commented 2 years ago

######################################################################################################################### 100.0%

[!] Extension is already added (index exists at /opt/redpill-load/custom/extensions/redpill-boot-wait/redpill-boot-wait.json). For more info use "ext-manager.sh info redpill-boot-wait"

Process will exit [!] Failed to install redpill.bootwait bundled extension - see errors above

Process will exit make: *** [Makefile:33: build_redpill_load] Error 1

psonys commented 2 years ago

编译失败 再次编译提示: [#] Checking runtime for required tools... [OK] [#] Verifying /opt/redpill-load/cache/ds918p_42661.pat file... [ERR] [!] Checksum mismatch - expected 1fcb4e2bfcea26e381fc6680198158694ee695e6323a5b8cd9aec6cb411bb562 but computed 9cdf6c8f6b5a0f5d9784ddb31a0beae79d66d88845a3c7de8209dc5304d0bc7d

Process will exit

rote66 commented 2 years ago

把cache目录下的ds918的pat删了,然后把pat.bak的改回pat。主问题在于redpill.bootwait驱动报了重复,把custom/extension下的redpill-boot-wait删了。checksum报错是因为在重打包后出错的,pat已经修改了,checksum肯定对不上了。

tossp commented 2 years ago

嗯,昨天赶工出来的东西,在github Actions上测试通过,晚点再修复本地重复编译导致的校验识别流程错误