[coreboot-gerrit] New patch to review for coreboot: util: Look for python2 binary instead of python

Nico Huber (nico.h@gmx.de) gerrit at coreboot.org
Sat Jan 23 21:52:58 CET 2016


Nico Huber (nico.h at gmx.de) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13286

-gerrit

commit a451a0410014c84665ac8b92a1c69bd16f3c907a
Author: Nico Huber <nico.h at gmx.de>
Date:   Sat Jan 23 21:29:47 2016 +0100

    util: Look for python2 binary instead of python
    
    Make the requirement of python2 explicit in scripts that are incompatible
    with python3.
    
    Change-Id: I77f150bdb3aab316fc3c3a21b911db397fa0106f
    Signed-off-by: Nico Huber <nico.h at gmx.de>
---
 util/dtd_parser/dtd_parser.py | 2 +-
 util/exynos/fixed_cksum.py    | 2 +-
 util/exynos/variable_cksum.py | 2 +-
 util/ipqheader/ipqheader.py   | 2 +-
 util/ipqheader/mbncat.py      | 2 +-
 util/mtkheader/gen-bl-img.py  | 2 +-
 util/rockchip/make_idb.py     | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/util/dtd_parser/dtd_parser.py b/util/dtd_parser/dtd_parser.py
index 40d70c3..68045cb 100755
--- a/util/dtd_parser/dtd_parser.py
+++ b/util/dtd_parser/dtd_parser.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 # dtd_parser.py - DTD structure parser
 #
 # Copyright (C) 2012 The ChromiumOS Authors.  All rights reserved.
diff --git a/util/exynos/fixed_cksum.py b/util/exynos/fixed_cksum.py
index 66da060..6679862 100755
--- a/util/exynos/fixed_cksum.py
+++ b/util/exynos/fixed_cksum.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 #
 # Copyright (C) 2013 Google Inc.
 #
diff --git a/util/exynos/variable_cksum.py b/util/exynos/variable_cksum.py
index 75cdc74..9725261 100755
--- a/util/exynos/variable_cksum.py
+++ b/util/exynos/variable_cksum.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 #
 # Copyright (C) 2013 Google Inc.
 #
diff --git a/util/ipqheader/ipqheader.py b/util/ipqheader/ipqheader.py
index ebdb9dd..7615146 100755
--- a/util/ipqheader/ipqheader.py
+++ b/util/ipqheader/ipqheader.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 #
 # Copyright (c) 2013 The Linux Foundation. All rights reserved.
 #
diff --git a/util/ipqheader/mbncat.py b/util/ipqheader/mbncat.py
index 98ae016..c4da265 100755
--- a/util/ipqheader/mbncat.py
+++ b/util/ipqheader/mbncat.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 # Copyright (c) 2014, The Linux Foundation. All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or without
diff --git a/util/mtkheader/gen-bl-img.py b/util/mtkheader/gen-bl-img.py
index 5d46431..361912f 100755
--- a/util/mtkheader/gen-bl-img.py
+++ b/util/mtkheader/gen-bl-img.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 #
 # This file is part of the coreboot project.
diff --git a/util/rockchip/make_idb.py b/util/rockchip/make_idb.py
index e95f5c2..12ef83c 100755
--- a/util/rockchip/make_idb.py
+++ b/util/rockchip/make_idb.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 # Copyright (c) 2014 Google Inc. All rights reserved.
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.



More information about the coreboot-gerrit mailing list