@@ -25,6 +25,7 @@ class Rootfs(object, metaclass=ABCMeta):
self.deploydir = self.d.getVar('IMGDEPLOYDIR')
self.progress_reporter = progress_reporter
self.logcatcher = logcatcher
+ self.warn_check_regex = r'^(warn|Warn|WARNING:)'
self.install_order = Manifest.INSTALL_ORDER
@@ -84,7 +85,7 @@ class Rootfs(object, metaclass=ABCMeta):
bb.warn(msg)
def _log_check_warn(self):
- self._log_check_common('warning', '^(warn|Warn|WARNING:)')
+ self._log_check_common('warning', self.warn_check_regex)
def _log_check_error(self):
self._log_check_common('error', self.log_check_regex)
DNF5 has a hardcoded warning when gpg checks are disabled. As such, the rpm rootfs.py PkgRootfs class needs to have a a negative lookahead filter specific for the following warning: "Warning: skipped OpenPGP checks" if RPM_SIGN_PACKAGES != 1. This filter is added in the next patch. Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com> --- meta/lib/oe/rootfs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)