diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2014-01-24 13:45:24 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2014-01-30 21:59:10 +0800 |
commit | eea9a9fa697654ef26d7e2c1cee3b4ac610db643 (patch) | |
tree | 3bb86dbcab1a1908926f4231dd3f0b81dceafacd /discover/parser.c | |
parent | 2e167ae3eca9b79cf67e04c02b8dbb7b105055a9 (diff) | |
download | talos-petitboot-eea9a9fa697654ef26d7e2c1cee3b4ac610db643.tar.gz talos-petitboot-eea9a9fa697654ef26d7e2c1cee3b4ac610db643.zip |
discover/grub2: skip menuentries that don't define a boot option
menuentries may perform arbitrary commands; we only want ones that
define a boot option.
This change doesn't add a boot option if we haven't seen at least a boot
image defined in the menuentry.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'discover/parser.c')
0 files changed, 0 insertions, 0 deletions