tools: imx8m_image: use bash
PATCH v2 1/1 tools: imx8m_image: use bash
travis-ci reports
"tools/imx8m_image.sh: 15: [: signed_hdmi_imx8m.bin: unexpected operator" After use bash, no error, so use bash instead of sh.
--- tools/imx8m_image.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/imx8m_image.sh +1 -1
@@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # SPDX-License-Identifier: GPL-2.0+ # # script to check whether the file exists in imximage.cfg for i.MX8M
Signature · 1 line
2.14.1
PATCH v2 1/1 tools: imx8m_image: use bash
Quoted 15 lines · Peng Fan
travis-ci reports
"tools/imx8m_image.sh: 15: [: signed_hdmi_imx8m.bin: unexpected operator" After use bash, no error, so use bash instead of sh.Signed-off-by Peng Fan <[email protected]>--- tools/imx8m_image.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/imx8m_image.sh +0
-0
tools/imx8m_image.sh line 4
Quoted 5 lines
tools/imx8m_image.sh +1
-1@@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # SPDX-License-Identifier: GPL-2.0+ # # script to check whether the file exists in imximage.cfg for i.MX8M
We have a patch that fixes this to work with sh, dash, and bash if you prefer.
PATCH v2 1/1 tools: imx8m_image: use bash
Hi Jon
Quoted 20 lines
-----Original Message-----
From: Jon Nettleton [mailto:jon at solid-run.com]
Sent: 2018年12月13日 14:54
To: Peng Fan <[email protected]>
Cc: sbabic at denx.de; Fabio Estevam <[email protected]>; U-Boot Mailing List <[email protected]>
Subject: Re: [U-Boot] [imx/next V2] tools:imx8m_image: use bashQuoted 3 lines · Peng Fan
travis-ci reports
"tools/imx8m_image.sh: 15: [: signed_hdmi_imx8m.bin: unexpectedoperator"
Quoted 7 lines
After use bash, no error, so use bash instead of sh.
Signed-off-by Peng Fan <[email protected]>--- tools/imx8m_image.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 12 lines
tools/imx8m_image.sh line 4
Quoted 10 lines
tools/imx8m_image.sh index renamed from tools/imx8m_image.sh +0
-0
6346fb64d8..0e9df4763c100755tools/imx8m_image.sh +1
-1@@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # SPDX-License-Identifier: GPL-2.0+ # # script to check whether the file exists in imximage.cfg for i.MX8MWe have a patch that fixes this to work with sh, dash, and bash if you prefer.
Sure, please submit a patch based on imx/next, I would like those patches could be in master soon.
Thanks,
Peng.
Fabio Estevam
reviewerPATCH v2 1/1 tools: imx8m_image: use bash
Jon/Peng,
Quoted 3 lines · Peng Fan
Quoted 1 line
We have a patch that fixes this to work with sh, dash, and bash if you prefer.
Sure, please submit a patch based on imx/next, I would like those patches could be in master soon.
Can we have a fix for this, please?