for-15.05 luci-mod-admin-full: restore opkg feed config capability
authorHannu Nyman <hannu.nyman@iki.fi>
Sat, 26 Sep 2015 18:04:10 +0000 (21:04 +0300)
committerHannu Nyman <hannu.nyman@iki.fi>
Sat, 26 Sep 2015 18:10:20 +0000 (21:10 +0300)
commit5e7c0f0a3b61d2fdc23016da647e161f324777c2
tree26058b8b80fa27f2931341b74622a6a1e4eafd67
parent720f76c5613451b6bec9b18ea2fba18c87c2dc70
for-15.05 luci-mod-admin-full: restore opkg feed config capability

opkg config change from r46491 was backported to CC15.05
by https://dev.openwrt.org/changeset/46848/

Existing /etc/opkg.conf was split to three:
   /etc/opkg.conf -> base opkg configuration
   /etc/opkg/distfeeds.conf -> default Openwrt package feeds
   /etc/opkg/customfeeds.conf -> custom package feeds

Since then the actual feed definitions have not been visible/configurable,
as only /etc/opkg.conf has been visible in Luci.

This patch restores the capability to see and edit package feed definitions.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit a42c0bb6182fdde7591d1f1b163a9a3354b45f5a)
modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/ipkg.lua