File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ type ReleaseFile struct {
8888
8989var distroCaser = cases .Title (language .Und )
9090
91- var imageExtensions = []string {"img.xz" , "img.qcow2.xz " , "boot.bin.xz" }
91+ var imageExtensions = []string {"img.xz" , "img.qcow2" , "boot.bin.xz" }
9292
9393// loadMapJSON loads a map file from JSON, based on the format specified in the github issue.
9494// See: https://github.com/armbian/os/pull/129
@@ -144,7 +144,7 @@ func loadMapJSON(f io.Reader) (map[string]string, error) {
144144 sb .WriteString ("-boot-csot" )
145145 case strings .Contains (file .Extension , "rootfs.img.xz" ):
146146 sb .WriteString ("-rootfs" )
147- case strings .Contains (file .Extension , "img.qcow2.xz " ):
147+ case strings .Contains (file .Extension , "img.qcow2" ):
148148 sb .WriteString ("-qcow2" )
149149 case strings .Contains (file .Extension , "boot.bin.xz" ):
150150 sb .WriteString ("-uboot-bin" )
You can’t perform that action at this time.
0 commit comments