-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
item_updater_mmc: Implement bios factory reset
Implemented the method ItemUpdaterMMC::reset. It clears files in /media/hostfw/ related to managing console and virtualization information, then recreates those files using bus calls to service files. Added checks to obmc-flash-bios so it doesn't cause problems when its methods are run multiple times. Modified latest services to allow them to run more than once. Services which depend on the init service will run after it. Tested: Created extra files in the directories that the reset method removes. Called the reset method using busctl. Verified that the added files were removed and that the removed files that belong were recreated. Verified that all services called were run. Signed-off-by: Isaac Kurth <[email protected]> Change-Id: I1e04e97a7c5c9e3fa8b5ee7af47b7320ff3e91d3
- Loading branch information
Showing
4 changed files
with
61 additions
and
8 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
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