Home
last modified time | relevance | path

Searched hist:e7c5c52d (Results 1 – 1 of 1) sorted by relevance

/openbmc/phosphor-webui/app/common/directives/
H A Dfirmware-list.htmle7c5c52d Fri Mar 02 12:42:09 CST 2018 Gunnar Mills <gmills@us.ibm.com> Fix "Boot priority" down arrow

The way free priority works is if an image is set to a
priority another image has, that other image's priority
is increased by 1.

Let's say there are 2 images, x and y. x has a priority of
2, and y has a priority of 3.
x gets set to priority 3 (this is how the down arrow works,
it sets the priority to the current priority + 1) now x
has a priority of 3 and y gets increased to a priority of 4.
x and y in this case never switched priority order (i.e. x
still boots first).

To get the down arrow to work currently, set the priority
to + 2 on the down arrow. In the case above this would make
x and y 4 and 3, respectfully, therefore, changing their
priority order (i.e. y boots first now).

This change is not needed for the up arrow, can you figure
out why?

Tested: Down arrow works now.
Change-Id: Ia01dba6694b8c3b68f43fab78d8f0ae022ccb82c
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>