summaryrefslogtreecommitdiffstats
path: root/classes/fsl-eula-unpack.bbclass
Commit message (Collapse)AuthorAgeFilesLines
* fsl-eula-unpack: fix deploying EULAStefan Christ2015-06-091-1/+1
| | | | | | | | | | | | | | | | If a recipe, which uses the fsl-eula-unpack bbclass, defines the variable LIC_FILES_CHKSUM like LIC_FILES_CHKSUM = "[...]" (not using "+=") the content of ${FSL_EULA_FILE}, which is added in fsl-eula-unpack, is overwritten. So the EULA isn't deployed to the ${LICENSE_DIRECTORY}. Using 'LIC_FILES_CHKSUM_append' should work in any cases. Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* fsl-eula-unpack: fix outdated EULA checksumStefan Christ2015-06-091-1/+1
| | | | | | | | | | | | | The md5 checksum in LIC_FILES_CHKSUM was taken from an older version of the Freescale EULA. This leads to build errors like ERROR: imx-gpu-viv: md5 data is not matching for file://[...]/meta-fsl-arm/EULA;md5=6df184a9b1950b68e17fdcd7513bdb97 ERROR: imx-gpu-viv: The new md5 checksum is acdb807ac7275fe32f9f64992e111241 Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* fsl-eula-unpack: deploy Freescale EULAStefan Christ2015-06-011-0/+3
| | | | | | | | | | | | | | | | | | | | | Add the file which contains the Freescale EULA to variable LIC_FILES_CHKSUM, so the EULA is deployed in the folder ${LICENSE_DIRECTORY}/${PN}/ for all recipes which use the bbclass fsl-eula-unpack. Add a vardepsexclude to variable LIC_FILES_CHKSUM to share the sstate cache across multiple build directories. See commit commit e8c6cf822889c02b76db03f2e9c6915a1bda1c06 Author: Christopher Larson <kergoth@gmail.com> Date: Wed Oct 23 22:30:41 2013 +0000 fsl-eula-unpack: add FSL_EULA_FILE to vardepsexclude Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* fsl-eula-unpack.bbclass: Avoid warning about wrong 'S' being setOtavio Salvador2015-02-041-2/+3
| | | | | | | | | | | | | | | | The binary files packages provided by Freescale need to have the specialized unpack method called before the OE-Core original one. This unsures that the source is available when sanity tests are done. This fixes following warning: ,---- | WARNING: .../libfslcodec/4.0.2-r0/libfslcodec-4.0.2 ('S') don't | exist, you must set 'S' to a proper value `---- Change-Id: Ie85c5b2abdc34449503b543e5fc8d8e914ac0c1c Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* fsl-eula-unpack: add FSL_EULA_FILE to vardepsexcludeChristopher Larson2013-10-281-0/+2
| | | | | | | | | | | FSL_EULA_FILE is defined with :=, which means it contains a full absolute path to the layer directory. If this is allowed to make it into the task checksum, it becomes impossible to use the shared states for these recipes without having meta-fsl-arm in the exact same path in the filesystem it was in when the sstate archives were created. Add FSL_EULA_FILE to do_unpack[vardepsexclude]. Signed-off-by: Christopher Larson <kergoth@gmail.com>
* fsl-eula-unpack: Avoid unbound local exception.Alex Gonzalez2012-12-041-0/+1
| | | | | | | This commit fixes an unbound local exception caused by save_cwd not being defined when fsl-eula is not true. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* fsl-eula-unpack.bbclass: Support Freescale EULA binaries unpackOtavio Salvador2012-10-021-0/+60
This class provides the mechanism used for unpacking the .bin file downloaded by HTTP and handle the EULA acceptance. Change-Id: I88857c7dac94568c5bced4e712744087638de68a Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Daiane Angolini <daiane.angolini@freescale.com>