diff options
author | Paul Barker <paul@paulbarker.me.uk> | 2014-12-19 18:01:03 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-03 14:53:56 +0000 |
commit | c8c75eddf923a9467c61ec216beccde34ef3419b (patch) | |
tree | bcfc4f136a03522f86da234ca8834a5fd2c25cba /meta | |
parent | e4d165d79a64786e58129f8c3372b8697cf83c36 (diff) | |
download | poky-c8c75eddf923a9467c61ec216beccde34ef3419b.tar.gz |
poky-feed-config-opkg: Remove
This recipe was not usable as-is. A much better way of configuring package feeds
for opkg is provided by the distro-feed-config recipe in meta-oe.
(From OE-Core rev: 718d5c64069e7bc958f94daae2369fdefa4bafeb)
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/feed-config/poky-feed-config-opkg_1.0.bb | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/meta/recipes-core/feed-config/poky-feed-config-opkg_1.0.bb b/meta/recipes-core/feed-config/poky-feed-config-opkg_1.0.bb deleted file mode 100644 index fb312f8151..0000000000 --- a/meta/recipes-core/feed-config/poky-feed-config-opkg_1.0.bb +++ /dev/null | |||
@@ -1,44 +0,0 @@ | |||
1 | SUMMARY = "Poky example feed configuration" | ||
2 | LICENSE = "MIT" | ||
3 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
4 | PR = "r2" | ||
5 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
6 | INHIBIT_DEFAULT_DEPS = "1" | ||
7 | |||
8 | #FEEDNAMEPREFIX ?= "INVALID" | ||
9 | #FEEDURIPREFIX ?= "INVALID" | ||
10 | |||
11 | do_compile() { | ||
12 | mkdir -p ${S}/${sysconfdir}/opkg/ | ||
13 | |||
14 | archconf=${S}/${sysconfdir}/opkg/arch.conf | ||
15 | |||
16 | rm -f $archconf | ||
17 | ipkgarchs="${ALL_MULTILIB_PACKAGE_ARCHS}" | ||
18 | priority=1 | ||
19 | for arch in $ipkgarchs; do | ||
20 | echo "arch $arch $priority" >> $archconf | ||
21 | priority=$(expr $priority + 5) | ||
22 | done | ||
23 | |||
24 | basefeedconf=${S}/${sysconfdir}/opkg/base-feeds.conf | ||
25 | |||
26 | rm -f $basefeedconf | ||
27 | touch $basefeedconf | ||
28 | |||
29 | #for arch in $ipkgarchs; do | ||
30 | # echo "src/gz ${FEEDNAMEPREFIX}-$arch http://pokylinux.org/${FEEDURIPREFIX}$arch" >> $basefeedconf | ||
31 | #done | ||
32 | } | ||
33 | |||
34 | |||
35 | do_install () { | ||
36 | install -d ${D}${sysconfdir}/opkg | ||
37 | install -m 0644 ${S}/${sysconfdir}/opkg/* ${D}${sysconfdir}/opkg/ | ||
38 | } | ||
39 | |||
40 | FILES_${PN} = "${sysconfdir}/opkg/ " | ||
41 | |||
42 | CONFFILES_${PN} += "${sysconfdir}/opkg/base-feeds.conf \ | ||
43 | ${sysconfdir}/opkg/arch.conf" | ||
44 | |||