mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-12-13 13:09:49 +04:00
scriptsL simpler tar format
This commit is contained in:
@@ -60,7 +60,7 @@ class Copro:
|
|||||||
array.append({"name": filename, "sha256": file_sha256(source_file), **kwargs})
|
array.append({"name": filename, "sha256": file_sha256(source_file), **kwargs})
|
||||||
|
|
||||||
def bundle(self, output_file, stack_file_name, stack_type, stack_addr=None):
|
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)
|
stack_file = os.path.join(self.mcu_copro, stack_file_name)
|
||||||
# Form Manifest
|
# Form Manifest
|
||||||
|
|||||||
@@ -170,6 +170,7 @@ class Main(App):
|
|||||||
),
|
),
|
||||||
"w:gz",
|
"w:gz",
|
||||||
compresslevel=9,
|
compresslevel=9,
|
||||||
|
format=tarfile.USTAR_FORMAT,
|
||||||
) as tar:
|
) as tar:
|
||||||
tar.add(bundle_dir, arcname=bundle_dir_name)
|
tar.add(bundle_dir, arcname=bundle_dir_name)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user