summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-02-07 11:20:02 +0000
committerKoen Kooi <koen@openembedded.org>2008-02-07 11:20:02 +0000
commitd6ff90ab630ea627db2bc1cba8bf0256e65375d1 (patch)
treed2d3d45383889bfff80cc889b3441ec381cf147f
parentdb2766e8f1ce9c29f3ce31c18816402bde6519f2 (diff)
angstrom-feed-configs: add opkg support
-rw-r--r--packages/angstrom/angstrom-feed-configs.bb7
1 files changed, 6 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 \