diff options
| -rw-r--r-- | meta/classes/license.bbclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass index c668783742..a0b877d341 100644 --- a/meta/classes/license.bbclass +++ b/meta/classes/license.bbclass | |||
| @@ -26,6 +26,11 @@ python write_package_manifest() { | |||
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | license_create_manifest() { | 28 | license_create_manifest() { |
| 29 | # Test if BUILD_IMAGES_FROM_FEEDS is defined in env | ||
| 30 | if [ -n "${BUILD_IMAGES_FROM_FEEDS}" ]; then | ||
| 31 | exit 0 | ||
| 32 | fi | ||
| 33 | |||
| 29 | INSTALLED_PKGS=`cat ${LICENSE_DIRECTORY}/${IMAGE_NAME}/package.manifest` | 34 | INSTALLED_PKGS=`cat ${LICENSE_DIRECTORY}/${IMAGE_NAME}/package.manifest` |
| 30 | LICENSE_MANIFEST="${LICENSE_DIRECTORY}/${IMAGE_NAME}/license.manifest" | 35 | LICENSE_MANIFEST="${LICENSE_DIRECTORY}/${IMAGE_NAME}/license.manifest" |
| 31 | # remove existing license.manifest file | 36 | # remove existing license.manifest file |
