commit | 43db07507abdb54b6575345300c171b0486e46be | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Wed Dec 30 18:07:48 2020 +0100 |
committer | Simon Glass <sjg@chromium.org> | Sat Jan 30 14:25:42 2021 -0700 |
tree | 7c6ba06d302c3cc443b6f7cf73bd8ff7b4ea69f7 | |
parent | 5e6c9029cdeae72eeeb4e05caa4ce3d48e2e86fb [diff] |
sandbox: keep time offset when resetting The UEFI Self Certification Test (SCT) checks the SetTime() service with the following steps: * set date * reset * check date matches To be compliant the sandbox should keep the offset to the host RTC during resets. The implementation uses the environment variable UBOOT_SB_TIME_OFFSET to persist the offset. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org>