openwrtv3/target/linux/ipq40xx
Sven Eckelmann ebd57de1f9 ipq40xx: Create /var/lock directory in platform_do_upgrade_*
The sysupgrade_pre_upgrade hook was removed with 5e1b4c57de ("base-files:
drop fwtool_pre_upgrade") while there were still scripts using it:

* target/linux/ar71xx/base-files/lib/upgrade/allnet.sh
* target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
* target/linux/ipq40xx/base-files/lib/upgrade/openmesh.sh

Not running the hooks can either prevent a successful upgrade or brick the
device because the fw_setenv program cannot be started correctly.

Instead of adding this hook again, the directory /var/lock for fw_setenv
can also just be created directly before fw_setenv is called.

Fixes: 5e1b4c57de ("base-files: drop fwtool_pre_upgrade")
Signed-off-by: Sven Eckelmann <sven.eckelmann@openmesh.com>
2018-10-07 15:44:19 +02:00
..
base-files ipq40xx: Create /var/lock directory in platform_do_upgrade_* 2018-10-07 15:44:19 +02:00
files-4.14/arch/arm/boot/dts treewide: fix some cosmetic glitches in dts files 2018-08-27 19:31:17 +02:00
image mac80211: make ath10k-ct the default ath10k 2018-09-26 16:39:44 +02:00
patches-4.14 kernel: bump 4.14 to 4.14.72 2018-09-26 15:54:18 +02:00
profiles
config-4.14 ipq40xx: sync kernel config 2018-07-25 12:13:18 +02:00
Makefile mac80211: fix selecting of ath10k -ct firmware 2018-09-27 00:22:13 +02:00