Skip to content

Commit

Permalink
Use 'tar' filter
Browse files Browse the repository at this point in the history
  • Loading branch information
am11 authored Jan 3, 2025
1 parent 380e406 commit a03b145
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eng/common/cross/install-debs.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def extract_deb_file_using_dpkg(deb_file, tmp_dir, extract_dir, ar_tool):
raise ValueError(f"Unsupported compression format: {file_extension}")

with tarfile.open(tar_file_path, mode) as tar:
tar.extractall(path=extract_dir, filter='fully_trusted')
tar.extractall(path=extract_dir, filter='tar')

def finalize_setup(rootfsdir):
lib_dir = os.path.join(rootfsdir, 'lib')
Expand Down

0 comments on commit a03b145

Please sign in to comment.