diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/angstrom/angstrom-feed-configs.bb | 7 | ||||
-rw-r--r-- | packages/opkg/opkg-ipkg-compat.bb | 19 |
2 files changed, 25 insertions, 1 deletions
diff --git a/packages/angstrom/angstrom-feed-configs.bb b/packages/angstrom/angstrom-feed-configs.bb index 1415080fbd..d0465b4d53 100644 --- a/packages/angstrom/angstrom-feed-configs.bb +++ b/packages/angstrom/angstrom-feed-configs.bb @@ -1,7 +1,7 @@ DESCRIPTION = "Configuration files for online package repositories aka feeds" #PV = "${DISTRO_VERSION}" -PR = "r3" +PR = "r4" PACKAGE_ARCH = "${MACHINE_ARCH}" FEED_BASEPATH ?= "unstable/feed/" @@ -27,6 +27,11 @@ do_compile() { do_install () { install -d ${D}${sysconfdir}/ipkg install -m 0644 ${S}/${sysconfdir}/ipkg/* ${D}${sysconfdir}/ipkg/ + # opkg compat symlinks + install -d ${D}${sysconfdir}/opkg + for feed in ${D}${sysconfdir}/ipkg/* ; do + ln -sf ${sysconfdir}/ipkg/$(basename $feed) ${D}${sysconfdir}/opkg/$(basename $feed) + done } CONFFILES_${PN} += "${sysconfdir}/ipkg/base-feed.conf \ 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 +} + |