commit | dde1fede1f832f029742a1d27290cfe252ab1bc5 | [log] [tgz] |
---|---|---|
author | Thang Q. Nguyen <thang@os.amperecomputing.com> | Thu Nov 04 08:30:27 2021 +0000 |
committer | Thang Q. Nguyen <thang@os.amperecomputing.com> | Thu Nov 04 13:10:58 2021 +0000 |
tree | d8e4bbb3ee309dbcc4324a98682bbf444bbe8ca2 | |
parent | 5a5f33c729e6b5869362172b63595422eb84a418 [diff] [blame] |
meta-ampere: fix shellcheck issues Fix all issues from the shellcheck checked on bash shells under meta-ampere. Tested: Verify the following features: 1. Power control (on,off, cycle, graceful shutdown, hard reset). 2. UART switching. 3. UEFI firmware update. Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com> Change-Id: Idabf839b7521ecadb642230cc8bb3472c787002e
diff --git a/meta-ampere/meta-jade/recipes-ampere/platform/mtjade-utils/gpio-defs.sh b/meta-ampere/meta-jade/recipes-ampere/platform/mtjade-utils/gpio-defs.sh index 7c887d4..fc0edd6 100644 --- a/meta-ampere/meta-jade/recipes-ampere/platform/mtjade-utils/gpio-defs.sh +++ b/meta-ampere/meta-jade/recipes-ampere/platform/mtjade-utils/gpio-defs.sh
@@ -1,3 +1,6 @@ +#!/bin/sh + +# shellcheck disable=SC2034 # Index of GPIO device in gpioget/gpioset GPIO_CHIP0_IDX=0 GPIO_CHIP1_IDX=1