commit | ff675db0cea05b3a829aa5a125d95d1392105e94 | [log] [tgz] |
---|---|---|
author | Adriana Kobylak <anoo@us.ibm.com> | Tue Sep 07 18:00:57 2021 +0000 |
committer | Adriana Kobylak <anoo@linux.ibm.com> | Thu Sep 16 19:06:17 2021 +0000 |
tree | a6dc7f78af681bfa6c1cbc119b758e8c9f8dc945 | |
parent | 0ddd4fad455d4001a6b839cd201c31b9326b9bf1 [diff] |
mmc: Copy only LID files during update This is one step closer in replacing the PNOR partition files with LID files: - During an update, only copy LID files to the read-write directory. The update-bios-attr-table service will create symlinks from PNOR partition files to LID files. - Use the pnor.toc from the read-only directory to get the list of preserved partitions, since there won't be a pnor.toc file in the read-write directory anymore. A future commit will read the PLDM file table to determine which LID files to preserve. - Preserve the symlink target (LID file) instead of the symlink name (partition file name), otherwise the symlink gets broken if we copy a file that was a symlink. Tested: Verified after code update that all the partition files were symlinks to a LID file, and a subsequent update preserved the LID files that correspond to the preserved partitions. Change-Id: I3fbe3de5a910d85c299ed7e5a535198283bd3f9a
OpenPower PNOR (Processor NOR) Code Management provides a set of host software management applications for OpenPower systems. The host firmware is stored on the PNOR chip. More information can be found at Software Architecture or Host Code Update
To build this package, do the following steps:
meson build
ninja -C build
To clean the repository run rm -r build
.