summaryrefslogtreecommitdiff
path: root/meta-openembedded/meta-python/recipes-devtools/python/python-ndg-httpsclient.inc
diff options
context:
space:
mode:
authorAdriana Kobylak <anoo@us.ibm.com>2017-09-13 20:59:26 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2017-09-26 21:29:02 +0300
commita5bc2c466ed8c3333405111f80870c49b9d75682 (patch)
tree14e50cfb18becd26805d23efb00f400a4b805907 /meta-openembedded/meta-python/recipes-devtools/python/python-ndg-httpsclient.inc
parent8c9b2b341334c730d7df05df9e9203609635dfdb (diff)
downloadopenbmc-a5bc2c466ed8c3333405111f80870c49b9d75682.tar.xz
obmc-flash-bmc: Fixes to the logic to delete volumes
- The current logic was preventing deleting the volume based on the kernelname environment variable, but this variable changes during a code update, and doesn't reflect the current running version. Change that to create the kernelname based on the current running version since it prevents users from doing back-to-back updates with no BMC reboot in between. - Check the mtd of the volume to be deleted against the currently running mtd, because the version name may be the same. This is the case when the 2 chips have the same version as when the come out of manufacturing. - Enhance the remove function to accept an mtd parameter, so that it deletes the volume on the specified mtd instead of the first one that it finds. This is to support duplicate version as well. - Clear the priority env variable when a volume is deleted as part of the cleanup. Change-Id: I5725bb71ac2b75abaf3e2b365fbd18f116651c7b Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Saqib Khan <khansa@us.ibm.com>
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python-ndg-httpsclient.inc')
0 files changed, 0 insertions, 0 deletions