diff options
author | Alejandro Hernandez Samaniego <alejandro@enedino.org> | 2023-06-26 15:29:24 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-06-28 07:56:34 +0100 |
commit | d56c8e4c8a2fc4250d1284354c12b51b80f07949 (patch) | |
tree | 5f9bab8d18d0fd66c9aa4389110cb5c912d73ab9 /scripts/runqemu | |
parent | 2639746ba7f8a651fffaa9819ef9d9df776108e3 (diff) | |
download | poky-d56c8e4c8a2fc4250d1284354c12b51b80f07949.tar.gz |
runqemu: Stop using warn() since its been deprecated
logger.warn() has been deprecated, logger.warning() should be used instead.
(From OE-Core rev: 9263497880b3154d65ed713498749f906534a055)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-x | scripts/runqemu | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index e1aa5a925c..3f187ca793 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
@@ -648,10 +648,10 @@ to your build configuration. | |||
648 | elif fsflag == 'kernel-in-fs': | 648 | elif fsflag == 'kernel-in-fs': |
649 | wic_fs = False | 649 | wic_fs = False |
650 | else: | 650 | else: |
651 | logger.warn('Unknown flag "%s:%s" in QB_FSINFO', fstype, fsflag) | 651 | logger.warning('Unknown flag "%s:%s" in QB_FSINFO', fstype, fsflag) |
652 | continue | 652 | continue |
653 | else: | 653 | else: |
654 | logger.warn('QB_FSINFO is not supported for image type "%s"', fstype) | 654 | logger.warning('QB_FSINFO is not supported for image type "%s"', fstype) |
655 | continue | 655 | continue |
656 | 656 | ||
657 | if fstype in self.fsinfo: | 657 | if fstype in self.fsinfo: |