mirror of
https://git.yoctoproject.org/poky
synced 2026-04-28 15:32:27 +02:00
image.bbclass: Enable the complementary install to be called w/ globbing params
If the image.bbclass is called with arguments, and these arguments are not "populate_sdk", they will be passed in as the expected GLOBS. This enables external components and scripting to use the rootfs_install_complementary code. (From OE-Core rev: f44c5f227a170290f567d0a0a24baaa870048788) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
5a71f25825
commit
a6359e9710
@@ -329,8 +329,10 @@ rootfs_install_complementary() {
|
||||
list_installed_packages arch > ${WORKDIR}/installed_pkgs.txt
|
||||
|
||||
# Apply the globs to all the packages currently installed
|
||||
if [ "$1" = "populate_sdk" ] ; then
|
||||
if [ -n "$1" -a "$1" = "populate_sdk" ] ; then
|
||||
GLOBS="${SDKIMAGE_INSTALL_COMPLEMENTARY}"
|
||||
elif [ -n "$1" ]; then
|
||||
GLOBS="$@"
|
||||
else
|
||||
GLOBS="${IMAGE_INSTALL_COMPLEMENTARY}"
|
||||
# Add locales
|
||||
|
||||
Reference in New Issue
Block a user