Displaying 3 results from an estimated 3 matches for "is_kernel_type".
2007 Feb 23
1
Patch: Readconfig wont parse certain options anymore
com32/modules/readconfig.c: This is a side effect of is_kernel_type()
overwrite the current pointer in a loop context. Hence subsequent
options aren't parsed ever.
This is particularily visible, if you use timeout option, which wont
work in the latest 3.40-pre7.
Patch:
--- com32/modules/readconfig.c
/opensource/syslinux-3.40-pre7/com32/modules/readconfig.c#2...
2010 May 30
1
[RFC PATCH] menu: support single key booting
...d.label) {
refstr_put(ld.passwd);
@@ -931,7 +935,7 @@ do_include:
ld.helptext = NULL;
ld.ipappend = ipappend;
ld.menudefault = ld.menuhide = ld.menuseparator =
- ld.menudisabled = ld.menuindent = 0;
+ ld.menudisabled = ld.menuindent = ld.menucommit = 0;
} else if ((ep = is_kernel_type(p, &type))) {
if (ld.label) {
refstr_put(ld.kernel);
--
1.6.5
2019 Jul 09
0
[PATCH] core: Add support for BLS Type 1 entries
...mparm[NPARAMS] = {
[P_WIDTH] = {"width", 0},
[P_MARGIN] = {"margin", 10},
@@ -641,6 +653,7 @@ extern uint16_t PXERetry;
static struct labeldata ld;
static int parse_main_config(const char *filename);
+static int parse_bls1_dir(const char *dirname);
static char *is_kernel_type(char *cmdstr, enum kernel_type *type)
{
@@ -1239,6 +1252,40 @@ static void parse_config_file(FILE * f)
default_cmd = refstrdup(skipspace(p + 2));
}
+ else if (looking_at(p, "bls1")) {
+ p = skipspace(p + 4);
+ if (looking_at(p, "include")) {
+ p = skipspace(...