openwrtv3/target/linux/ar71xx
Gabor Juhos 80a15fe8ad ar71xx: Fix sysupgrades for Allnet and OpenMesh devices
Both Allnet and OpenMesh sysupgrade uses fw_setenv from uboot-envtools to
change different settings in the uboot environment. uboot-envtools version
2013.01 introduced a filesystem lock "/var/lock/fw_printenv.lock" to guarantee
mutually exclusive access to the uboot environment. But the path /var doesn't
exist on the sysupgrade ramfs.

An upgrade on these devices fails since r36033 ("[package] uboot-envtools:
upgrade to version 2013.01.01") with following messages:

 Error opening lock file /var/lock/fw_printenv.lock
 failed to update U-Boot environment

Creating the "/var/lock" path before running fw_setenv is therefore a
requirement unless the locking functionality in fw_setenv is removed or
replaced with optional locking.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38483
2013-10-20 15:59:05 +00:00
..
base-files ar71xx: Fix sysupgrades for Allnet and OpenMesh devices 2013-10-20 15:59:05 +00:00
files ar71xx: fix WLAN 5 GHz LED init on dir-825-c1 2013-10-20 15:59:04 +00:00
generic ar71xx: add profile and build image for the TEW-732BR board 2013-09-23 09:49:04 +00:00
image make the generated images actually flashable on the Unifi devices. 2013-10-11 15:41:42 +00:00
nand ar71xx: disable routerboard support in the generic subtarget, enable it for the nand subtarget only 2013-06-07 13:42:50 +00:00
patches-3.10 kernel: update 3.10 to 3.10.13 2013-09-27 07:19:21 +00:00
base-files.mk ar71xx: drop procd_init console hack 2013-06-21 16:53:11 +00:00
config-3.10 ar71xx: enable the Seama firmware parser 2013-09-24 12:19:54 +00:00
Makefile kernel: update kernel to 3.10.15 2013-10-13 19:28:29 +00:00
modules.mk ar71xx: move the watchdog driver to the kernel 2013-07-14 14:05:08 +00:00