summaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorAdriana Kobylak <anoo@us.ibm.com>2017-10-27 12:46:23 -0500
committerAndrew Geissler <geissonator@yahoo.com>2017-10-30 17:54:33 +0000
commitb77551cd966e437584c8198380e81da837b9ace8 (patch)
tree5d9cfd256e273a5513bbdbd2e89f4eeabd839b2b /.gitignore
parent4254bece5f463a01508e9f9870e63998cd0fd5b5 (diff)
downloadphosphor-bmc-code-mgmt-b77551cd966e437584c8198380e81da837b9ace8.tar.gz
phosphor-bmc-code-mgmt-b77551cd966e437584c8198380e81da837b9ace8.zip
Call update u-boot env once when a priority is changed
The recursive nature of calling the free priority function would trigger setting the u-boot env multiple times. Make a change so that the priorities are sorted and updated once. - Create a non-overriden priority setter function to be called by the free priority function and by the function that creates the dbus objects after a bmc reboot. There's no need to call to free the priorities after reboot since the priorities are preserved on the bmc, and if they're not they default to 0 or 255. - When a dbus request is made to update the priority, update the value, then call the free priority function, which will sort the versions by priority and bump the priority of any duplicate ones. Resolves openbmc/openbmc#2535 Change-Id: Ib92cc0ca6c4d5f6e986f3cde7156d63b53844b46 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud