scripts: fix tar format

OFW PR 1871 by hedger
This commit is contained in:
MX
2022-10-13 01:47:03 +03:00
parent 94d2d5c99f
commit 5f28eafcd2
2 changed files with 2 additions and 1 deletions

View File

@@ -60,7 +60,7 @@ class Copro:
array.append({"name": filename, "sha256": file_sha256(source_file), **kwargs})
def bundle(self, output_file, stack_file_name, stack_type, stack_addr=None):
self.output_tar = tarfile.open(output_file, "w:gz")
self.output_tar = tarfile.open(output_file, "w:gz", format=tarfile.GNU_FORMAT)
stack_file = os.path.join(self.mcu_copro, stack_file_name)
# Form Manifest