summaryrefslogtreecommitdiff
path: root/meta-selftest
diff options
context:
space:
mode:
authorSaqib Khan <khansa@us.ibm.com>2017-09-22 18:21:30 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2017-11-16 06:32:03 +0300
commit417234737e4238a6f2315188c10d1e16f65e9664 (patch)
treeade1ca36741a5b8b700f6d19eef4c673e3722a57 /meta-selftest
parent10721e62693599aa11d82588dfe5d5c89b2e108e (diff)
downloadopenbmc-417234737e4238a6f2315188c10d1e16f65e9664.tar.xz
Calculate the version ID of BMC UBI volumes during build time.
- When the new ubi layout is flashed onto the BMC, the volumes were named kernel-0 and rofs-0 by default. This tends to be misleading as we can't differentiate between two different BMC versions. - Now the ubi volumes will be named kernel-<versionID> and rofs-<versionID> calculated by getting the hash(SHA-512) of the version and taking the first 8 characters. - The Uboot env needs to be updated to point to the correct kernelname which has now changed from kernel-0 to kernel-<versionID> calculated by getting the HASH(SHA-512) of the version and taking the first 8 characters. Resolves openbmc/openbmc#2323 Change-Id: I258d165b399d1ff59ea86f410006f6d03fe13a2e Signed-off-by: Saqib Khan <khansa@us.ibm.com>
Diffstat (limited to 'meta-selftest')
0 files changed, 0 insertions, 0 deletions