summaryrefslogtreecommitdiff
path: root/recipes/opkg/opkg-ipkg-compat.bb
blob: 837b02c11b07320302266751617aa78307c7f4ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
DESCRIPTION = "Files to make opkg and ipkg coexist"
RDEPENDS_${PN} = "opkg ipkg ipkg-collateral"

PR = "r1"
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
}