Skip to content
Snippets Groups Projects
Commit a04aca47 authored by Martyn Welch's avatar Martyn Welch
Browse files

POC of fallback support for bootstd


Add a mechanism that can be used in conjunction with bootcount to boot
an alternative option should the default option fail a specified number
of times. This would typically be used to ensure fallback to a previous
installation after an upgrade.

This proof of concept requires the addtion of a "fallback" top level
menu item, listing a label and mirroring that of the "default" menu
item. At the moment, the environment should contain the "altbootcmd"
variable which, assuming the "bootcmd" variable is set to:

    bootflow scan -lb

Would be set to:

    bootmeth set extlinux fallback 1; bootflow scan -lb

Signed-off-by: default avatarMartyn Welch <martyn.welch@collabora.com>
parent 1d205956
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment