commit | 6376964ec5b0d1411bf590cf4635a9a72fdb5cce | [log] [tgz] |
---|---|---|
author | Lei YU <yulei.sh@bytedance.com> | Fri Dec 10 16:15:04 2021 +0800 |
committer | Lei YU <yulei.sh@bytedance.com> | Mon Mar 14 13:44:54 2022 +0800 |
tree | 622d3053acec564d8dc0337774eb25b4793b6a03 | |
parent | 9c76a0acb0b1a0552ca732b1c62c777e7f1342df [diff] |
dual-image: Mount alt dirs To support dual image in static layout, it needs to mount secondary's rofs/rwfs. Update obmc-flash-bmc tool to support mounting 'alt-xxx' directories in /run/media/alt-xxx, and try to mount the alt-rofs, alt-rwfs before xyz.openbmc_project.Software.BMC.Updater.service starts. The ExecStart command is prepended with `-` so that it does not matter if the mount fails, because the alt chip may be empty or contain invalid data. Tested: Verify the obmc-flash-bmc-static-mount-alt.service starts before xyz.openbmc_project.Software.BMC.Updater.service, and verify it mounts alt-rofs for dual image systems. The alt-rwfs will be mounted by the needed service in future commits. Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: I2133a99d5324a1008c3508154f865ae54a716219
Phosphor BMC Code Management provides a set of system software management applications. More information can be found at Software Architecture
To build this package, do the following steps:
meson build
ninja -C build
To clean the repository run rm -r build
.