From f1822d1110b1fb964cf66d66047364f6ab0fc75e Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Wed, 6 Oct 2010 12:21:04 +0200 Subject: [PATCH] opkg-collateral: make angstrom use SHR tmpdir fix and change package arch to all --- recipes/opkg/opkg-collateral.bb | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/recipes/opkg/opkg-collateral.bb b/recipes/opkg/opkg-collateral.bb index a7ec321c6f..5a0b7835db 100644 --- a/recipes/opkg/opkg-collateral.bb +++ b/recipes/opkg/opkg-collateral.bb @@ -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" -- 2.39.5