update 64216 to 64551

This commit is contained in:
Ing 2023-04-25 21:26:31 +08:00
parent a9a569b971
commit 3ed4423c3a
20 changed files with 25 additions and 24 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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)