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
e17d3484e1
commit
866b36115a
@ -535,8 +535,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