]> code.ossystems Code Review - openembedded-core.git/commitdiff
zypper: add machine arch support
authorQing He <qing.he@intel.com>
Mon, 14 Mar 2011 05:40:52 +0000 (13:40 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 14 Mar 2011 20:46:05 +0000 (20:46 +0000)
Since libzypp is now of ${MACHINE_ARCH}, change zypper to base
on this arch to.

Signed-off-by: Qing He <qing.he@intel.com>
meta/recipes-extended/zypper/zypper_git.bb

index af6bd493beef042e87420b5a25c095fe6b528aaf..9258477d5d6a4598438b366b7b5f5a49203772aa 100644 (file)
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3201406e350b39e05a82e28b5020f413"
 
 DEPENDS  = "libzypp augeas"
 RRECOMMENDS_${PN} = "procps util-linux-uuidgen"
-PR = "r4"
+PR = "r5"
 
 inherit cmake
 
@@ -18,3 +18,5 @@ SRC_URI = "git://gitorious.org/opensuse/zypper.git;protocol=git \
 S = "${WORKDIR}/git"
 
 PV = "1.5.3-git${SRCPV}"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"