opkg-collateral: make angstrom use SHR tmpdir fix and change package arch to all
authorKoen Kooi <koen@openembedded.org>
Wed, 6 Oct 2010 10:21:04 +0000 (12:21 +0200)
committerKoen Kooi <koen@openembedded.org>
Wed, 6 Oct 2010 10:21:54 +0000 (12:21 +0200)
recipes/opkg/opkg-collateral.bb

index a7ec321..5a0b783 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "opkg configuration files"
 SECTION = "base"
 LICENSE = "MIT"
-PR = "r2"
+PR = "r3"
 
 SRC_URI = "file://opkg.conf.comments \
           file://lists \
@@ -20,6 +20,11 @@ do_compile_append_shr () {
        cat ${WORKDIR}/tmp_dir  >>${WORKDIR}/opkg.conf
 }
 
+do_compile_append_angstrom () {
+       cat ${WORKDIR}/tmp_dir  >>${WORKDIR}/opkg.conf
+}
+
+
 do_install () {
        install -d ${D}${sysconfdir}/opkg
        install -m 0644 ${WORKDIR}/opkg.conf ${D}${sysconfdir}/opkg/opkg.conf
@@ -29,4 +34,9 @@ do_install_append_shr () {
        install -d ${D}/var/lib/opkg/tmp
 }
 
+do_install_append_angstrom () {
+       install -d ${D}/var/lib/opkg/tmp
+}
+
+PACKAGE_ARCH = "all"
 CONFFILES_${PN} = "${sysconfdir}/opkg/opkg.conf"