mcs814x: enable POSIX file locking
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 9 Aug 2013 20:45:17 +0000 (20:45 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37745 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/mcs814x/config-default

index 00c6b6c..ce406e3 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