openwrtv4/target/linux/ar71xx
Sven Eckelmann c383e0c979 ar71xx: 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 ar71xx: Create /var/lock directory in platform_do_upgrade_* 2018-10-07 15:44:19 +02:00
files ar71xx: flag FritzBox 4020 buttons as active low 2018-09-22 19:26:26 +02:00
generic ar71xx/generic: enable Zyxel NBG6616 in kernel config again 2018-08-27 20:27:25 +02:00
image mac80211: make ath10k-ct the default ath10k 2018-09-26 16:39:44 +02:00
mikrotik ar71xx: reorganize kernel configuration 2018-01-13 19:54:45 +01:00
nand ar71xx: reorganize kernel configuration 2018-01-13 19:54:45 +01:00
patches-4.9 kernel: bump 4.9 to 4.9.130 2018-10-02 13:44:36 +02:00
patches-4.14 ar71xx: fix pci irq init on kernel 4.14 2018-10-04 16:15:24 +02:00
tiny ar71xx: Move F9K1115v2 under ar71xx tiny target 2018-07-16 15:12:19 +02:00
config-4.9 ar71xx: add support for TP-Link Archer C59 v2 2018-07-30 14:04:45 +02:00
config-4.14 ar71xx: add v4.14 support 2018-08-22 08:09:00 +02:00
Makefile ar71xx: create new ar71xx/tiny subtarget for 4MB flash devices 2018-01-13 19:54:45 +01:00
modules.mk ar71xx: add LED driver NU801 2015-12-11 15:04:57 +00:00