#
0ddd4fad |
| 14-Jul-2021 |
Isaac Kurth <blisaac91@gmail.com> |
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 recrea
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 <blisaac91@gmail.com> Change-Id: I1e04e97a7c5c9e3fa8b5ee7af47b7320ff3e91d3
show more ...
|
#
ac5aec18 |
| 22-Jun-2021 |
Adriana Kobylak <anoo@us.ibm.com> |
mmc: Move process host firmware to own service
The process-host-firmware subcommand waits for the Entity Manager interface to appear in D-Bus. It's currently run from the mmc-init script. But if a s
mmc: Move process host firmware to own service
The process-host-firmware subcommand waits for the Entity Manager interface to appear in D-Bus. It's currently run from the mmc-init script. But if a system does not support Entity Manager, then the init service never exits, blocking its dependencies like PLDM from starting.
Move the process-host-firmware to its own service file so that if needs to wait forever, it doesn't interfere with other processes. Need to start it after the mmc-init so that all the directories are setup before the symlinks are created.
Tested: Verified on tacoma that the service remains running and PLDM starts successfully. Verified on rainier that the symlinks are created.
Change-Id: Ia746362e5ff688b972e9b92e9d78f3f5b3623a99 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
show more ...
|