Skip to content

Commit

Permalink
Dpdk: move pyelftools to single installation point
Browse files Browse the repository at this point in the history
  • Loading branch information
mcgov committed Jan 16, 2025
1 parent 6520c65 commit 9a02ce2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions microsoft/testsuites/dpdk/dpdktestpmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,6 @@
"dpkg-dev",
"pkg-config",
"python3-pip",
"python3-pyelftools",
"python-pyelftools",
# 18.04 doesn't need linux-modules-extra-azure
# since it will never have MANA support
],
Expand All @@ -128,7 +126,6 @@
"build-essential",
"libnuma-dev",
"libmnl-dev",
"python3-pyelftools",
"libelf-dev",
"pkg-config",
],
Expand Down Expand Up @@ -228,6 +225,8 @@ def _setup_node(self) -> None:
# like cmake, meson, make, autoconf, etc.
self._node.tools[Ninja].install()
if not isinstance(self._os, Debian):
self._os.install_packages("python3-pyelftools")
else:
self._node.tools[Pip].install_packages("pyelftools")

def _uninstall(self) -> None:
Expand Down

0 comments on commit 9a02ce2

Please sign in to comment.