From 2e98ac1f52210809d3d57530474255b218934e00 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Sun, 25 Jan 2015 23:47:01 -0200 Subject: 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 --- classes/fsl-eula-unpack.bbclass | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'classes') diff --git a/classes/fsl-eula-unpack.bbclass b/classes/fsl-eula-unpack.bbclass index 0da17c3..7998406 100644 --- a/classes/fsl-eula-unpack.bbclass +++ b/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" -- cgit v1.2.3-54-g00ecf