remove opkg config file and link ipkg.conf to opkg.conf being they are the same
authorTravis Kemen <thepeople@openwrt.org>
Tue, 29 Jul 2008 17:23:52 +0000 (17:23 +0000)
committerTravis Kemen <thepeople@openwrt.org>
Tue, 29 Jul 2008 17:23:52 +0000 (17:23 +0000)
SVN-Revision: 11994

package/opkg/Makefile
package/opkg/files/opkg.conf [deleted file]
package/opkg/files/postinst

index 45010c7f3a1ebbfa922f35fae8aca7ef3bccff40..e8aebcbb4802f3a22c5f6af7aabe23d3c4e6b90e 100644 (file)
@@ -58,9 +58,6 @@ define Build/Compile
 endef
 
 define Package/opkg/install
-       $(INSTALL_DIR) $(1)/etc
-       $(INSTALL_DATA) ./files/opkg.conf $(1)/etc/ 
-       $(SED) 's,$$$$S,$(BOARD),g' $(1)/etc/opkg.conf
        $(INSTALL_BIN) ./files/postinst $(1)/CONTROL/postinst
        $(INSTALL_DIR) $(1)/bin
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/opkg-cl $(1)/bin/opkg
diff --git a/package/opkg/files/opkg.conf b/package/opkg/files/opkg.conf
deleted file mode 100644 (file)
index f7f96fe..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-src snapshots http://downloads.openwrt.org/snapshots/$S/packages
-dest root /
-dest ram /tmp
-lists_dir ext /var/opkg-lists
index c479744500f74d945082f679a2300ad08be77ef9..6aa8731ee9da13fa8bb15332290c709194139340 100644 (file)
@@ -1,2 +1,3 @@
 #!/bin/sh
 ln -sf "${IPKG_INSTROOT}/usr/lib/ipkg" "${IPKG_INSTROOT}/usr/lib/opkg"
+ln -sf "${IPKG_INSTROOT}/etc/ipkg.conf" "${IPKG_INSTROOT}/etc/opkg.conf"