summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rpm
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-05 14:04:56 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-07 09:06:38 +0000
commit8e070a9a54a17d5cbd098798d94fa84d97477a94 (patch)
tree92a6bb9286e3bcfd16886f28b98018ec162bc447 /meta/recipes-devtools/rpm
parent7202a77134029cb37540c785ce0161a4dd574853 (diff)
downloadpoky-8e070a9a54a17d5cbd098798d94fa84d97477a94.tar.gz
rpm: Update extra unpack code after fetcher changes
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/rpm')
-rw-r--r--meta/recipes-devtools/rpm/rpm_5.4.0.bb7
1 files changed, 2 insertions, 5 deletions
diff --git a/meta/recipes-devtools/rpm/rpm_5.4.0.bb b/meta/recipes-devtools/rpm/rpm_5.4.0.bb
index 09d1fc0a62..e158b80cd1 100644
--- a/meta/recipes-devtools/rpm/rpm_5.4.0.bb
+++ b/meta/recipes-devtools/rpm/rpm_5.4.0.bb
@@ -332,11 +332,8 @@ FILE_${PN}-dev = "${includedir}/rpm \
332python base_do_unpack_append() { 332python base_do_unpack_append() {
333 import subprocess 333 import subprocess
334 334
335 for url in src_uri.split(): 335 for url in src_uri:
336 try: 336 local = bb.fetch2.localpath(url)
337 local = bb.data.expand(bb.fetch.localpath(url, localdata), localdata)
338 except bb.MalformedUrl, e:
339 raise FuncFailed('Unable to generate local path for malformed uri: %s' % e)
340 if local is None: 337 if local is None:
341 continue 338 continue
342 local = os.path.realpath(local) 339 local = os.path.realpath(local)