From 97a6578b5eba583fa04603e98d929134f36763c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Mon, 20 Aug 2012 16:15:16 +0200 Subject: [meta-angstrom] angstrom-feed-configs: add opkg.conf from oe-core opkg-collateral MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- recipes-angstrom/angstrom/angstrom-feed-configs.bb | 7 ++++- .../angstrom/angstrom-feed-configs/opkg.conf | 29 ++++++++++++++++++++ 2 files changed, 35 insertions(+), 1 deletions(-) create mode 100644 recipes-angstrom/angstrom/angstrom-feed-configs/opkg.conf diff --git a/recipes-angstrom/angstrom/angstrom-feed-configs.bb b/recipes-angstrom/angstrom/angstrom-feed-configs.bb index 93c1e71..bf1b275 100644 --- a/recipes-angstrom/angstrom/angstrom-feed-configs.bb +++ b/recipes-angstrom/angstrom/angstrom-feed-configs.bb @@ -3,9 +3,11 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" #PV = "${DISTRO_VERSION}" -PR = "r16" +PR = "r17" PACKAGE_ARCH = "${MACHINE_ARCH}" +SRC_URI = "file://opkg.conf" + FEED_BASEPATH ?= "unstable/feed/" IWMMXT_FEED = "${@base_contains('MACHINE_FEATURES', 'iwmmxt', 'iwmmxt', '',d)}" @@ -36,6 +38,7 @@ do_compile() { do_install () { install -d ${D}${sysconfdir}/opkg install -m 0644 ${S}/${sysconfdir}/opkg/* ${D}${sysconfdir}/opkg/ + install -m 0644 ${WORKDIR}/opkg.conf ${D}/${sysconfdir}/opkg } FILES_${PN} = "${sysconfdir}/opkg/base-feed.conf \ @@ -47,6 +50,7 @@ FILES_${PN} = "${sysconfdir}/opkg/base-feed.conf \ ${sysconfdir}/opkg/noarch-feed.conf \ ${sysconfdir}/opkg/iwmmxt-feed.conf \ ${sysconfdir}/opkg/sdk-feed.conf \ + ${sysconfdir}/opkg/opkg.conf \ " CONFFILES_${PN} += "${sysconfdir}/opkg/base-feed.conf \ @@ -57,6 +61,7 @@ CONFFILES_${PN} += "${sysconfdir}/opkg/base-feed.conf \ ${sysconfdir}/opkg/${MACHINE_ARCH}-feed.conf \ ${sysconfdir}/opkg/noarch-feed.conf \ ${sysconfdir}/opkg/sdk-feed.conf \ + ${sysconfdir}/opkg/opkg.conf \ " # Get rid of opkg-collateral diff --git a/recipes-angstrom/angstrom/angstrom-feed-configs/opkg.conf b/recipes-angstrom/angstrom/angstrom-feed-configs/opkg.conf new file mode 100644 index 0000000..5dd8bff --- /dev/null +++ b/recipes-angstrom/angstrom/angstrom-feed-configs/opkg.conf @@ -0,0 +1,29 @@ +# Must have one or more source entries of the form: +# +# src +# +# and one or more destination entries of the form: +# +# dest +# +# where and are identifiers that +# should match [a-zA-Z0-9._-]+, should be a +# URL that points to a directory containing a Familiar +# Packages file, and should be a directory +# that exists on the target system. + +# Proxy Support +#option http_proxy http://proxy.tld:3128 +#option ftp_proxy http://proxy.tld:3128 +#option proxy_username +#option proxy_password + +# Enable GPGME signature +# option check_signature 1 + +# Offline mode (for use in constructing flash images offline) +#option offline_root target + +dest root / +lists_dir ext /var/lib/opkg + -- 1.7.6.5