From 69d18cc9e984abb30a4e1be64ca9e369cdba924a Mon Sep 17 00:00:00 2001
From: Matthias Schiffer <mschiffer@universe-factory.net>
Date: Tue, 13 Oct 2015 21:58:27 +0200
Subject: [PATCH] build: update opkg config generation to match upstream

---
 Makefile | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index b01b7253d..5271fd6d3 100644
--- a/Makefile
+++ b/Makefile
@@ -375,11 +375,10 @@ package_install: FORCE
 include $(INCLUDE_DIR)/version.mk
 
 opkg_config: FORCE
-	cp $(GLUON_OPENWRTDIR)/package/system/opkg/files/opkg.conf $(TARGET_DIR)/etc/opkg.conf
 	for d in base packages luci routing telephony management; do \
-		echo "src/gz %n_$$d %U/$$d" >> $(TARGET_DIR)/etc/opkg.conf; \
-	done
-	$(VERSION_SED) $(TARGET_DIR)/etc/opkg.conf
+		echo "src/gz %n_$$d %U/$$d"; \
+	done > $(TARGET_DIR)/etc/opkg/distfeeds.conf
+	$(VERSION_SED) $(TARGET_DIR)/etc/opkg/distfeeds.conf
 
 
 image: FORCE
-- 
GitLab