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

Kevin Darbyshire-Bryant kevin at darbyshire-bryant.me.uk
Sat Sep 24 13:54:17 PDT 2016



On 24/09/16 11:30, Hauke Mehrtens wrote:
> On 09/24/2016 12:07 AM, Martin Blumenstingl wrote:
>> 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
>
> Thanks for finding and fixing this problem. It looks like this change in
> busybox was intentional:
> https://git.busybox.net/busybox/commit/?id=ef2386b80abfb22ccb697ddbdd4047aacc395c50

It *is* listed in the changelog!



More information about the Lede-dev mailing list