aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/xburst/patches-3.18
diff options
context:
space:
mode:
authorSven Eckelmann <sven.eckelmann@openmesh.com>2018-10-01 11:48:04 +0200
committerMathias Kresin <dev@kresin.me>2018-10-07 15:44:19 +0200
commitc383e0c979fb95ef6de6782112aa86045fe4a6a5 (patch)
treef6ea4d2b4271d8db4f8067faf273702c9c773e15 /target/linux/xburst/patches-3.18
parent11d51276b1b0ac6a556a776374ca3de07b062e29 (diff)
downloadupstream-c383e0c979fb95ef6de6782112aa86045fe4a6a5.tar.gz
upstream-c383e0c979fb95ef6de6782112aa86045fe4a6a5.tar.bz2
upstream-c383e0c979fb95ef6de6782112aa86045fe4a6a5.zip
ar71xx: Create /var/lock directory in platform_do_upgrade_*
The sysupgrade_pre_upgrade hook was removed with 5e1b4c57ded7 ("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: 5e1b4c57ded7 ("base-files: drop fwtool_pre_upgrade") Signed-off-by: Sven Eckelmann <sven.eckelmann@openmesh.com>
Diffstat (limited to 'target/linux/xburst/patches-3.18')
0 files changed, 0 insertions, 0 deletions