Files
Ikey Doherty 6add44b10e lib: Add a new cmdline parser
To make it easier to manipulate the cmdline that is emitted into the
per-kernel boot entries, we add a new parser to clr-boot-manager. This
parser will be responsible in future for loading a *per kernel* cmdline,
as well as loading a global system cmdline.

The first file to be read will always be /etc/kernel/cmdline, and after
this the files in /etc/kernel/cmdline.d/*.conf will be read in, which is
then merged into a single cmdline line.

The file format permits new lines and comments, which are stripped from
the emitted text. It also takes care to skip unnecessary whitespace,
allowing the cmdline to be built in layers from various locations.
Two immediate consequences arise: The ability for the user to append to
the default kernel cmdline, and the ability for vendors to provide
quirks and such by default, without modifying kernel packages or CBM
itself.

Signed-off-by: Ikey Doherty <michael.i.doherty@intel.com>
2017-01-10 15:16:42 -08:00
..
2017-01-10 15:16:42 -08:00
2017-01-10 15:16:42 -08:00
2017-01-10 15:16:42 -08:00
2017-01-10 15:16:42 -08:00