mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
update 64216 to 64551
This commit is contained in:
parent
a9a569b971
commit
3ed4423c3a
@ -114,7 +114,7 @@ builds:
|
||||
- "ramdisk-42951-post-init-script.patch"
|
||||
- "ramdisk-42661-disable-disabled-ports.patch"
|
||||
|
||||
64216:
|
||||
64551:
|
||||
ver: "7.2.0"
|
||||
kver: "4.4.302"
|
||||
rd-compressed: false
|
||||
|
@ -88,7 +88,7 @@ builds:
|
||||
- "ramdisk-common-etc-rc.patch"
|
||||
- "ramdisk-42951-post-init-script.patch"
|
||||
|
||||
64216:
|
||||
64551:
|
||||
ver: "7.2.0"
|
||||
kver: "4.4.302"
|
||||
rd-compressed: false
|
||||
|
@ -89,7 +89,7 @@ builds:
|
||||
- "ramdisk-common-etc-rc.patch"
|
||||
- "ramdisk-42951-post-init-script.patch"
|
||||
|
||||
64216:
|
||||
64551:
|
||||
ver: "7.2.0"
|
||||
kver: "4.4.302"
|
||||
rd-compressed: false
|
||||
|
@ -111,7 +111,7 @@ builds:
|
||||
- "ramdisk-42951-post-init-script.patch"
|
||||
- "ramdisk-42661-disable-disabled-ports.patch"
|
||||
|
||||
64216:
|
||||
64551:
|
||||
ver: "7.2.0"
|
||||
kver: "4.4.302"
|
||||
rd-compressed: false
|
||||
|
@ -88,7 +88,7 @@ builds:
|
||||
- "ramdisk-common-etc-rc.patch"
|
||||
- "ramdisk-42951-post-init-script.patch"
|
||||
|
||||
64216:
|
||||
64551:
|
||||
ver: "7.2.0"
|
||||
kver: "4.4.302"
|
||||
rd-compressed: false
|
||||
|
@ -92,7 +92,7 @@ builds:
|
||||
- "ramdisk-42661-post-init-script.patch"
|
||||
- "ramdisk-42661-disable-disabled-ports.patch"
|
||||
|
||||
42962:
|
||||
64551:
|
||||
ver: "7.1.1"
|
||||
kver: "3.10.108"
|
||||
rd-compressed: false
|
||||
|
@ -113,7 +113,7 @@ builds:
|
||||
- "ramdisk-42951-post-init-script.patch"
|
||||
- "ramdisk-42661-disable-disabled-ports.patch"
|
||||
|
||||
64216:
|
||||
64551:
|
||||
ver: "7.2.0"
|
||||
kver: "4.4.302"
|
||||
rd-compressed: false
|
||||
|
@ -93,7 +93,7 @@ builds:
|
||||
- "ramdisk-42951-post-init-script.patch"
|
||||
- "ramdisk-42661-disable-disabled-ports.patch"
|
||||
|
||||
64216:
|
||||
64551:
|
||||
ver: "7.2.0"
|
||||
kver: "4.4.302"
|
||||
rd-compressed: false
|
||||
|
@ -111,7 +111,7 @@ builds:
|
||||
- "ramdisk-42951-post-init-script.patch"
|
||||
- "ramdisk-42661-disable-disabled-ports.patch"
|
||||
|
||||
64216:
|
||||
64551:
|
||||
ver: "7.2.0"
|
||||
kver: "3.10.108"
|
||||
rd-compressed: false
|
||||
|
@ -117,7 +117,7 @@ builds:
|
||||
- "ramdisk-42951-post-init-script.patch"
|
||||
- "ramdisk-42661-disable-disabled-ports.patch"
|
||||
|
||||
64216:
|
||||
64551:
|
||||
ver: "7.2.0"
|
||||
kver: "4.4.302"
|
||||
rd-compressed: false
|
||||
|
@ -90,7 +90,7 @@ builds:
|
||||
- "ramdisk-common-etc-rc.patch"
|
||||
- "ramdisk-42951-post-init-script.patch"
|
||||
|
||||
64216:
|
||||
64551:
|
||||
ver: "7.2.0"
|
||||
kver: "4.4.302"
|
||||
rd-compressed: false
|
||||
|
@ -47,7 +47,7 @@ builds:
|
||||
- "ramdisk-common-etc-rc.patch"
|
||||
- "ramdisk-42951-post-init-script.patch"
|
||||
|
||||
64216:
|
||||
64551:
|
||||
ver: "7.2.0"
|
||||
kver: "4.4.302"
|
||||
rd-compressed: false
|
||||
|
@ -71,7 +71,7 @@ builds:
|
||||
- "ramdisk-common-etc-rc.patch"
|
||||
- "ramdisk-42951-post-init-script.patch"
|
||||
|
||||
64216:
|
||||
64551:
|
||||
ver: "7.2.0"
|
||||
kver: "4.4.302"
|
||||
rd-compressed: false
|
||||
|
@ -115,7 +115,7 @@ builds:
|
||||
- "ramdisk-42951-post-init-script.patch"
|
||||
- "ramdisk-42661-disable-disabled-ports.patch"
|
||||
|
||||
64216:
|
||||
64551:
|
||||
ver: "7.2.0"
|
||||
kver: "4.4.302"
|
||||
rd-compressed: false
|
||||
|
@ -116,7 +116,7 @@ builds:
|
||||
- "ramdisk-42951-post-init-script.patch"
|
||||
- "ramdisk-42661-disable-disabled-ports.patch"
|
||||
|
||||
64216:
|
||||
64551:
|
||||
ver: "7.2.0"
|
||||
kver: "4.4.302"
|
||||
rd-compressed: false
|
||||
|
@ -88,7 +88,7 @@ builds:
|
||||
- "ramdisk-common-etc-rc.patch"
|
||||
- "ramdisk-42951-post-init-script.patch"
|
||||
|
||||
64216:
|
||||
64551:
|
||||
ver: "7.2.0"
|
||||
kver: "4.4.302"
|
||||
rd-compressed: false
|
||||
|
@ -87,7 +87,7 @@ builds:
|
||||
- "ramdisk-common-etc-rc.patch"
|
||||
- "ramdisk-42951-post-init-script.patch"
|
||||
|
||||
64216:
|
||||
64551:
|
||||
ver: "7.2.0"
|
||||
kver: "4.4.302"
|
||||
rd-compressed: false
|
||||
@ -96,7 +96,7 @@ builds:
|
||||
synoinfo:
|
||||
<<: *synoinfo
|
||||
pat:
|
||||
url: "https://cndl.synology.cn/download/DSM/beta/7.2/64216/DSM_FS6400_64216.pat"
|
||||
url: "https://global.synologydownload.com/download/DSM/beta/7.2/64216/DSM_FS6400_64216.pat"
|
||||
hash: "c225b79d5154488226655cbbd2f40e14f5711643baffb7b8b15488683f28e058"
|
||||
ramdisk-hash: "2109e6c499636b92e84912df867d1a01755a8b73b4b625838f4782f894264879"
|
||||
zimage-hash: "f5a41949fb348e6fb4006ddabede35675b93bfbf126a46870dd5db99918fea1e"
|
||||
|
@ -112,7 +112,7 @@ builds:
|
||||
- "ramdisk-42951-post-init-script.patch"
|
||||
- "ramdisk-42661-disable-disabled-ports.patch"
|
||||
|
||||
64216:
|
||||
64551:
|
||||
ver: "7.2.0"
|
||||
kver: "4.4.302"
|
||||
rd-compressed: false
|
||||
|
@ -47,7 +47,7 @@ builds:
|
||||
- "ramdisk-common-etc-rc.patch"
|
||||
- "ramdisk-42951-post-init-script.patch"
|
||||
|
||||
64216:
|
||||
64551:
|
||||
ver: "7.2.0"
|
||||
kver: "5.10.55"
|
||||
rd-compressed: false
|
||||
|
@ -116,7 +116,8 @@ def main(): # if __name__ == '__main__':
|
||||
|
||||
print(models)
|
||||
|
||||
# Get pats
|
||||
# Get beta pats
|
||||
# 临时对策, RC 64551 目前并没有在 archive.synology.com 上线, beta 又为 64216, 临时用 64216 的地址进行替换.
|
||||
pats = {}
|
||||
req = requests.get('https://prerelease.synology.com/webapi/models?event=dsm72_beta')
|
||||
rels = json.loads(req.text)
|
||||
@ -125,7 +126,7 @@ def main(): # if __name__ == '__main__':
|
||||
if "name" not in i or "dsm" not in i: continue
|
||||
if i["name"] not in models: continue
|
||||
if i["name"] not in pats.keys(): pats[i["name"]]={}
|
||||
pats[i["name"]][fullversion(i["dsm"]["version"])] = i["dsm"]["url"].split('?')[0]
|
||||
pats[i["name"]][fullversion(i["dsm"]["version"]).replace('64216','64551')] = i["dsm"]["url"].split('?')[0].replace('beta','release').replace('64216','64551')
|
||||
|
||||
req = requests.get('https://archive.synology.com/download/Os/DSM')
|
||||
req.encoding = 'utf-8'
|
||||
@ -135,7 +136,7 @@ def main(): # if __name__ == '__main__':
|
||||
for i in l:
|
||||
ver = i.attrs['href'].split('/')[-1]
|
||||
if not any([ver.startswith('6.2.4'), ver.startswith('7')]): continue
|
||||
req = requests.get('https://archive.synology.cn{}'.format(i.attrs['href']))
|
||||
req = requests.get('https://archive.synology.com{}'.format(i.attrs['href']))
|
||||
req.encoding = 'utf-8'
|
||||
bs=BeautifulSoup(req.text, 'html.parser')
|
||||
p = re.compile(r"^(.*?)_(.*?)_(.*?).pat$", re.MULTILINE | re.DOTALL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user