aboutsummaryrefslogtreecommitdiffstats
path: root/package/opkg/files
diff options
context:
space:
mode:
authorTravis Kemen <thepeople@openwrt.org>2008-07-29 04:16:43 +0000
committerTravis Kemen <thepeople@openwrt.org>2008-07-29 04:16:43 +0000
commitb3fc353df8f9c7b07ecbeeac8ade50e79d714dd8 (patch)
treef27c52de92e3a849535fe079756e1bd1720add00 /package/opkg/files
parent9da11ac95ff2ab56f9b41a972123cd2f65398f11 (diff)
downloadmaster-187ad058-b3fc353df8f9c7b07ecbeeac8ade50e79d714dd8.tar.gz
master-187ad058-b3fc353df8f9c7b07ecbeeac8ade50e79d714dd8.tar.bz2
master-187ad058-b3fc353df8f9c7b07ecbeeac8ade50e79d714dd8.zip
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"