mirror of
https://git.yoctoproject.org/poky
synced 2026-06-09 03:40:18 +00:00
wic: use wic logger in core modules
Replaced msger with wic logger in the core wic modules. (From OE-Core rev: cdd6675951b74075c9b9159f7465a88f83775bac) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
58ff06f1e7
commit
fe2d602240
@@ -27,12 +27,15 @@
|
||||
|
||||
import os
|
||||
import shlex
|
||||
import logging
|
||||
|
||||
from argparse import ArgumentParser, ArgumentError, ArgumentTypeError
|
||||
|
||||
from wic import msger
|
||||
from wic.engine import find_canned
|
||||
from wic.partition import Partition
|
||||
|
||||
logger = logging.getLogger('wic')
|
||||
|
||||
class KickStartError(Exception):
|
||||
"""Custom exception."""
|
||||
pass
|
||||
@@ -168,7 +171,7 @@ class KickStart():
|
||||
|
||||
self._parse(parser, confpath)
|
||||
if not self.bootloader:
|
||||
msger.warning('bootloader config not specified, using defaults')
|
||||
logger.warning('bootloader config not specified, using defaults\n')
|
||||
self.bootloader = bootloader.parse_args([])
|
||||
|
||||
def _parse(self, parser, confpath):
|
||||
|
||||
Reference in New Issue
Block a user