bootchooser: put bootchooser after creating a boot entry
Between creating a boot entry for bootchooser and actually using it the
underlying state may have been modified, so make sure to get a current
bootchooser when booting it, thus do a bootchooser_put after having
created the entry and a bootchooser_get again when booting it.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 493962d commit 8a3967479630f62036288f84391d73996f1639ce
@Sascha Hauer Sascha Hauer authored on 18 Oct 2018
Showing 1 changed file
View
common/bootchooser.c