forked from openbmc/openpower-vpd-parser
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit implements vpd-tool --mfgClean option. This API resets specific System VPD keywords to default value. The System VPD keywords are fetched from backup_restore.json. The specified keyword values are reset on: - Primary EEPROM path. - Redundant EEPROM path(if any) - D-Bus cache. - Backup path. Test: ``` root@p10bmc:~# ./vpd-tool --mfgClean --yes Manufacturing clean is successful root@p10bmc:~# ./vpd-tool --mfgClean This option resets some of the system VPD keywords to their default values. Do you really wish to proceed further?[yes/no]:yes Manufacturing clean is successful ``` Change-Id: I55862fc4122a188e3e522dd64ed6bd1fa94335e8 Signed-off-by: Souvik Roy <souvik.roy10@ibm.com>
- Loading branch information
Souvik Roy
committed
Jan 13, 2025
1 parent
70a1a3f
commit 5583167
Showing
2 changed files
with
97 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters