From bcf16669f988d0453e2092ca597bbf976898dd69 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Sat, 21 Jan 2017 00:33:38 +0100 Subject: cudatoolkit6.5: expand parameter is mandatory now d.getVar()'s expand parameter is no longer optional and a python exception is raised in do_unpack. While at it, do not redefine the location of S and skip QA warnings caused by the already stripped binary drivers and unusual Nvidia library location. Signed-off-by: Max Krummenacher Acked-by: Marcel Ziswiler --- .../recipes-bsp/binary-drivers/cudatoolkit6.5_21.4.0.bbappend | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/jetson-tk1/recipes-bsp/binary-drivers/cudatoolkit6.5_21.4.0.bbappend b/jetson-tk1/recipes-bsp/binary-drivers/cudatoolkit6.5_21.4.0.bbappend index fced705..bdd2840 100644 --- a/jetson-tk1/recipes-bsp/binary-drivers/cudatoolkit6.5_21.4.0.bbappend +++ b/jetson-tk1/recipes-bsp/binary-drivers/cudatoolkit6.5_21.4.0.bbappend @@ -1 +1,12 @@ DEPENDS = "dpkg-native" + +INSANE_SKIP_${PN} += "already-stripped libdir" + +python do_unpack () { + locals = d.getVar('WORKDIR', True) + s = d.getVar('S', True) + d.setVar('WORKDIR', s) + d.setVar('S', s) + bb.build.exec_func('base_do_unpack', d) + d.setVar('WORKDIR', locals) +} -- cgit v1.2.3