Skip to content

[202012] Added libpci and pciutils to the pmon docker (#12684)#14056

Merged
qiluo-msft merged 2 commits intosonic-net:202012from
ashwnsri:cherrypick-12684
Mar 9, 2023
Merged

[202012] Added libpci and pciutils to the pmon docker (#12684)#14056
qiluo-msft merged 2 commits intosonic-net:202012from
ashwnsri:cherrypick-12684

Conversation

@ashwnsri
Copy link
Contributor

@ashwnsri ashwnsri commented Mar 2, 2023

Why I did it

This is part of a corresponding change to the pcie daemon that enables it to verify PCI peripherals on a platform against a preconfigured YAML file, and enables the pcied daemon to call the system commands needed for PCI peripheral verification

How I did it

Adding aforementioned libraries to the Dockerfile.j2 file

How to verify it

run 'which setpci' from the pmon docker - would show the path of the binary

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205

Description for the changelog

Modified pmon's Dockerfile.j2 to include pciutils and libpci libraries.

cherry-pick of SHA: 7de0450

Ensure to add label/tag for the feature raised. example - PR#2174 under sonic-utilities repo. where, Generic Config and Update feature has been labelled as GCU.

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

This enables the pcied daemon to call the corresponding system commands needed for pci transactions
@ashwnsri
Copy link
Contributor Author

ashwnsri commented Mar 2, 2023

Fixes cherry-pick conflict of original PR: #12684

@qiluo-msft qiluo-msft force-pushed the 202012 branch 2 times, most recently from 6fd3d83 to 06be005 Compare March 6, 2023 21:43
@prgeor
Copy link
Contributor

prgeor commented Mar 7, 2023

@assrinivasan pleaes update the description with cherry pick PR details

@ashwnsri
Copy link
Contributor Author

ashwnsri commented Mar 8, 2023

@lguohan please help merge, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants