]> code.ossystems Code Review - openembedded-core.git/commit
wic: default to empty bootloader config
authorMaciej Borzecki <maciej.borzecki@open-rnd.pl>
Tue, 2 Feb 2016 15:15:20 +0000 (16:15 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 4 Feb 2016 23:35:04 +0000 (23:35 +0000)
commit264c03e854f77c3b62acb710384f66716ccbf469
treef76f71955c2383cefb385cbf46a4ebb3d1946d7d
parentacf1148bf3f4e489e9e2b0b8745753e1311ee812
wic: default to empty bootloader config

A kickstart file for non-x86 boards may have no 'bootloader' stanza. It
is the usual case if bootloader is setup using other mechanism than
through wic, and is for instance a part of u-boot configuration. In such
case the 'bootloader' field in the KickStart class will be
uninitialized. Instead of adding an empty bootloader line in every
kickstart file call the bootloader parser with empty argument list to
get defaults namespace.

Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/wic/ksparser.py