diff options
Diffstat (limited to 'recipes-core')
-rw-r--r-- | recipes-core/mlinux/mlinux-feed-configs.bb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/recipes-core/mlinux/mlinux-feed-configs.bb b/recipes-core/mlinux/mlinux-feed-configs.bb index 2bd9bfc..4291f24 100644 --- a/recipes-core/mlinux/mlinux-feed-configs.bb +++ b/recipes-core/mlinux/mlinux-feed-configs.bb @@ -1,16 +1,16 @@ SUMMARY = "Configuration files for online package repositories aka feeds" -PR = "r0" +PR = "r1" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" -DISTRO_FEED_PREFIX ?= "remote" -DISTRO_FEED_URI ?= "http://my-distribution.example/remote-feed/" feeds="all ${TUNE_PKGARCH} ${MACHINE_ARCH}" +feed_file="mlinux-feed.conf" do_compile() { mkdir -p ${S}/${sysconfdir}/opkg + rm -f ${S}/${sysconfdir}/opkg/${feed_file} for feed in ${feeds}; do - echo "src/gz ${DISTRO_FEED_PREFIX}-${feed} ${DISTRO_FEED_URI}/${feed}" > ${S}/${sysconfdir}/opkg/${feed}-feed.conf + echo "src/gz ${DISTRO_FEED_PREFIX}-${feed} ${DISTRO_FEED_URI}/${feed}" >> ${S}/${sysconfdir}/opkg/${feed_file} done } do_install () { @@ -20,4 +20,4 @@ do_install () { PACKAGE_ARCH = "${MACHINE_ARCH}" -CONFFILES_${PN} += '${@ " ".join( [ ( "${sysconfdir}/opkg/%s-feed.conf" % feed ) for feed in "${feeds}".split() ] ) }' +CONFFILES_${PN} += "${sysconfdir}/opkg/${feed_file}" |