We weren't adding spaces around foo=bar kernel command-line parameters.
Also, use the short name for the kernel path in the (debug) description
field.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
root = value;
} else {
+ strcat(cmdline, " ");
*(value - 1) = '=';
strcat(cmdline, name);
}
printf("kboot cmdline: %s", cmdline);
opt->boot_args = cmdline;
- asprintf(&opt->description, "%s %s", opt->boot_image_file, cmdline);
+ asprintf(&opt->description, "%s %s", config, cmdline);
return 1;
}