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 <[email protected]> --- meta/lib/oe/rootfs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py index 14befac8fa..7ef7e71f9e 100644 --- a/meta/lib/oe/rootfs.py +++ b/meta/lib/oe/rootfs.py @@ -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) -- 2.53.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#234277): https://lists.openembedded.org/g/openembedded-core/message/234277 Mute This Topic: https://lists.openembedded.org/mt/118593806/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
