The check option in options causes ValueError
The crc32 check we want is the default anyway, so we don't need to specify it.
This commit is contained in:
parent
0ce2dc14e4
commit
8e9f96c12a
@ -506,8 +506,7 @@ class LoraxInstallTree(BaseLoraxClass):
|
||||
compressed = gzip.open(initrd.fpath, "wb")
|
||||
elif type == "xz":
|
||||
compressed = lzma.LZMAFile(initrd.fpath, "w",
|
||||
options={"format":"xz", "check":"crc32",
|
||||
"level":9})
|
||||
options={"format":"xz", "level":9})
|
||||
|
||||
compressed.write(cpio.stdout.read())
|
||||
compressed.close()
|
||||
|
Loading…
Reference in New Issue
Block a user