From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga01.intel.com ([192.55.52.88]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1QgAwm-0001Zw-CK for openembedded-core@lists.openembedded.org; Mon, 11 Jul 2011 09:30:28 +0200 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 11 Jul 2011 00:26:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.65,513,1304319600"; d="scan'208";a="26361800" Received: from kyu3-dev32.bj.intel.com (HELO localhost) ([10.238.153.187]) by fmsmga002.fm.intel.com with ESMTP; 11 Jul 2011 00:26:31 -0700 From: Yu Ke To: openembedded-core@lists.openembedded.org Date: Mon, 11 Jul 2011 15:23:21 +0800 Message-Id: X-Mailer: git-send-email 1.7.0.4 In-Reply-To: References: In-Reply-To: References: Subject: [PATCH 08/10] rpm: fix for non /usr/lib libdir case X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jul 2011 07:30:28 -0000 rpm default will use /usr/lib if the --with-path-lib is not specified. this will not work in non /usr/lib libdir case. so this patch add the --with-path-lib to fix this issue. Signed-off-by: Yu Ke --- meta/recipes-devtools/rpm/rpm_5.4.0.bb | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/meta/recipes-devtools/rpm/rpm_5.4.0.bb b/meta/recipes-devtools/rpm/rpm_5.4.0.bb index 0c88f91..075c91a 100644 --- a/meta/recipes-devtools/rpm/rpm_5.4.0.bb +++ b/meta/recipes-devtools/rpm/rpm_5.4.0.bb @@ -45,7 +45,7 @@ LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1" DEPENDS = "bzip2 zlib db openssl elfutils expat libpcre attr acl popt ${extrarpmdeps}" extrarpmdeps = "python perl" extrarpmdeps_virtclass-native = "" -PR = "r17" +PR = "r18" # rpm2cpio is a shell script, which is part of the rpm src.rpm. It is needed # in order to extract the distribution SRPM into a format we can extract... @@ -162,6 +162,7 @@ EXTRA_OECONF = "--verbose \ --enable-build-debug \ --enable-maintainer-mode \ --with-path-macros=${rpm_macros} \ + --with-path-lib=${libdir}/rpm \ --with-bugreport=http://bugzilla.yoctoproject.org" CFLAGS_append = " -DRPM_VENDOR_WINDRIVER -DRPM_VENDOR_POKY" -- 1.7.0.4