build: update opkg config generation to match upstream

This commit is contained in:
Matthias Schiffer 2015-10-13 21:58:27 +02:00
parent 0abe7fe4e5
commit 69d18cc9e9

View File

@ -375,11 +375,10 @@ package_install: FORCE
include $(INCLUDE_DIR)/version.mk include $(INCLUDE_DIR)/version.mk
opkg_config: FORCE 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 \ for d in base packages luci routing telephony management; do \
echo "src/gz %n_$$d %U/$$d" >> $(TARGET_DIR)/etc/opkg.conf; \ echo "src/gz %n_$$d %U/$$d"; \
done done > $(TARGET_DIR)/etc/opkg/distfeeds.conf
$(VERSION_SED) $(TARGET_DIR)/etc/opkg.conf $(VERSION_SED) $(TARGET_DIR)/etc/opkg/distfeeds.conf
image: FORCE image: FORCE