Skip to content

Commit

Permalink
Add a filter in install-debs.py (#15372)
Browse files Browse the repository at this point in the history
  • Loading branch information
am11 authored Jan 3, 2025
1 parent 05d4d46 commit 2f07a67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion eng/common/cross/build-rootfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,7 @@ elif [[ -n "$__CodeName" ]]; then
PYTHON=${PYTHON_EXECUTABLE:-python3}

# shellcheck disable=SC2086,SC2046
echo running "$PYTHON" "$__CrossDir/install-debs.py" --arch "$__UbuntuArch" --rootfsdir "$__RootfsDir" --artool "$AR" \
echo running "$PYTHON" "$__CrossDir/install-debs.py" --arch "$__UbuntuArch" --mirror "$__UbuntuRepo" --rootfsdir "$__RootfsDir" --artool "$AR" \
$(echo $suites | xargs -n 1 | xargs -I {} echo -n "--suite {} ") \
$__UbuntuPackages

Expand Down
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=None)
tar.extractall(path=extract_dir, filter='tar')

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

0 comments on commit 2f07a67

Please sign in to comment.