summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorthepeople <thepeople@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-07-29 17:23:52 +0000
committerthepeople <thepeople@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-07-29 17:23:52 +0000
commit1468e6557266fd77a3522baeae7088709327071b (patch)
treefc253a2f741b1e70706cbe98ba17421440ada173 /package
parent1c87c80fd44395e0cb498bf7fc19520f25a1d764 (diff)
remove opkg config file and link ipkg.conf to opkg.conf being they are the same
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11994 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/opkg/Makefile3
-rw-r--r--package/opkg/files/opkg.conf4
-rw-r--r--package/opkg/files/postinst1
3 files changed, 1 insertions, 7 deletions
diff --git a/package/opkg/Makefile b/package/opkg/Makefile
index 45010c7f3..e8aebcbb4 100644
--- a/package/opkg/Makefile
+++ b/package/opkg/Makefile
@@ -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
index f7f96fe2b..000000000
--- a/package/opkg/files/opkg.conf
+++ /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
diff --git a/package/opkg/files/postinst b/package/opkg/files/postinst
index c47974450..6aa8731ee 100644
--- a/package/opkg/files/postinst
+++ b/package/opkg/files/postinst
@@ -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"