Files
wifipineapple-openwrt/target/linux
Gabor Juhos 3d01e720ff 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38483 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-20 15:59:05 +00:00
..
2013-10-13 19:28:29 +00:00
2013-10-13 19:28:29 +00:00
2013-10-13 19:28:29 +00:00
2013-10-13 19:28:29 +00:00
2013-10-13 19:28:29 +00:00
2013-09-26 17:53:20 +00:00
2013-10-13 19:28:29 +00:00
2013-09-26 17:53:20 +00:00
2013-10-13 19:28:29 +00:00
2013-10-18 00:02:45 +00:00
2013-10-13 19:28:29 +00:00
2013-10-13 19:28:29 +00:00
2013-10-13 19:28:29 +00:00
2013-09-26 17:53:20 +00:00
2013-10-13 19:28:29 +00:00
2013-10-13 19:28:29 +00:00
2013-09-26 22:43:06 +00:00
2013-09-26 17:53:20 +00:00
2013-09-26 17:53:20 +00:00
2013-10-13 19:28:29 +00:00
2013-10-13 19:28:29 +00:00
2013-10-13 19:28:29 +00:00
2013-10-13 19:28:29 +00:00
2013-09-26 17:53:14 +00:00
2013-10-18 11:45:33 +00:00
2013-10-13 19:28:29 +00:00
2010-08-06 21:36:35 +00:00