Skip to content

Commit

Permalink
Merge pull request avocado-framework-tests#2835 from Krishan-Saraswat…
Browse files Browse the repository at this point in the history
…/ras_packages

Added changes to distro specific packages
  • Loading branch information
PraveenPenguin authored Jun 7, 2024
2 parents 2ea45f7 + dbbcf23 commit 7e22b9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ras/packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ def setUp(self):

self.sm = SoftwareManager()
self.packages = self.params.get(
'packages', default=['powerpc-utils', 'ppc64-diag', 'lsvpd', 'powerpc-utils-core'])
'packages', default=['powerpc-utils', 'ppc64-diag', 'lsvpd'])
if 'PowerNV' in open('/proc/cpuinfo', 'r').read():
self.packages.extend(['opal-prd'])

def test(self):
dist = distro.detect()
if dist.name == 'rhel':
packages_rhel = self.params.get(
'packages_rhel', default=['lshw', 'librtas'])
'packages_rhel', default=['lshw', 'librtas', 'powerpc-utils-core'])
self.packages.extend(packages_rhel)
elif dist.name == 'Ubuntu':
packages_ubuntu = self.params.get(
Expand Down

0 comments on commit 7e22b9c

Please sign in to comment.