diff options
| -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 | |||
