mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-26 14:30:25 +00:00
scriptsL simpler tar format
This commit is contained in:
parent
50dc2d7389
commit
db2f4847ba
2 changed files with 2 additions and 1 deletions
|
@ -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.USTAR_FORMAT)
|
||||
|
||||
stack_file = os.path.join(self.mcu_copro, stack_file_name)
|
||||
# Form Manifest
|
||||
|
|
|
@ -170,6 +170,7 @@ class Main(App):
|
|||
),
|
||||
"w:gz",
|
||||
compresslevel=9,
|
||||
format=tarfile.USTAR_FORMAT,
|
||||
) as tar:
|
||||
tar.add(bundle_dir, arcname=bundle_dir_name)
|
||||
|
||||
|
|
Loading…
Reference in a new issue