[LEDE-DEV] [PATCH 0/2] fix "local" keywords in firmware hotplug scripts

Martin Blumenstingl martin.blumenstingl at googlemail.com
Fri Sep 23 15:07:23 PDT 2016


Currently the initialization of the RT3062F wifi chip fails on
VGV7510KW22 because the updated busybox shell does not like the usage
of the "local" keyword outside of functions.
This was reported by Dennis Schneck (see [0]):
> root at lede:~# FIRMWARE="RT3062.eeprom" sh /etc/hotplug.d/firmware/10-rt2x00-eeprom
> /etc/hotplug.d/firmware/10-rt2x00-eeprom: local: line 60: not in a function

This series removes the usage of the "local" keyword outside of
functions in the firmware hotplug scripts of the ramips and lantiq
targets. Other targets don't seem to be affected.


[0] http://lists.infradead.org/pipermail/lede-dev/2016-September/002921.html

Martin Blumenstingl (2):
  ramips: do not "local" variables outside of a function
  lantiq: do not "local" variables outside of a function

 .../linux/lantiq/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom | 4 ++--
 .../lantiq/base-files/etc/hotplug.d/firmware/11-ath10k-caldata      | 6 +++---
 .../linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom | 2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)

-- 
2.10.0




More information about the Lede-dev mailing list