summaryrefslogtreecommitdiff
path: root/recipes-bsp
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2016-08-04 11:34:17 -0700
committerDominik Sliwa <dominik.sliwa@toradex.com>2016-08-17 14:08:52 +0200
commit0ca0991f67f34072100685f37909b8db887c2bef (patch)
tree2823f4e51f56d6a791243df103d6618755082db6 /recipes-bsp
parent675bead8e167214d62b3e14c40bfbf335ea378e4 (diff)
u-boot-toradex-fw-utils: fix bashismmeta-toradex_split
Do not use the function keyword, then the script works fine with with Busybox' shell implementation. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes-bsp')
-rw-r--r--recipes-bsp/u-boot/files/fw_unlock_mmc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-bsp/u-boot/files/fw_unlock_mmc.sh b/recipes-bsp/u-boot/files/fw_unlock_mmc.sh
index f9f253b..86d941c 100644
--- a/recipes-bsp/u-boot/files/fw_unlock_mmc.sh
+++ b/recipes-bsp/u-boot/files/fw_unlock_mmc.sh
@@ -1,5 +1,5 @@
# Give fw_setenv mmcblk0boot0 write permissions
-function fw_setenv() {
+fw_setenv() {
echo 0 > /sys/block/mmcblk0boot0/force_ro
/sbin/fw_setenv "$@"
echo 1 > /sys/block/mmcblk0boot0/force_ro