diff options
author | Claus Stovgaard <claus.stovgaard@gmail.com> | 2024-10-07 22:39:46 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-10-11 12:17:03 +0100 |
commit | 331270628c58b4cfce788c599eed608e46607c75 (patch) | |
tree | 795db56f0148f216f9b4e25f5f2b8bdb3e01c02e /scripts/lib/scriptpath.py | |
parent | 98cd985ecb9915ed3d99e31b42ad2c4f9ed0cba9 (diff) | |
download | poky-331270628c58b4cfce788c599eed608e46607c75.tar.gz |
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.
(From OE-Core rev: 160c45c83d5addf01e4834cf896af871bd6fca7f)
Signed-off-by: Claus Stovgaard <claus.stovgaard@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/scriptpath.py')
0 files changed, 0 insertions, 0 deletions