summaryrefslogtreecommitdiff
path: root/recipes/opkg/opkg-ipkg-compat.bb
blob: 5a35f6daaa2a6fdc239c95a81c5d31b7c2efc53d (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 = "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
}