summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@xilinx.com>2020-05-20 07:45:46 -0700
committerSai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>2020-05-20 08:53:58 -0700
commita74d9350d949965e3625eec22225190a9f172e40 (patch)
tree0bd45045095243b60bfa0aab994f4cad908ab66d
parente7707bd4c99b54fe193967ce0bdd832f65f73980 (diff)
downloadmeta-xilinx-a74d9350d949965e3625eec22225190a9f172e40.tar.gz
lopper: Fix python3 reference in lopper_sanity.py
Issue: CR-1065813 To avoid an error about requiring /usr/bin/python3, we need to move lopper_sanity.py to also invoke it using /usr/bin/env python3. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
-rw-r--r--meta-xilinx-bsp/recipes-kernel/lopper/lopper.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-xilinx-bsp/recipes-kernel/lopper/lopper.bb b/meta-xilinx-bsp/recipes-kernel/lopper/lopper.bb
index a16eb0ac..4b6d8905 100644
--- a/meta-xilinx-bsp/recipes-kernel/lopper/lopper.bb
+++ b/meta-xilinx-bsp/recipes-kernel/lopper/lopper.bb
@@ -20,6 +20,7 @@ do_configure() {
20 20
21do_compile() { 21do_compile() {
22 sed -i 's,#!/usr/bin/python3,#!/usr/bin/env python3,' lopper.py 22 sed -i 's,#!/usr/bin/python3,#!/usr/bin/env python3,' lopper.py
23 sed -i 's,#!/usr/bin/python3,#!/usr/bin/env python3,' lopper_sanity.py
23} 24}
24 25
25do_install() { 26do_install() {