summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-02-07 11:26:46 +0000
committerKoen Kooi <koen@openembedded.org>2008-02-07 11:26:46 +0000
commitc31c268a231989bbf7749667023ef812a3b3f380 (patch)
tree331c0cd080357d99e9894086cfda7758643078ae /packages
parentd6ff90ab630ea627db2bc1cba8bf0256e65375d1 (diff)
opkg-ipkg-compat: 'meta' package for ipkg->opkg transition
Diffstat (limited to 'packages')
-rw-r--r--packages/opkg/opkg-ipkg-compat.bb19
1 files changed, 19 insertions, 0 deletions
diff --git a/packages/opkg/opkg-ipkg-compat.bb b/packages/opkg/opkg-ipkg-compat.bb
new file mode 100644
index 0000000000..58c81451ae
--- /dev/null
+++ b/packages/opkg/opkg-ipkg-compat.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = "Files to make opkg and ipkg coexist"
+RDEPENDS = "opkg ipkg ipkg-collateral"
+
+PR = "r0"
+PACKAGE_ARCH = "all"
+
+do_compile() {
+ :
+}
+
+
+do_install () {
+ install -d ${D}${sysconfdir}
+ install -d ${D}/var/lib/ipkg
+ ln -sf ${sysconfdir}/ipkg.conf ${D}${sysconfdir}/opkg.conf
+ ln -sf ${sysconfdir}/ipkg/ ${D}${sysconfdir}/opkg
+ ln -sf /var/lib/ipkg ${D}/var/lib/ipkg
+}
+