summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
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
+}
+