diff --git a/scripts/flipper/assets/copro.py b/scripts/flipper/assets/copro.py index f6b6849cf..d39f30333 100644 --- a/scripts/flipper/assets/copro.py +++ b/scripts/flipper/assets/copro.py @@ -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", format=tarfile.GNU_FORMAT) + 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 diff --git a/scripts/sconsdist.py b/scripts/sconsdist.py index 50ffe0c4b..5f38ec980 100644 --- a/scripts/sconsdist.py +++ b/scripts/sconsdist.py @@ -181,7 +181,7 @@ class Main(App): ), "w:gz", compresslevel=9, - format=tarfile.GNU_FORMAT, + format=tarfile.USTAR_FORMAT, ) as tar: tar.add(bundle_dir, arcname=bundle_dir_name)