openwrt/target/linux/ar71xx/base-files/lib
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
..
preinit ar71xx: add support for GL.iNet GL-AR750 2018-01-15 00:12:13 +01:00
upgrade ar71xx: Create /var/lock directory in platform_do_upgrade_* 2018-10-07 15:44:19 +02:00
ar71xx.sh ar71xx: add support for TP-LINK CPE510 V2.0 2018-08-02 07:49:26 +02:00