mcs814x: enable POSIX file locking
authorFlorian Fainelli <florian@openwrt.org>
Fri, 9 Aug 2013 20:45:17 +0000 (20:45 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Fri, 9 Aug 2013 20:45:17 +0000 (20:45 +0000)
opkg (and possible other tools) are currently broken as it requires
file locking support enabled in the kernel.
Without this results in a message like:

root@OpenWrt:/etc/config# opkg update
Collected errors:
 * opkg_conf_load: Could not lock /var/lock/opkg.lock: Permission denied.

With this patch opkg is fully functional on this platform.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 37745

target/linux/mcs814x/config-default

index 00c6b6ccbaa66ee416c05f73eb5d39769b86321f..ce406e3642328e85d64572d35d0a45ef2f1e7a31 100644 (file)
@@ -52,7 +52,6 @@ CONFIG_DECOMPRESS_LZMA=y
 CONFIG_DTC=y
 CONFIG_EARLY_PRINTK=y
 # CONFIG_ENABLE_WARN_DEPRECATED is not set
-# CONFIG_FILE_LOCKING is not set
 CONFIG_FIQ=y
 CONFIG_FRAME_POINTER=y
 CONFIG_GENERIC_ATOMIC64=y