summaryrefslogtreecommitdiff
path: root/package/base-files/image-config.in
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2014-10-16 10:30:16 +0000
committerJo-Philipp Wich <jow@openwrt.org>2014-10-16 10:30:16 +0000
commit4f73613c2698346102741b27a8524076eb66c20c (patch)
tree727277be70edf937665d9297cf7770c5e9975675 /package/base-files/image-config.in
parent7949a3d381d6d53cc03a2ec87bac19f2490d96f1 (diff)
downloadmtk-20170518-4f73613c2698346102741b27a8524076eb66c20c.zip
mtk-20170518-4f73613c2698346102741b27a8524076eb66c20c.tar.gz
mtk-20170518-4f73613c2698346102741b27a8524076eb66c20c.tar.bz2
build: improve feed handling for opkg.conf
- Consider not installed feeds as well - Add option to decide whether to comment disabled feeds Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 42931
Diffstat (limited to 'package/base-files/image-config.in')
-rw-r--r--package/base-files/image-config.in11
1 files changed, 9 insertions, 2 deletions
diff --git a/package/base-files/image-config.in b/package/base-files/image-config.in
index 67604cd..c679a5b 100644
--- a/package/base-files/image-config.in
+++ b/package/base-files/image-config.in
@@ -217,11 +217,18 @@ menuconfig PER_FEED_REPO
for the core packages and each enabled feed.
config PER_FEED_REPO_ADD_DISABLED
- bool "Add installed but disabled feeds to opkg.conf"
+ bool "Add available but not enabled feeds to opkg.conf"
default y
depends on PER_FEED_REPO
help
- Add installed but disabled feeds as commented out source lines to opkg.conf.
+ Add not installed or disabled feeds from feeds.conf to opkg.conf.
+
+ config PER_FEED_REPO_ADD_COMMENTED
+ bool "Comment out not enabled feeds"
+ default y
+ depends on PER_FEED_REPO && PER_FEED_REPO_ADD_DISABLED
+ help
+ Add not enabled feeds as commented out source lines to opkg.conf.
source "tmp/.config-feeds.in"