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