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
This commit is contained in:
@@ -113,7 +113,7 @@ define Package/opkg/Default/install
|
||||
done
|
||||
ifneq ($(CONFIG_PER_FEED_REPO_ADD_DISABLED),)
|
||||
for d in $(FEEDS_DISABLED); do \
|
||||
echo "# src/gz %n_$$$$d %U/$$$$d" >> $(1)/etc/opkg.conf; \
|
||||
echo "$(if $(CONFIG_PER_FEED_REPO_ADD_COMMENTED),# )src/gz %n_$$$$d %U/$$$$d" >> $(1)/etc/opkg.conf; \
|
||||
done
|
||||
endif
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user