summaryrefslogtreecommitdiffstats
path: root/discover/pb-discover.c
diff options
context:
space:
mode:
authorAlan Dunn <amdunn@google.com>2016-01-12 15:43:02 -0800
committerSam Mendoza-Jonas <sam@mendozajonas.com>2016-02-08 15:27:41 +1100
commit01e104dfb79a09bc28f8c5fb65bfe44596c25161 (patch)
tree74d27b78669f4546537d105080bb20302dde6a2c /discover/pb-discover.c
parentb3d51f6ec5d077e6a2068fde0631074a7302b1da (diff)
downloadtalos-petitboot-01e104dfb79a09bc28f8c5fb65bfe44596c25161.tar.gz
talos-petitboot-01e104dfb79a09bc28f8c5fb65bfe44596c25161.zip
discover/grub2: Fix behavior of save_env -f
Currently, "save_env -f" in the GRUB2 parser only works with three arguments, which means only commands of the form "save_env -f <path>" that save *no* environment variables are allowed. Allow "save_env -f <path> [<var>]*", making "save_env -f" useful. Tested: Unit test test-grub2-save-env-dash-f tests this change, and the remaining unit tests still pass. Signed-off-by: Alan Dunn <amdunn@google.com> Signed-off-by: Sam Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'discover/pb-discover.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud