summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/createrepo/createrepo_0.4.11.bb
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2012-10-27 16:48:17 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-11-02 16:18:28 +0000
commit5ddf8570a113035f40fa8f203c3ac33582e2c745 (patch)
treed12af46a0471f85b017597aee644a8308d6645fb /meta/recipes-support/createrepo/createrepo_0.4.11.bb
parent60c3bd43949e9aa23af6f74656eb9a64b891bda6 (diff)
downloadpoky-5ddf8570a113035f40fa8f203c3ac33582e2c745.tar.gz
recipes-support: replace virtclass-native(sdk) with class-native(sdk)
The overrides virtclass-native and virtclass-nativesdk are deprecated, which should be replaced by class-native and class-nativesdk. NOTE: There were 2 errors in libcap.inc, the BUILD_LDFLAGS_virtclass_native should be BUILD_LDFLAGS_virtclass-native (the "_" should be "-"), otherwise it doesn't work, and the value was: "-Wl,rpath=...", this is incorrect, it shoudl be: "-Wl,-rpath=..." (lacked a - ), but we don't need this line, since it is already in the default BUILD_LDFLAGS. Remove it and we don't need to bump the PR since we just removed a unused line. [YOCTO #3297] (From OE-Core rev: cafb550fe9034754933f1708446dde155dcc3d51) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/createrepo/createrepo_0.4.11.bb')
-rw-r--r--meta/recipes-support/createrepo/createrepo_0.4.11.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-support/createrepo/createrepo_0.4.11.bb b/meta/recipes-support/createrepo/createrepo_0.4.11.bb
index 344cc77770..8d2dcdf958 100644
--- a/meta/recipes-support/createrepo/createrepo_0.4.11.bb
+++ b/meta/recipes-support/createrepo/createrepo_0.4.11.bb
@@ -4,7 +4,7 @@ HOMEPAGE = "http://createrepo.baseurl.org/"
4LICENSE = "GPLv2+" 4LICENSE = "GPLv2+"
5LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760" 5LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760"
6 6
7RDEPENDS_${PN}_virtclass-native += "libxml2-native rpm-native" 7RDEPENDS_${PN}_class-native += "libxml2-native rpm-native"
8 8
9PR = "r7" 9PR = "r7"
10 10
@@ -28,7 +28,7 @@ do_install () {
28# Wrap the python script since the native python is 28# Wrap the python script since the native python is
29# ${bindir}/python-native/python, and the "#! /usr/bin/env python" can't 29# ${bindir}/python-native/python, and the "#! /usr/bin/env python" can't
30# find it since it is not in PATH. 30# find it since it is not in PATH.
31do_install_append_virtclass-native () { 31do_install_append_class-native () {
32 # Not all the python scripts should be wrapped since some of 32 # Not all the python scripts should be wrapped since some of
33 # them are modules (be imported). 33 # them are modules (be imported).
34 for i in ${D}${datadir}/createrepo/genpkgmetadata.py \ 34 for i in ${D}${datadir}/createrepo/genpkgmetadata.py \