diff mbox series

rockchip: make_fit_atf: explicitly use python3

Message ID 20191210130721.2091211-1-ml@embed.me.uk
State Accepted
Commit 6d06ea34239ab5099783ce588ad4aead96e1fccb
Delegated to: Kever Yang
Headers show
Series rockchip: make_fit_atf: explicitly use python3 | expand

Commit Message

Jack Mitchell Dec. 10, 2019, 1:07 p.m. UTC
From: Jack Mitchell <ml@embed.me.uk>

On a distribution with no python2 installed and no
python->python3 symlink the script will fail to execute.
Specify python3 explicitly as it's already a requirement
to build u-boot.

Signed-off-by: Jack Mitchell <ml@embed.me.uk>
---
 arch/arm/mach-rockchip/make_fit_atf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kever Yang Dec. 11, 2019, 2:26 a.m. UTC | #1
On 2019/12/10 下午9:07, ml@embed.me.uk wrote:
> From: Jack Mitchell <ml@embed.me.uk>
>
> On a distribution with no python2 installed and no
> python->python3 symlink the script will fail to execute.
> Specify python3 explicitly as it's already a requirement
> to build u-boot.
>
> Signed-off-by: Jack Mitchell <ml@embed.me.uk>

Reviewed-by: Kever Yang <kever.yang@rock-chips.com>

Thanks,
- Kever
> ---
>   arch/arm/mach-rockchip/make_fit_atf.py | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/mach-rockchip/make_fit_atf.py b/arch/arm/mach-rockchip/make_fit_atf.py
> index 3c045a5e17..c79317d6c5 100755
> --- a/arch/arm/mach-rockchip/make_fit_atf.py
> +++ b/arch/arm/mach-rockchip/make_fit_atf.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/env python
> +#!/usr/bin/env python3
>   """
>   # SPDX-License-Identifier: GPL-2.0+
>   #
diff mbox series

Patch

diff --git a/arch/arm/mach-rockchip/make_fit_atf.py b/arch/arm/mach-rockchip/make_fit_atf.py
index 3c045a5e17..c79317d6c5 100755
--- a/arch/arm/mach-rockchip/make_fit_atf.py
+++ b/arch/arm/mach-rockchip/make_fit_atf.py
@@ -1,4 +1,4 @@ 
-#!/usr/bin/env python
+#!/usr/bin/env python3
 """
 # SPDX-License-Identifier: GPL-2.0+
 #