From b3fc353df8f9c7b07ecbeeac8ade50e79d714dd8 Mon Sep 17 00:00:00 2001 From: Travis Kemen Date: Tue, 29 Jul 2008 04:16:43 +0000 Subject: 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 --- package/opkg/files/opkg.conf | 4 ++++ package/opkg/files/postinst | 2 ++ 2 files changed, 6 insertions(+) create mode 100644 package/opkg/files/opkg.conf create mode 100644 package/opkg/files/postinst (limited to 'package/opkg/files') 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" -- cgit v1.2.3