diff options
Diffstat (limited to 'scripts/lib')
| -rw-r--r-- | scripts/lib/wic/ksparser.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/lib/wic/ksparser.py b/scripts/lib/wic/ksparser.py index f2a0e04744..2f1e0978db 100644 --- a/scripts/lib/wic/ksparser.py +++ b/scripts/lib/wic/ksparser.py | |||
| @@ -29,6 +29,7 @@ import os | |||
| 29 | import shlex | 29 | import shlex |
| 30 | from argparse import ArgumentParser, ArgumentError, ArgumentTypeError | 30 | from argparse import ArgumentParser, ArgumentError, ArgumentTypeError |
| 31 | 31 | ||
| 32 | from wic import msger | ||
| 32 | from wic.partition import Partition | 33 | from wic.partition import Partition |
| 33 | from wic.utils.misc import find_canned | 34 | from wic.utils.misc import find_canned |
| 34 | 35 | ||
| @@ -135,6 +136,9 @@ class KickStart(object): | |||
| 135 | include.add_argument('path', type=cannedpathtype) | 136 | include.add_argument('path', type=cannedpathtype) |
| 136 | 137 | ||
| 137 | self._parse(parser, confpath) | 138 | self._parse(parser, confpath) |
| 139 | if not self.bootloader: | ||
| 140 | msger.warning('bootloader config not specified, using defaults') | ||
| 141 | self.bootloader = bootloader.parse_args([]) | ||
| 138 | 142 | ||
| 139 | def _parse(self, parser, confpath): | 143 | def _parse(self, parser, confpath): |
| 140 | """ | 144 | """ |
