]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
rpm/rootfs.py: ensure exit 1 has a word boundary
authorAdam Duskett <adam.duskett@amarulasolutions.com>
Mon, 23 Feb 2026 15:39:22 +0000 (16:39 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 26 Feb 2026 11:39:04 +0000 (11:39 +0000)
commitc2ee574f1276245a7e2c291419bfae73891330ac
tree0442345f7f69f4be39aabb60ebb68420e94acee8
parent9c840a69b62a5fdffb3679a44d68dd5630b2916c
rpm/rootfs.py: ensure exit 1 has a word boundary

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>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/package_manager/rpm/rootfs.py