summaryrefslogtreecommitdiffstats
path: root/discover/kboot-parser.c
diff options
context:
space:
mode:
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>2018-08-27 11:50:47 +1000
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>2018-08-28 13:46:09 +1000
commit3917e88b838001b13a19fc6ea01d08b08c0770ca (patch)
treeb874b3ef230bfa828572038d54b55004810cbd7a /discover/kboot-parser.c
parentc4be9490a5d94b662370576157b6e0ed73f2fe77 (diff)
downloadtalos-petitboot-3917e88b838001b13a19fc6ea01d08b08c0770ca.tar.gz
talos-petitboot-3917e88b838001b13a19fc6ea01d08b08c0770ca.zip
discover/device-handler: Restore autoboot setting on requery
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>
Diffstat (limited to 'discover/kboot-parser.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud