]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
package_manager/__init__.py: add function to give user reason about a missing package
authorChen Qi <Qi.Chen@windriver.com>
Fri, 12 Sep 2025 03:33:22 +0000 (20:33 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 15 Sep 2025 16:52:52 +0000 (17:52 +0100)
commit4c1f63a7618c5eef1684ecc52af50821a49e2e91
tree18dd41555c2bf59d46473b1b56fa98ddd76d27c1
parent4d880c2eccd534133a2a4e6579d955605c0956ec
package_manager/__init__.py: add function to give user reason about a missing package

When users specify some package in IMAGE_INSTALL, but get some error
at rootfs time, the user might be confusing. This usually happens
when the user puts a recipe name in IMAGE_INSTALL.

To helper user understand more about what's going on, add a common
function here which makes use of pkgdata data to give the possible
reason about a missing package. This function is expected to be used
by package backends such as rpm.

Signed-off-by: Chen Qi <Qi.Chen@windriver.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/__init__.py