projects
/
profile
/
ivi
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9315750
)
gfxboot: fix loading of LABELs with non KERNEL or LINUX commands
author
Sebastian Herbszt
<herbszt@gmx.de>
Tue, 8 Dec 2009 20:38:52 +0000
(21:38 +0100)
committer
Sebastian Herbszt
<herbszt@gmx.de>
Tue, 8 Dec 2009 20:38:52 +0000
(21:38 +0100)
Call syslinux_run_command() if menu_ptr->kernel or menu_ptr->linux are not set.
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
com32/gfxboot/gfxboot.c
patch
|
blob
|
history
diff --git
a/com32/gfxboot/gfxboot.c
b/com32/gfxboot/gfxboot.c
index
c415bad
..
3937e30
100644
(file)
--- a/
com32/gfxboot/gfxboot.c
+++ b/
com32/gfxboot/gfxboot.c
@@
-732,7
+732,12
@@
void boot_entry(menu_t *menu_ptr, char *arg)
file = menu_ptr->kernel;
if(!file) file = menu_ptr->linux;
- if(!file) return;
+ if(!file) {
+ gfx_done();
+ asprintf(&cmd_buf, "%s %s", menu_ptr->label, arg);
+ syslinux_run_command(cmd_buf);
+ return;
+ }
// first, load kernel