summaryrefslogtreecommitdiff
path: root/package/opkg/files
diff options
context:
space:
mode:
authorthepeople <thepeople@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-07-29 04:16:43 +0000
committerthepeople <thepeople@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-07-29 04:16:43 +0000
commita77ff5d0a0bd211883c0ce8cb0a20f8fbee8b644 (patch)
treef27c52de92e3a849535fe079756e1bd1720add00 /package/opkg/files
parent9e2f5f52c98b6d51df2ae54ddb980bacfdb5e1c3 (diff)
add opkg
- symlink /usr/lib/ipkg to /usr/lib/opkg so that opkg can be used as a drop in replacement of ipkg git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11983 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/opkg/files')
-rw-r--r--package/opkg/files/opkg.conf4
-rw-r--r--package/opkg/files/postinst2
2 files changed, 6 insertions, 0 deletions
diff --git a/package/opkg/files/opkg.conf b/package/opkg/files/opkg.conf
new file mode 100644
index 0000000000..f7f96fe2b6
--- /dev/null
+++ b/package/opkg/files/opkg.conf
@@ -0,0 +1,4 @@
+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
new file mode 100644
index 0000000000..c479744500
--- /dev/null
+++ b/package/opkg/files/postinst
@@ -0,0 +1,2 @@
+#!/bin/sh
+ln -sf "${IPKG_INSTROOT}/usr/lib/ipkg" "${IPKG_INSTROOT}/usr/lib/opkg"