summaryrefslogtreecommitdiff
path: root/meta-facebook
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2023-02-09 21:45:46 +0300
committerPatrick Williams <patrick@stwcx.xyz>2023-02-10 06:26:13 +0300
commit4535b70af3616feb3b4bec04dff8c522b9dc3937 (patch)
tree2761c0c1aa8b8586ac3ee614b35324ededf70761 /meta-facebook
parentd91b4b3bf903a59c9f7cd6edc8902afebcf29a5c (diff)
downloadopenbmc-4535b70af3616feb3b4bec04dff8c522b9dc3937.tar.xz
meta-phosphor: static-norootfs-init: support factory-reset
Add support to check the uboot environment for 'factory-reset' as programmed by phosphor-bmc-code-mgmt's FactoryReset interface. Tested: Ran the following and observed the file missing after reboot: ``` touch /var/DELETE_THIS_FILE busctl call xyz.openbmc_project.Software.BMC.Updater \ /xyz/openbmc_project/software \ xyz.openbmc_project.Common.FactoryReset Reset reboot ``` During the reboot observed the following message, along with ubiformat messages: ``` Formatting persistent volume: factory-reset ``` Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I7c0d73cedc6414a590a0f99b68c843c88a7aded7
Diffstat (limited to 'meta-facebook')
0 files changed, 0 insertions, 0 deletions