Skip to content

Commit 00eff72

Browse files
quaresmajosericardosalveti
authored andcommitted
lmp/build: don't fail when the license.manifest not found
There is a bug in oe-core and sometimes the lic folder is empty. https://bugzilla.yoctoproject.org/show_bug.cgi?id=15394 The intention of this change is to document and be reverted once the problem is fixed. Signed-off-by: Jose Quaresma <[email protected]>
1 parent c6af840 commit 00eff72

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lmp/build.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,9 @@ for img in ${IMAGE_MANIFESTS}; do
101101
ln -sf ${image_name_id}.license.manifest ${DEPLOY_DIR_IMAGE}/${image_name}.license.manifest
102102
else
103103
status "Image ${image_name} license manifest not found on ${DEPLOY_DIR}/licenses, license manifest can't be collected"
104-
exit 1
104+
# FIXME: there is a bug in oe-core and sometimes the lic folder is empty
105+
# https://bugzilla.yoctoproject.org/show_bug.cgi?id=15394
106+
#exit 1
105107
fi
106108
# Also take care of the image_license, which contains the binaries used by wic outside the rootfs
107109
if [ -f ${image_path}/image_license.manifest ]; then

0 commit comments

Comments
 (0)