Skip to content

Commit caa8698

Browse files
committed
post AGNOS 11 image
1 parent 3ec94b2 commit caa8698

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/utils/manifest.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ export class Image {
4747
this.name = json.name
4848
this.sparse = json.sparse
4949

50-
if (this.name === 'system') {
50+
// before AGNOS 11 - flash alt skip-chunks image
51+
// after AGNOS 11 - flash main non-sparse image
52+
if (this.name === 'system' && this.sparse && json.alt) {
5153
this.checksum = json.alt.hash
5254
this.fileName = `${this.name}-skip-chunks-${json.hash_raw}.img`
5355
this.archiveUrl = json.alt.url

0 commit comments

Comments
 (0)