diff options
author | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2018-08-27 11:50:47 +1000 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2018-09-07 09:44:29 +1000 |
commit | 93d41f97eedca3684922f4c3cae82d4c74b04210 (patch) | |
tree | 74509b98423f6a9604b7ce0ce91d190ebec93483 /discover/Makefile.am | |
parent | f0e038a4b21edeab8cd5e6a0aa7439d882bbabef (diff) | |
download | talos-petitboot-1.7.3.tar.gz talos-petitboot-1.7.3.zip |
discover/device-handler: Restore autoboot setting on requeryv1.7.3
When a device requery is triggered we cancel any default boot option on
the device. This also disables autoboot which we don't want; any boot
options found after the requery will not be able to autoboot.
To avoid this restore the existing autoboot setting after checking for
default options.
This prevents a particular corner case where a default boot option has
been selected for boot but one of its boot files has stalled or is
taking more time to download than the requery timeout and the requery
accidentally cancels autoboot preventing Petitboot from trying to boot
again.
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
(cherry picked from commit 3917e88b838001b13a19fc6ea01d08b08c0770ca)
Diffstat (limited to 'discover/Makefile.am')
0 files changed, 0 insertions, 0 deletions