| commit | b5171acd6f8cfe31a8a4adf4ed978497c29e50ed | [log] [tgz] |
|---|---|---|
| author | Lei YU <yulei.sh@bytedance.com> | Thu Dec 16 18:36:27 2021 +0800 |
| committer | Lei YU <yulei.sh@bytedance.com> | Mon Mar 14 14:30:26 2022 +0800 |
| tree | 835368f3da61d60373b10b3196e1ee23f8a5b6cd | |
| parent | d8c9eea3bd603a578b0db833cfdaefa8ce83250d [diff] |
dual-image: remount alt partitions during update
When the BMC is to updating the alt image, it needs to stop the sync
manager, umount the rofs/rwfs-alt partitions before the flashing,
mount them after it's done, and restart the sync manager.
Otherwise the mount point of rofs/rwfs-alt will get error because the
content is updated.
Tested: Verify the rofs/rwfs-alt are umounted during the alt flashing,
and are mounted again after the flashing is done, and the sync
manager is restarted.
Signed-off-by: Lei YU <yulei.sh@bytedance.com>
Change-Id: I21e2bd8e0616cf529b9b4e5245d5da1ea4dfb51e
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 buildninja -C buildTo clean the repository run rm -r build.