]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
lib/oe/package-manager: skip processing installed-pkgs with empty globs
authorClaus Stovgaard <claus.stovgaard@gmail.com>
Mon, 7 Oct 2024 20:39:46 +0000 (22:39 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 11 Oct 2024 11:16:59 +0000 (12:16 +0100)
commit160c45c83d5addf01e4834cf896af871bd6fca7f
tree18d0160aa223cd3ad6ddda118e45b886f48d8ee2
parent1311e94e3983bc1d5ad0d08a6f30081a2c3bef63
lib/oe/package-manager: skip processing installed-pkgs with empty globs

We can skip processing the installed-pkgs file if globs is empty.
This is the case if self.d.getVar for IMAGE_INSTALL_COMPLEMENTARY
returns an empty string. If globs is an empty string the result from
processing with empty glob in oe-pkgdata-util will always be 0 packages
to install.

Instead of return early on this we just skip and still generate the
locale archive if needed.

Signed-off-by: Claus Stovgaard <claus.stovgaard@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/package_manager/__init__.py