From: Otavio Salvador Date: Mon, 26 Jan 2015 01:47:01 +0000 (-0200) Subject: fsl-eula-unpack.bbclass: Avoid warning about wrong 'S' being set X-Git-Tag: 2.1~670 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=8b919913bf396d280bc9924996353485335aca3f;p=meta-freescale.git fsl-eula-unpack.bbclass: Avoid warning about wrong 'S' being set 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 --- diff --git a/meta-fsl-arm/classes/fsl-eula-unpack.bbclass b/meta-fsl-arm/classes/fsl-eula-unpack.bbclass index 0da17c38..79984060 100644 --- a/meta-fsl-arm/classes/fsl-eula-unpack.bbclass +++ b/meta-fsl-arm/classes/fsl-eula-unpack.bbclass @@ -52,12 +52,13 @@ python do_unpack() { else: bb.note("Freescale EULA has been accepted for '%s'" % pkg) + # The binary unpack needs to be done first so 'S' is valid + bb.build.exec_func('fsl_bin_do_unpack', d) + try: bb.build.exec_func('base_do_unpack', d) except: raise - - bb.build.exec_func('fsl_bin_do_unpack', d) } do_unpack[vardepsexclude] += "FSL_EULA_FILE"