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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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
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)