summaryrefslogtreecommitdiffstats
path: root/meta/classes/image.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/image.bbclass')
-rw-r--r--meta/classes/image.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 9af67e7384..ab212b3f0b 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -329,8 +329,10 @@ rootfs_install_complementary() {
329 list_installed_packages arch > ${WORKDIR}/installed_pkgs.txt 329 list_installed_packages arch > ${WORKDIR}/installed_pkgs.txt
330 330
331 # Apply the globs to all the packages currently installed 331 # Apply the globs to all the packages currently installed
332 if [ "$1" = "populate_sdk" ] ; then 332 if [ -n "$1" -a "$1" = "populate_sdk" ] ; then
333 GLOBS="${SDKIMAGE_INSTALL_COMPLEMENTARY}" 333 GLOBS="${SDKIMAGE_INSTALL_COMPLEMENTARY}"
334 elif [ -n "$1" ]; then
335 GLOBS="$@"
334 else 336 else
335 GLOBS="${IMAGE_INSTALL_COMPLEMENTARY}" 337 GLOBS="${IMAGE_INSTALL_COMPLEMENTARY}"
336 # Add locales 338 # Add locales