public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH v5 1/8] rpm/rootfs.py: ensure exit 1 has a word boundary
@ 2026-02-23 15:39 Adam Duskett
  2026-02-23 15:39 ` [PATCH v5 2/8] signing-keys.bb: Fix DISTRO_CODENAME truncation Adam Duskett
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Adam Duskett @ 2026-02-23 15:39 UTC (permalink / raw)
  To: openembedded-core; +Cc: Adam Duskett

Currently, If a package installed by dnf has the word "exit" followed by
"100%" in the log file, the rpm/rootfs.py regex matches a failure thanks to
the "exit 1"00%, such as the following:

[682/932] perl-module-test2-plugin-exit 100% |   0.0   B/s |   8.5 KiB |  00m00s

Add a `\b` to ensure there's a word boundary to prevent the error from happening.

Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
---
v1 -> v5: Add this patch to the series

 meta/lib/oe/package_manager/rpm/rootfs.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/lib/oe/package_manager/rpm/rootfs.py b/meta/lib/oe/package_manager/rpm/rootfs.py
index 3ba5396320..698685c067 100644
--- a/meta/lib/oe/package_manager/rpm/rootfs.py
+++ b/meta/lib/oe/package_manager/rpm/rootfs.py
@@ -14,7 +14,7 @@ class PkgRootfs(Rootfs):
     def __init__(self, d, manifest_dir, progress_reporter=None, logcatcher=None):
         super(PkgRootfs, self).__init__(d, progress_reporter, logcatcher)
         self.log_check_regex = r'(unpacking of archive failed|Cannot find package'\
-                               r'|exit 1|ERROR: |Error: |Error |ERROR '\
+                               r'|exit 1\b|ERROR: |Error: |Error |ERROR '\
                                r'|Failed |Failed: |Failed$|Failed\(\d+\):)'
 
         self.manifest = PkgManifest(d, manifest_dir)
-- 
2.53.0



^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-02-24  6:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-23 15:39 [PATCH v5 1/8] rpm/rootfs.py: ensure exit 1 has a word boundary Adam Duskett
2026-02-23 15:39 ` [PATCH v5 2/8] signing-keys.bb: Fix DISTRO_CODENAME truncation Adam Duskett
2026-02-23 15:39 ` [PATCH v5 3/8] libtoml11: new recipe Adam Duskett
2026-02-23 15:39 ` [PATCH v5 4/8] libsolv: explicitly enable comps for rpm packageconfig Adam Duskett
2026-02-23 15:39 ` [PATCH v5 5/8] librepo: upgrade 1.20.0 -> 1.21.0 Adam Duskett
2026-02-23 15:39 ` [PATCH v5 6/8] librepo: add PACKAGECONFIG[sequoia] Adam Duskett
2026-02-23 15:39 ` [PATCH v5 7/8] dnf: Upgrade to 5.4.0.0 Adam Duskett
2026-02-24  6:51   ` [OE-core] " Mathieu Dubois-Briand
2026-02-23 15:39 ` [PATCH v5 8/8] libdnf: remove recipe Adam Duskett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox