diff options
author | Joshua Lock <josh@linux.intel.com> | 2010-03-23 14:17:58 +0000 |
---|---|---|
committer | Joshua Lock <josh@linux.intel.com> | 2010-03-23 14:51:10 +0000 |
commit | ff5e6f4b4d1f0431d6225155430b057028ec3bb2 (patch) | |
tree | faa07b10ea279e92d1eb001dec470a1a702bbba3 /meta/packages/yum/createrepo-native_0.9.8.bb | |
parent | 1a1361040f081e6a87ff3733ade1d07faf80eb8c (diff) | |
download | poky-ff5e6f4b4d1f0431d6225155430b057028ec3bb2.tar.gz |
yum: Update yum and createrepo to latest version
Also switch Yum to using BBCLASSEXTEND rather than having separate native and
host recipes.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'meta/packages/yum/createrepo-native_0.9.8.bb')
-rw-r--r-- | meta/packages/yum/createrepo-native_0.9.8.bb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/packages/yum/createrepo-native_0.9.8.bb b/meta/packages/yum/createrepo-native_0.9.8.bb new file mode 100644 index 0000000000..422b118ac9 --- /dev/null +++ b/meta/packages/yum/createrepo-native_0.9.8.bb | |||
@@ -0,0 +1,16 @@ | |||
1 | DEPENDS = "python-native" | ||
2 | |||
3 | SRC_URI = "http://createrepo.baseurl.org/download/createrepo-${PV}.tar.gz \ | ||
4 | file://pathfix.patch;patch=1 " | ||
5 | PR = "r1" | ||
6 | |||
7 | inherit autotools native | ||
8 | |||
9 | S = "${WORKDIR}/createrepo-${PV}" | ||
10 | |||
11 | do_compile_append () { | ||
12 | sed -e 's#exec /usr/share#exec ${datadir}#' -i ${S}/bin/createrepo | ||
13 | sed -e 's#exec /usr/share#exec ${datadir}#' -i ${S}/bin/modifyrepo | ||
14 | sed -e 's#!/usr/bin/python#!${bindir}/python#' -i ${S}/genpkgmetadata.py | ||
15 | sed -e 's#!/usr/bin/python#!${bindir}/python#' -i ${S}/modifyrepo.py | ||
16 | } | ||